Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("ImageLabel")
- local StadiumOptions = Instance.new("Folder")
- local Blue = Instance.new("TextButton")
- local Red = Instance.new("TextButton")
- local GoalOptions = Instance.new("Folder")
- local B = Instance.new("TextButton")
- local A = Instance.new("TextButton")
- local Labels = Instance.new("Folder")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- local TextLabel_5 = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Frame.Name = "Frame"
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.BackgroundTransparency = 1.000
- Frame.Position = UDim2.new(0.377516448, 0, 0.365013778, 0)
- Frame.Size = UDim2.new(0, 279, 0, 156)
- Frame.Image = "rbxassetid://3570695787"
- Frame.ImageColor3 = Color3.fromRGB(61, 61, 61)
- Frame.ScaleType = Enum.ScaleType.Slice
- Frame.SliceCenter = Rect.new(100, 100, 100, 100)
- Frame.SliceScale = 0.050
- Frame.Active = true
- Frame.Draggable = true
- StadiumOptions.Name = "StadiumOptions"
- StadiumOptions.Parent = Frame
- Blue.Name = "Blue"
- Blue.Parent = StadiumOptions
- Blue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Blue.BackgroundTransparency = 1.000
- Blue.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Blue.BorderSizePixel = 0
- Blue.Position = UDim2.new(0.204301089, 0, 0.31410256, 0)
- Blue.Size = UDim2.new(0, 83, 0, 37)
- Blue.Font = Enum.Font.Unknown
- Blue.Text = "Blue"
- Blue.TextColor3 = Color3.fromRGB(255, 255, 255)
- Blue.TextSize = 25.000
- Red.Name = "Red"
- Red.Parent = StadiumOptions
- Red.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Red.BackgroundTransparency = 1.000
- Red.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Red.BorderSizePixel = 0
- Red.Position = UDim2.new(0.501792133, 0, 0.31410256, 0)
- Red.Size = UDim2.new(0, 83, 0, 37)
- Red.Font = Enum.Font.Unknown
- Red.Text = "Red"
- Red.TextColor3 = Color3.fromRGB(255, 255, 255)
- Red.TextSize = 25.000
- GoalOptions.Name = "GoalOptions"
- GoalOptions.Parent = Frame
- B.Name = "B"
- B.Parent = GoalOptions
- B.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- B.BackgroundTransparency = 1.000
- B.BorderColor3 = Color3.fromRGB(0, 0, 0)
- B.BorderSizePixel = 0
- B.Position = UDim2.new(0.501792133, 0, 0.698717952, 0)
- B.Size = UDim2.new(0, 83, 0, 37)
- B.Font = Enum.Font.Unknown
- B.Text = "B"
- B.TextColor3 = Color3.fromRGB(255, 255, 255)
- B.TextSize = 25.000
- A.Name = "A"
- A.Parent = GoalOptions
- A.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- A.BackgroundTransparency = 1.000
- A.BorderColor3 = Color3.fromRGB(0, 0, 0)
- A.BorderSizePixel = 0
- A.Position = UDim2.new(0.204301089, 0, 0.698717952, 0)
- A.Size = UDim2.new(0, 83, 0, 37)
- A.Font = Enum.Font.Unknown
- A.Text = "A"
- A.TextColor3 = Color3.fromRGB(255, 255, 255)
- A.TextSize = 25.000
- Labels.Name = "Labels"
- Labels.Parent = Frame
- TextLabel.Parent = Labels
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0, 0, 0.378205121, 0)
- TextLabel.Size = UDim2.new(0, 279, 0, 17)
- TextLabel.Font = Enum.Font.Unknown
- TextLabel.Text = "or"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 20.000
- TextLabel.TextWrapped = true
- TextLabel_2.Parent = Labels
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0, 0, 0.166666672, 0)
- TextLabel_2.Size = UDim2.new(0, 279, 0, 33)
- TextLabel_2.Font = Enum.Font.Unknown
- TextLabel_2.Text = "Stadium"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextWrapped = true
- TextLabel_3.Parent = Labels
- TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.BackgroundTransparency = 1.000
- TextLabel_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Size = UDim2.new(0, 279, 0, 33)
- TextLabel_3.Font = Enum.Font.Unknown
- TextLabel_3.Text = "Touch Football League Auto Goal"
- TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14.000
- TextLabel_3.TextWrapped = true
- TextLabel_4.Parent = Labels
- TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.BackgroundTransparency = 1.000
- TextLabel_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0, 0, 0.551282048, 0)
- TextLabel_4.Size = UDim2.new(0, 279, 0, 33)
- TextLabel_4.Font = Enum.Font.Unknown
- TextLabel_4.Text = "Goal"
- TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.TextScaled = true
- TextLabel_4.TextSize = 14.000
- TextLabel_4.TextWrapped = true
- TextLabel_5.Parent = Labels
- TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_5.BackgroundTransparency = 1.000
- TextLabel_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_5.BorderSizePixel = 0
- TextLabel_5.Position = UDim2.new(0, 0, 0.762820482, 0)
- TextLabel_5.Size = UDim2.new(0, 279, 0, 17)
- TextLabel_5.Font = Enum.Font.Unknown
- TextLabel_5.Text = "or"
- TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_5.TextSize = 20.000
- TextLabel_5.TextWrapped = true
- -- Scripts:
- local function LSSLDYM_fake_script() -- StadiumOptions.LocalScript
- local script = Instance.new('LocalScript', StadiumOptions)
- local blue = script.Parent.Blue
- local red = script.Parent.Red
- local blueEnabled = false
- local redEnabled = false
- local enabledColor = Color3.fromRGB(85, 255, 127)
- local disabledColor = Color3.fromRGB(255, 255, 255)
- blue.MouseButton1Click:Connect(function()
- if blueEnabled == false then
- blueEnabled = true
- blue.TextColor3 = enabledColor
- _G.Blue = true
- if redEnabled == true then
- red.TextColor3 = disabledColor
- _G.Red = false
- end
- elseif blueEnabled == true then
- blueEnabled = false
- blue.TextColor3 = disabledColor
- _G.Blue = false
- end
- end)
- red.MouseButton1Click:Connect(function()
- if redEnabled == false then
- redEnabled = true
- red.TextColor3 = enabledColor
- _G.Red = true
- if blueEnabled == true then
- blue.TextColor3 = disabledColor
- _G.Blue = false
- end
- elseif redEnabled == true then
- redEnabled = false
- red.TextColor3 = disabledColor
- _G.Red = false
- end
- end)
- end
- coroutine.wrap(LSSLDYM_fake_script)()
- local function TIWJKR_fake_script() -- GoalOptions.LocalScript
- local script = Instance.new('LocalScript', GoalOptions)
- local a = script.Parent.A
- local b = script.Parent.B
- local aEnabled = false
- local bEnabled = false
- local enabledColor = Color3.fromRGB(85, 255, 127)
- local disabledColor = Color3.fromRGB(255, 255, 255)
- a.MouseButton1Click:Connect(function()
- if aEnabled == false then
- aEnabled = true
- a.TextColor3 = enabledColor
- _G.GoalA = true
- if bEnabled == true then
- b.TextColor3 = disabledColor
- _G.GoalB = false
- end
- elseif aEnabled == true then
- aEnabled = false
- a.TextColor3 = disabledColor
- _G.GoalA = false
- end
- end)
- b.MouseButton1Click:Connect(function()
- if bEnabled == false then
- bEnabled = true
- b.TextColor3 = enabledColor
- _G.GoalB = true
- if aEnabled == true then
- a.TextColor3 = disabledColor
- _G.GoalA = false
- end
- elseif bEnabled == true then
- bEnabled = false
- b.TextColor3 = disabledColor
- _G.GoalB = false
- end
- end)
- end
- coroutine.wrap(TIWJKR_fake_script)()
- local function KSMAQW_fake_script() -- Frame.MainGoalHandler
- local script = Instance.new('LocalScript', Frame)
- _G.autoGoal = true
- local stadiumReceived = false
- local goalReceived = false
- while _G.autoGoal == true do
- wait(0.5)
- if _G.Blue == true or _G.Red == true then
- if _G.Blue == true then
- stadiumReceived = true
- if _G.GoalA == true or _G.GoalB == true then
- goalReceived = true
- if stadiumReceived and goalReceived then
- if _G.GoalA == true then
- -- goala blue stadium --
- print("GoalA, blue stadium")
- local A_1 = "TheYoungAndy"
- local A_2 = 4187345923
- local A_3 = ""
- local A_4 = Vector3.new(-288.440185546875, 5.447574615478516, 93.74337005615234)
- local A_5 = Vector3.new(-72.08842468261719, 36, -0.9241513013839722)
- local A_6 = Vector3.new(0, -5.556628704071045, 0)
- local A_7 = 3.2560417652130127
- local A_8 = "786374527635"
- local Event = game:GetService("ReplicatedStorage").KickBall
- Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6, A_7, A_8)
- elseif _G.GoalB == true then
- print("GoalB, blue stadium")
- local A_1 = "TheYoungAndy"
- local A_2 = 4187345923
- local A_3 = ""
- local A_4 = Vector3.new(-193.77943420410156, 5.468080043792725, 100.71504211425781)
- local A_5 = Vector3.new(50.65003967285156, 36, -5.659729480743408)
- local A_6 = Vector3.new(0, -0.07489427179098129, 0)
- local A_7 = 3.7604734897613525
- local A_8 = "786374527635"
- local Event = game:GetService("ReplicatedStorage").KickBall
- Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6, A_7, A_8)
- end
- end
- end
- elseif _G.Red == true then
- stadiumReceived = true
- if _G.GoalA == true or _G.GoalB == true then
- goalReceived = true
- if stadiumReceived and goalReceived then
- if _G.GoalA == true then
- print("GoalA, red stadium")
- local A_1 = "TheYoungAndy"
- local A_2 = 4187345923
- local A_3 = ""
- local A_4 = Vector3.new(-629.7413330078125, 5.467523574829102, 94.8000717163086)
- local A_5 = Vector3.new(74.03887939453125, 36, -9.641132354736328)
- local A_6 = Vector3.new(0, 2.4433796405792236, 0)
- local A_7 = 3.744602680206299
- local A_8 = "786374527635"
- local Event = game:GetService("ReplicatedStorage").KickBall2
- Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6, A_7, A_8)
- elseif _G.GoalB == true then
- print("GoalB, red stadium")
- local A_1 = "TheYoungAndy"
- local A_2 = 4187345923
- local A_3 = ""
- local A_4 = Vector3.new(-805.6398315429688, 5.451866626739502, 99.44542694091797)
- local A_5 = Vector3.new(-64.72207641601562, 36, -11.261650085449219)
- local A_6 = Vector3.new(0, -3.4662411212921143, 0)
- local A_7 = 3.885878324508667
- local A_8 = "786374527635"
- local Event = game:GetService("ReplicatedStorage").KickBall2
- Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6, A_7, A_8)
- end
- end
- elseif _G.GoalA == false and _G.GoalB == false then
- -- No Goal --
- end
- elseif _G.Blue == false and _G.Red == false then
- -- No stadium --
- end
- end
- end
- end
- coroutine.wrap(KSMAQW_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement