I want a script for roblox that I can execute that will teleport me to specific coordinates in the map. I have asked for help in other places and I have found this:
game.Players.playerName.Character.HumanoidRootPart.CFrame = CFrame.new(x, y, z)
--or
game.Players.playerName.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
--to teleport it to your coordinates
But I don't understand it and I want to use game.Players.LocalPlayer so anyone can use it. I am not very good at scripting so I don't really know what I am talking about but I think I am explaining what I want.
Thank You
