Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TextButton.MouseButton1Click:Connect(function()
- local me = game.Players.LocalPlayer.Character
- local targetplayer = game.Workspace.str(GetPlayer(TextBox.Text)).HumanoidRootPart
- me.HumanoidRootPart.CFrame = CFrame.new(targetplayer.Position.X, targetplayer.Position.Y, targetplayer.Position.Z)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement