Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- TP TO FOOTBALL [Football Fusion Version]
- ]]
- --[[
- Loadstring Version:
- loadstring(game:HttpGet("https://pastebin.com/raw/DhH4ZUqF",true))()
- --]]
- --// Main Variables
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local rootPart = char.HumanoidRootPart
- local hum = char.Humanoid
- --// Other Variables
- local range = 20
- local count = 0
- --// Functions
- function getFbParent()
- for i,v in pairs(game.workspace:GetDescendants()) do
- if v.Name == "Football" then
- return v.Parent
- end
- end
- end
- function catchRemote()
- for i = 1,10 do
- game.ReplicatedStorage.Remotes.CharacterSoundEvent:FireServer("PlayerActions","catch")
- wait()
- end
- end
- --// Main Code
- while wait() do
- if game.workspace:FindFirstChild("Football") then
- if (game.workspace:WaitForChild("Football").Position - rootPart.Position).magnitude <= range then
- repeat
- catchRemote()
- rootPart.CFrame = game.workspace:WaitForChild("Football").CFrame
- count = count + 1
- wait()
- until getFbParent():FindFirstChild("Humanoid") or getFbParent():FindFirstChild("Football").Position.Y <= -5 or count == 10
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement