Advertisement
Legend_HandlesYT

Untitled

Sep 20th, 2021
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. if game.Workspace:WaitForChild("SoccerBall") then
  2. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  3. spawn(function()
  4. game:GetService("RunService").RenderStepped:Connect(function()
  5. for i,v in pairs(game.Workspace:GetChildren()) do
  6. if v.Name == "SoccerBall" then
  7. firetouchinterest(root,v,0)
  8. wait()
  9. firetouchinterest(root,v,1)
  10. end
  11.  
  12. end
  13. end)
  14. end)
  15. for i2,v2 in pairs(game.Workspace:GetDescendants()) do
  16. if game.Players.LocalPlayer.Team.Name == "Brazil" and v2.Name == "BlueGoal" and v2:FindFirstChildOfClass("TouchTransmitter") then
  17. repeat
  18. wait(1)
  19. root.CFrame = v2.CFrame * CFrame.new(-1,-2,-5)
  20. wait(1)
  21. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(v2.CFrame.X - 3,v2.CFrame.Y - 2, v2.CFrame.Z -5))
  22.  
  23.  
  24. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  25.  
  26. else
  27.  
  28. if game.Players.LocalPlayer.Team.Name == "USA" and v2.Name == "RedGoal" and v2:FindFirstChildOfClass("TouchTransmitter") then
  29. repeat
  30. wait(1)
  31. root.CFrame = v2.CFrame * CFrame.new(-1,-2,-5)
  32. wait(1)
  33. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(v2.CFrame.X - 3,v2.CFrame.Y - 2, v2.CFrame.Z -5))
  34. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  35.  
  36.  
  37.  
  38. end
  39. end
  40. end
  41. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement