Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- TP TO FOOTBALL [Football Fusion Version]
- ]]
- function loadscript()
- game:GetService('Workspace').Name = 'Workspace'
- game:GetService('Players').Name = 'Players'
- game:GetService('ReplicatedStorage').Name = 'ReplicatedStorage'
- --// Main Variables
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local rootPart = char.HumanoidRootPart
- local hum = char.Humanoid
- --// Other Variables
- 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.)
- --// 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")
- end
- end
- --// Main Code
- while wait() do
- if game.workspace:FindFirstChild("Football") then
- if (game.workspace:WaitForChild("Football").Position - rootPart.Position).magnitude <= range then
- for i = 1,100 do
- catchRemote()
- rootPart.CFrame = game.workspace:WaitForChild("Football").CFrame
- wait()
- end
- end
- end
- end
- end
- _G.scriptTitle = 'Football Fusion Teleport To Football'
- loadstring(game:HttpGet('https://noah-rbx-scripts.000webhostapp.com/scripts/misc/introgui.txt',true))()
- delay(10,loadscript)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement