Advertisement
Just_scriptss

Touch football script updated

Oct 15th, 2024
4,593
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 1 0
  1. local DrRayLibrary = loadstring(game:HttpGet("https://raw.githubusercontent.com/AZYsGithub/DrRay-UI-Library/main/DrRay.lua"))()
  2. local window = DrRayLibrary:Load("Touch Football", "Default")
  3.  
  4. local tab = DrRayLibrary.newTab("Main", "ImageIdHere")
  5.  
  6. tab.newButton("bring ball", "brings ball to ur CFrame", function()
  7. game:GetService("Workspace").FootballField.SoccerBall.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  8. end)
  9.  
  10. tab.newButton("loopbring ball", "loop brings ball to ur CFrame", function()
  11. while wait() do
  12. game:GetService("Workspace").FootballField.SoccerBall.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  13. end
  14. end)
  15.  
  16. tab.newButton("Goal A Team", "", function()
  17. -- KickBall event because for GoalEvent work
  18.  
  19. local args = {
  20. [1] = Vector3.new(-213.62574768066406, 6.241994857788086, 117.22891235351562),
  21. [2] = Vector3.new(84.71153259277344, 34, 6.996870040893555),
  22. [3] = Vector3.new(0, -3.3757386207580566, 0),
  23. [4] = 3.379659414291382,
  24. [5] = "djhtelkds"
  25. }
  26.  
  27. game:GetService("ReplicatedStorage").KickBall:FireServer(unpack(args))
  28.  
  29. wait(0.5)
  30. -- GoalEvent
  31.  
  32. local args = {
  33. [1] = "A"
  34. }
  35.  
  36. game:GetService("ReplicatedStorage").GoalEvent:FireServer(unpack(args))
  37.  
  38. end)
  39.  
  40. tab.newButton("Goal B Team", "", function()
  41. -- KickBall event because for GoalEvent work
  42.  
  43. local args = {
  44. [1] = Vector3.new(-213.62574768066406, 6.241994857788086, 117.22891235351562),
  45. [2] = Vector3.new(84.71153259277344, 34, 6.996870040893555),
  46. [3] = Vector3.new(0, -3.3757386207580566, 0),
  47. [4] = 3.379659414291382,
  48. [5] = "djhtelkds"
  49. }
  50.  
  51. game:GetService("ReplicatedStorage").KickBall:FireServer(unpack(args))
  52.  
  53. wait(0.5)
  54. -- GoalEvent
  55.  
  56. local args = {
  57. [1] = "B"
  58. }
  59.  
  60. game:GetService("ReplicatedStorage").GoalEvent:FireServer(unpack(args))
  61.  
  62. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement