Hello, I need help with my teleport script. The teleport script teleport you to a position.
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild('Humanoid') then hit.Parent.Head.CFrame = CFrame.new(--MY POSITION WANT TELLEPORTED--) end end)
It does work in all, but when I publish the game it wont teleport me. Please help!
If you can help please send me the script or send me the instructions
to how to fix it. Thanks

1 comment
I would suggest changing the CFrame of the HumanoidRootPart to teleport.