Hello, so like you already readed in the title, my teleport button doesn’t work
If I push the button, it will teleport me but to the cordinats: 0,0,0
So what is wrong with this script that I use?
function onClicked()
local p = game.Players:GetChildren()
for i = 1, #p do
p[i].Character:MoveTo(Vector3.new("-43, 171, 85"))
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)