You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.
return function(part)
if part.Parent == nil then return end
local parent = part
repeat
parent = parent.Parent
if parent:FindFirstChild("Humanoid") then
return parent
end
until parent:IsA("Model")
end
needs to be written as
return function(part)
if part.Parent == nil then return end
local parent = part
repeat
parent = parent.Parent
if parent:FindFirstChild("Humanoid") then
return parent
end
until parent:IsA("Model") or parent:IsA("Workspace")
end
The text was updated successfully, but these errors were encountered:
But does in Roblox, which means this code:
needs to be written as
The text was updated successfully, but these errors were encountered: