Advertisement
InfinateSpectre

Football Fusion Teleport To Ball

Oct 3rd, 2019
19,695
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.     TP TO FOOTBALL [Football Fusion Version]
  3. ]]
  4. --[[
  5.     Loadstring Version:
  6.  
  7.     loadstring(game:HttpGet("https://pastebin.com/raw/DhH4ZUqF",true))()
  8.  
  9.  
  10. --]]
  11.  
  12.  
  13.  
  14. --// Main Variables
  15. local plr = game.Players.LocalPlayer
  16. local char = plr.Character
  17. local rootPart = char.HumanoidRootPart
  18. local hum = char.Humanoid
  19.  
  20. --// Other Variables
  21. local range = 20
  22. local count = 0
  23.  
  24. --// Functions
  25. function getFbParent()
  26.     for i,v in pairs(game.workspace:GetDescendants()) do
  27.         if v.Name == "Football" then
  28.             return v.Parent
  29.         end
  30.     end
  31. end
  32.  
  33. function catchRemote()
  34.     for i = 1,10 do
  35.         game.ReplicatedStorage.Remotes.CharacterSoundEvent:FireServer("PlayerActions","catch")
  36.     end
  37. end
  38.  
  39. --// Main Code
  40. while wait() do
  41.     if game.workspace:FindFirstChild("Football") then
  42.         if (game.workspace:WaitForChild("Football").Position - rootPart.Position).magnitude <= range then
  43.                 for i = 1,100 do
  44.                     catchRemote()
  45.                     rootPart.CFrame = game.workspace:WaitForChild("Football").CFrame
  46.                     wait()
  47.                 end
  48.         end
  49.     end
  50. end
Advertisement
RAW Paste Data Copied
Advertisement