Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local localPlayer = game.Players.LocalPlayer
- local newPosition = Vector3.new(-280, 100, 342)
- if localPlayer and newPosition then
- local character = localPlayer.Character
- if character and character:IsA("Model") and character:FindFirstChild("HumanoidRootPart") then
- character:MoveTo(newPosition)
- print("Local player moved to the new position!")
- else
- print("Local player's character not found.")
- end
- else
- print("Local player not found or invalid coordinates.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement