-- Gui to Lua -- Version: 3.2 -- Instances: local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("ImageLabel") local TextLabel = Instance.new("TextLabel") local GoalB = Instance.new("TextButton") local GoalA = Instance.new("TextButton") --Properties: ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") Frame.Name = "Frame" Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Frame.BackgroundTransparency = 1.000 Frame.Position = UDim2.new(0.0732689202, 0, 0.422600627, 0) Frame.Size = UDim2.new(0, 238, 0, 106) Frame.Image = "rbxassetid://3570695787" Frame.ImageColor3 = Color3.fromRGB(48, 48, 48) Frame.ScaleType = Enum.ScaleType.Slice Frame.SliceCenter = Rect.new(100, 100, 100, 100) Frame.SliceScale = 0.120 Frame.Active = true Frame.Draggable = true TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.fromRGB(26, 26, 26) TextLabel.BorderSizePixel = 0 TextLabel.Size = UDim2.new(0, 238, 0, 28) TextLabel.Font = Enum.Font.Unknown TextLabel.Text = "Auto Goal" TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel.TextScaled = true TextLabel.TextSize = 14.000 TextLabel.TextWrapped = true TextLabel.TextXAlignment = Enum.TextXAlignment.Left GoalB.Name = "GoalB" GoalB.Parent = Frame GoalB.BackgroundColor3 = Color3.fromRGB(24, 24, 24) GoalB.BorderColor3 = Color3.fromRGB(255, 255, 255) GoalB.BorderSizePixel = 0 GoalB.Position = UDim2.new(0.0462184884, 0, 0.616651714, 0) GoalB.Size = UDim2.new(0, 216, 0, 19) GoalB.Font = Enum.Font.Cartoon GoalB.Text = "GoalB" GoalB.TextColor3 = Color3.fromRGB(255, 255, 255) GoalB.TextScaled = true GoalB.TextSize = 14.000 GoalB.TextWrapped = true GoalA.Name = "GoalA" GoalA.Parent = Frame GoalA.BackgroundColor3 = Color3.fromRGB(24, 24, 24) GoalA.BorderColor3 = Color3.fromRGB(255, 255, 255) GoalA.BorderSizePixel = 0 GoalA.Position = UDim2.new(0.0462184884, 0, 0.375561565, 0) GoalA.Size = UDim2.new(0, 216, 0, 19) GoalA.Font = Enum.Font.Cartoon GoalA.Text = "GoalA" GoalA.TextColor3 = Color3.fromRGB(255, 255, 255) GoalA.TextScaled = true GoalA.TextSize = 14.000 GoalA.TextWrapped = true -- Scripts: local function LNISRL_fake_script() -- GoalB.LocalScript local script = Instance.new('LocalScript', GoalB) script.Parent.MouseButton1Click:Connect(function() if script.Parent.BorderSizePixel ~= 0 then script.Parent.BorderSizePixel = 0 getgenv().GoalB = false print("GoalB Disabled") else if script.Parent.BorderSizePixel ~= 1 then script.Parent.BorderSizePixel = 1 local GoalA = script.Parent.Parent.GoalA GoalA.BorderSizePixel = 0 getgenv().GoalA = false getgenv().GoalB = true print("GoalB Enabled!") while wait() do if getgenv().GoalB == true then local field = game.Workspace.FootballField local ball = field:WaitForChild("SoccerBall") local hum = game.Players.LocalPlayer.Character.HumanoidRootPart local magnitude = (ball.Position-hum.Position).magnitude if magnitude <= 35 then local A_1 = "C_0PA" local A_2 = 472132237 local A_3 = "" local A_4 = Vector3.new(-154.07484436035156, 5.474004745483398, 102.59715270996094) local A_5 = Vector3.new(75.42424011230469, 36, -26.726070404052734) local A_6 = Vector3.new(0, -0.9215728640556335, 0) local Event = game:GetService("ReplicatedStorage").KickBall Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6) end end end end end end) end coroutine.wrap(LNISRL_fake_script)() local function RTPC_fake_script() -- GoalA.LocalScript local script = Instance.new('LocalScript', GoalA) script.Parent.MouseButton1Click:Connect(function() if script.Parent.BorderSizePixel ~= 0 then script.Parent.BorderSizePixel = 0 getgenv().GoalA = false print("GoalA Disabled") else if script.Parent.BorderSizePixel ~= 1 then script.Parent.BorderSizePixel = 1 local GoalB = script.Parent.Parent.GoalB GoalB.BorderSizePixel = 0 getgenv().GoalA = true getgenv().GoalB = false print("GoalA Enabled!") while wait() do if getgenv().GoalA == true then local field = game.Workspace.FootballField local ball = field:WaitForChild("SoccerBall") local hum = game.Players.LocalPlayer.Character.HumanoidRootPart local magnitude = (ball.Position-hum.Position).magnitude if magnitude <= 35 then local A_1 = "C_0PA" local A_2 = 472132237 local A_3 = "" local A_4 = Vector3.new(-281.58966064453125, 5.465750694274902, 92.93141174316406) local A_5 = Vector3.new(-79.95317077636719, 36, 2.7396087646484375) local A_6 = Vector3.new(0, -3.7485220432281494, 0) local Event = game:GetService("ReplicatedStorage").KickBall Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6) end end end end end end) end coroutine.wrap(RTPC_fake_script)() local function TKHR_fake_script() -- Frame.LocalScript local script = Instance.new('LocalScript', Frame) local GoalA = game.Workspace.FootballField.Pitch.GoalA local GoalB = game.Workspace.FootballField.Pitch.GoalB local Goal1 = script.Parent.GoalA local Goal2 = script.Parent.GoalB while wait() do Goal1.Text = GoalA.Top.BrickColor.Name Goal2.Text = GoalB.Top.BrickColor.Name end end coroutine.wrap(TKHR_fake_script)()