Hello, i made a teleportation script that simply teleports you to a specific location. But if there’s a part above the location, you get teleported on top of that part instead. How can i fix this?
script i used:
function onClicked() local p = game.Players:GetChildren() for i = 1, #p do p[i].Character:MoveTo(Vector3.new(199.963, 15.71, 75.011)) end end script.Parent.ClickDetector.MouseClick:connect(onClicked)