Advertisement
Kolderr

HCBB TP to ball script

Feb 24th, 2018
2,031
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. HCBB TP to ball script.
  2. Made by *see you*
  3. kolderr/mar/photosynthesis
  4.  
  5. local Teleport = true
  6.  
  7. function TeleportToBall()
  8. if game.Workspace.PP:FindFirstChild("Ball") then
  9. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.PP:FindFirstChild("Ball").CFrame
  10. end
  11. end
  12. ----------------------------------------
  13. function LoadScript()
  14. if Teleport == true then
  15. TeleportToBall()
  16. end
  17. end
  18. ----------------------------------------
  19. function onKeyPress(inputObject, gameProcessedEvent)
  20. if inputObject.KeyCode == Enum.KeyCode.F then
  21. LoadScript()
  22. end
  23. end
  24.  
  25. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement