Advertisement
Guest User

Touch Football Auto Goal 3.0

a guest
Jan 11th, 2023
4,002
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.42 KB | None | 1 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("ImageLabel")
  8. local TextLabel = Instance.new("TextLabel")
  9. local GoalB = Instance.new("TextButton")
  10. local GoalA = Instance.new("TextButton")
  11.  
  12. --Properties:
  13.  
  14. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  15.  
  16. ScreenGui.ResetOnSpawn = false
  17.  
  18. Frame.Name = "Frame"
  19. Frame.Parent = ScreenGui
  20. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  21. Frame.BackgroundTransparency = 1.000
  22. Frame.Position = UDim2.new(0.0732689202, 0, 0.422600627, 0)
  23. Frame.Size = UDim2.new(0, 238, 0, 106)
  24. Frame.Image = "rbxassetid://3570695787"
  25. Frame.ImageColor3 = Color3.fromRGB(48, 48, 48)
  26. Frame.ScaleType = Enum.ScaleType.Slice
  27. Frame.SliceCenter = Rect.new(100, 100, 100, 100)
  28. Frame.SliceScale = 0.120
  29. Frame.Active = true
  30. Frame.Draggable = true
  31.  
  32. TextLabel.Parent = Frame
  33. TextLabel.BackgroundColor3 = Color3.fromRGB(26, 26, 26)
  34. TextLabel.BorderSizePixel = 0
  35. TextLabel.Size = UDim2.new(0, 238, 0, 28)
  36. TextLabel.Font = Enum.Font.Unknown
  37. TextLabel.Text = "Auto Goal"
  38. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  39. TextLabel.TextScaled = true
  40. TextLabel.TextSize = 14.000
  41. TextLabel.TextWrapped = true
  42. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  43.  
  44. GoalB.Name = "GoalB"
  45. GoalB.Parent = Frame
  46. GoalB.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  47. GoalB.BorderColor3 = Color3.fromRGB(255, 255, 255)
  48. GoalB.BorderSizePixel = 0
  49. GoalB.Position = UDim2.new(0.0462184884, 0, 0.616651714, 0)
  50. GoalB.Size = UDim2.new(0, 216, 0, 19)
  51. GoalB.Font = Enum.Font.Cartoon
  52. GoalB.Text = "GoalB"
  53. GoalB.TextColor3 = Color3.fromRGB(255, 255, 255)
  54. GoalB.TextScaled = true
  55. GoalB.TextSize = 14.000
  56. GoalB.TextWrapped = true
  57.  
  58. GoalA.Name = "GoalA"
  59. GoalA.Parent = Frame
  60. GoalA.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  61. GoalA.BorderColor3 = Color3.fromRGB(255, 255, 255)
  62. GoalA.BorderSizePixel = 0
  63. GoalA.Position = UDim2.new(0.0462184884, 0, 0.375561565, 0)
  64. GoalA.Size = UDim2.new(0, 216, 0, 19)
  65. GoalA.Font = Enum.Font.Cartoon
  66. GoalA.Text = "GoalA"
  67. GoalA.TextColor3 = Color3.fromRGB(255, 255, 255)
  68. GoalA.TextScaled = true
  69. GoalA.TextSize = 14.000
  70. GoalA.TextWrapped = true
  71.  
  72. -- Scripts:
  73.  
  74. local function LNISRL_fake_script() -- GoalB.LocalScript
  75. local script = Instance.new('LocalScript', GoalB)
  76.  
  77. script.Parent.MouseButton1Click:Connect(function()
  78. if script.Parent.BorderSizePixel ~= 0 then
  79. script.Parent.BorderSizePixel = 0
  80. getgenv().GoalB = false
  81. print("GoalB Disabled")
  82. else
  83. if script.Parent.BorderSizePixel ~= 1 then
  84. script.Parent.BorderSizePixel = 1
  85. local GoalA = script.Parent.Parent.GoalA
  86. GoalA.BorderSizePixel = 0
  87. getgenv().GoalA = false
  88. getgenv().GoalB = true
  89.  
  90. print("GoalB Enabled!")
  91.  
  92. while wait() do
  93. if getgenv().GoalB == true then
  94. local field = game.Workspace.FootballField
  95.  
  96. local ball = field:WaitForChild("SoccerBall")
  97.  
  98. local hum = game.Players.LocalPlayer.Character.HumanoidRootPart
  99.  
  100. local magnitude = (ball.Position-hum.Position).magnitude
  101.  
  102. if ball then
  103. local A_1 = "SimulatorKingPlayer"
  104. local A_2 = 4222190548
  105. local A_3 = ""
  106. local A_4 = Vector3.new(-154.07484436035156, 5.474004745483398, 102.59715270996094)
  107. local A_5 = Vector3.new(75.42424011230469, 36, -26.726070404052734)
  108. local A_6 = Vector3.new(0, -0.9215728640556335, 0)
  109. local A_7 = "973864085"
  110. local Event = game:GetService("ReplicatedStorage").KickBall
  111. Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6, A_7)
  112. end
  113. end
  114. end
  115. end
  116. end
  117. end)
  118. end
  119. coroutine.wrap(LNISRL_fake_script)()
  120. local function RTPC_fake_script() -- GoalA.LocalScript
  121. local script = Instance.new('LocalScript', GoalA)
  122.  
  123. script.Parent.MouseButton1Click:Connect(function()
  124. if script.Parent.BorderSizePixel ~= 0 then
  125. script.Parent.BorderSizePixel = 0
  126. getgenv().GoalA = false
  127. print("GoalA Disabled")
  128. else
  129. if script.Parent.BorderSizePixel ~= 1 then
  130. script.Parent.BorderSizePixel = 1
  131. local GoalB = script.Parent.Parent.GoalB
  132. GoalB.BorderSizePixel = 0
  133. getgenv().GoalA = true
  134. getgenv().GoalB = false
  135.  
  136. print("GoalA Enabled!")
  137.  
  138. while wait() do
  139. if getgenv().GoalA == true then
  140. local field = game.Workspace.FootballField
  141.  
  142. local ball = field:WaitForChild("SoccerBall")
  143.  
  144. local hum = game.Players.LocalPlayer.Character.HumanoidRootPart
  145.  
  146. local magnitude = (ball.Position-hum.Position).magnitude
  147.  
  148. if ball then
  149. local A_1 = "SimulatorKingPlayer"
  150. local A_2 = 4222190548
  151. local A_3 = ""
  152. local A_4 = Vector3.new(-281.58966064453125, 5.465750694274902, 92.93141174316406)
  153. local A_5 = Vector3.new(-79.95317077636719, 36, 2.7396087646484375)
  154. local A_6 = Vector3.new(0, -3.7485220432281494, 0)
  155. local A_7 = "973864085"
  156. local Event = game:GetService("ReplicatedStorage").KickBall
  157. Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6, A_7)
  158. end
  159. end
  160. end
  161. end
  162. end
  163. end)
  164. end
  165. coroutine.wrap(RTPC_fake_script)()
  166. local function TKHR_fake_script() -- Frame.LocalScript
  167. local script = Instance.new('LocalScript', Frame)
  168.  
  169. local GoalA = game.Workspace.FootballField.Pitch.GoalA
  170.  
  171. local GoalB = game.Workspace.FootballField.Pitch.GoalB
  172.  
  173. local Goal1 = script.Parent.GoalA
  174.  
  175. local Goal2 = script.Parent.GoalB
  176.  
  177. while wait() do
  178. Goal1.Text = GoalA.Top.BrickColor.Name
  179.  
  180. Goal2.Text = GoalB.Top.BrickColor.Name
  181. end
  182. end
  183. coroutine.wrap(TKHR_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement