Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
7,909
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. --[[
  2. TP TO FOOTBALL [Football Fusion Version]
  3. ]]
  4.  
  5. function loadscript()
  6. game:GetService('Workspace').Name = 'Workspace'
  7. game:GetService('Players').Name = 'Players'
  8. game:GetService('ReplicatedStorage').Name = 'ReplicatedStorage'
  9.  
  10. --// Main Variables
  11. local plr = game.Players.LocalPlayer
  12. local char = plr.Character
  13. local rootPart = char.HumanoidRootPart
  14. local hum = char.Humanoid
  15.  
  16. --// Other Variables
  17. local range = 20 -- Distance to teleport to ball. (You must get this close to the football for it to teleport. This is measured in studs.)
  18.  
  19. --// Functions
  20. function getFbParent()
  21. for i,v in pairs(game.workspace:GetDescendants()) do
  22. if v.Name == "Football" then
  23. return v.Parent
  24. end
  25. end
  26. end
  27.  
  28. function catchRemote()
  29. for i = 1,10 do
  30. game.ReplicatedStorage.Remotes.CharacterSoundEvent:FireServer("PlayerActions","catch")
  31. end
  32. end
  33.  
  34. --// Main Code
  35. while wait() do
  36. if game.workspace:FindFirstChild("Football") then
  37. if (game.workspace:WaitForChild("Football").Position - rootPart.Position).magnitude <= range then
  38. for i = 1,100 do
  39. catchRemote()
  40. rootPart.CFrame = game.workspace:WaitForChild("Football").CFrame
  41. wait()
  42. end
  43. end
  44. end
  45. end
  46. end
  47.  
  48. _G.scriptTitle = 'Football Fusion Teleport To Football'
  49. loadstring(game:HttpGet('https://noah-rbx-scripts.000webhostapp.com/scripts/misc/introgui.txt',true))()
  50.  
  51. delay(10,loadscript)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement