Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- -- Properties
- if game.PlaceId == "843495510,843468296" then
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- ScreenGui.ResetOnSpawn = false
- else
- ScreenGui.Parent = game.CoreGui
- end
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0, 377, 0, 209)
- Frame.Size = UDim2.new(0, 478, 0, 172)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- TextButton.Position = UDim2.new(0, 45, 0, 62)
- TextButton.Size = UDim2.new(0, 50, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.FontSize = Enum.FontSize.Size14
- TextButton.Text = " "
- TextButton.TextSize = 14
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.new(1, 0, 0)
- TextButton_2.Position = UDim2.new(0, 214, 0, 64)
- TextButton_2.Size = UDim2.new(0, 50, 0, 50)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.FontSize = Enum.FontSize.Size14
- TextButton_2.Text = " "
- TextButton_2.TextSize = 14
- TextButton_3.Parent = Frame
- TextButton_3.BackgroundColor3 = Color3.new(1, 1, 0)
- TextButton_3.Position = UDim2.new(0, 391, 0, 64)
- TextButton_3.Size = UDim2.new(0, 50, 0, 50)
- TextButton_3.Font = Enum.Font.SourceSans
- TextButton_3.FontSize = Enum.FontSize.Size14
- TextButton_3.Text = " "
- TextButton_3.TextSize = 14
- TextButton.MouseButton1Down:connect(function()
- Frame.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- end)
- TextButton_2.MouseButton1Down:connect(function()
- Frame.BackgroundColor3 = Color3.new(1, 0, 0)
- end)
- TextButton_3.MouseButton1Down:connect(function()
- Frame.BackgroundColor3 = Color3.new(1, 1, 0)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement