Advertisement
DragonGaming101YT

Script 3 For Teleport GUI Tutorial Video

Jan 3rd, 2023 (edited)
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | Gaming | 0 0
  1. wait(1)
  2. player = game.Players.LocalPlayer
  3. button = script.Parent
  4. local debounce = false
  5.  
  6. function teleport()
  7. if not debounce then
  8. debounce = true
  9. LowerTorso = player.Character.LowerTorso -- Change ALL LowerTorso Texts To Torso For R6
  10. LowerTorso.CFrame = game.Workspace.YOURPARTNAME.CFrame
  11. end
  12. end
  13.  
  14. button.MouseButton1Click:Connect(teleport)
  15. while true do wait()
  16. debounce = false
  17. wait(1)
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement