So I am trying to create a teleporter but when I test it out it doesn't work. I looked in the output and it tells me "Touched is not a valid number of model"
My workspace:
-Lobby
Humanoid, Head, Part,
-Part
Mesh, Script
Script:
script.Parent.Parent.Touched:connect(function(hit)
if hit.Parent.Parent:FindFirstChild('Humanoid') then
hit.Parent.Parent.Torso.CFrame = CFrame.new(56, 5.1, -5116.002)
end
end)
Please help me thank you.
