--TheBoySurvivor
script.Parent.Touched:Connect(function(t)
if t.parent and t.parent:FindFirstChild("torso") then
t.Parent:MoveTo(workspace.B.Position)
end
end)
--TheBoySurvivor
script.Parent.Touched:Connect(function(t)
if t.parent and t.parent:FindFirstChild("torso") then
t.Parent:MoveTo(workspace.B.Position)
end
end)
Use connect, not Connect, use .Parent, not .parent, and look for Torso, not torso.
script.Parent.Touched:connect(function(t)
if t.Parent:FindFirstChild("Torso") then
t.Parent:MoveTo(workspace.B.Position)
end
end)
Good Luck
Just like C++ is semicolon sensitive,I always spend hours trying to find that ONE uncapitalized letter.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
You have "torso" used with improper grammar. Coding languages are case sensitive. Change "torso" to "Torso" and you should should be golden.