Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton2 = Instance.new("TextButton")
- local Frame2 = Instance.new("Frame")
- local TextButton_2 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.ResetOnSpawn = false
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0, 0, 1)
- Frame.BorderColor3 = Color3.new(0, 0, 0.356863)
- Frame.BorderSizePixel = 8
- Frame.Position = UDim2.new(0.03163331, 0, 0.514745295, 0)
- Frame.Size = UDim2.new(0, 181, 0, 152)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0, 0.333333, 1)
- TextButton.BorderColor3 = Color3.new(0, 0.333333, 0.498039)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.0331491716, 0, 0.0394736826, 0)
- TextButton.Size = UDim2.new(0, 169, 0, 66)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "ADD"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 30
- TextButton.TextWrapped = true
- TextButton2.Name = "TextButton2"
- TextButton2.Parent = Frame
- TextButton2.BackgroundColor3 = Color3.new(0, 0.333333, 1)
- TextButton2.BorderColor3 = Color3.new(0, 0.333333, 0.498039)
- TextButton2.BorderSizePixel = 0
- TextButton2.Position = UDim2.new(0.0331491716, 0, 0.539473712, 0)
- TextButton2.Size = UDim2.new(0, 169, 0, 64)
- TextButton2.Font = Enum.Font.SourceSans
- TextButton2.Text = "REMOVE"
- TextButton2.TextColor3 = Color3.new(0, 0, 0)
- TextButton2.TextScaled = true
- TextButton2.TextSize = 30
- TextButton2.TextWrapped = true
- Frame2.Name = "Frame2"
- Frame2.Parent = ScreenGui
- Frame2.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame2.BackgroundTransparency = 1
- Frame2.Position = UDim2.new(0.225306645, 0, 0, 0)
- Frame2.Size = UDim2.new(0, 100, 0, 30)
- TextButton_2.Parent = Frame2
- TextButton_2.BackgroundColor3 = Color3.new(0, 0, 1)
- TextButton_2.BorderColor3 = Color3.new(0, 0, 0.498039)
- TextButton_2.BorderSizePixel = 5
- TextButton_2.Position = UDim2.new(1.72000003, 0, 0.200000018, 0)
- TextButton_2.Size = UDim2.new(0, 100, 0, 30)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "Close / Open"
- TextButton_2.TextColor3 = Color3.new(0, 0, 0)
- TextButton_2.TextSize = 22
- -- Scripts:
- function SCRIPT_BASM73_FAKESCRIPT() -- Frame.Script
- local script = Instance.new('Script')
- script.Parent = Frame
- script.Parent.TextButton.MouseButton1Click:Connect(function()
- local region = Region3.new(Vector3.new(-999,-50,-999), Vector3.new(999,999,999))
- region = region:ExpandToGrid(4)
- game.Workspace.Terrain:FillRegion(region, 4, Enum.Material.Water)
- end)
- script.Parent.TextButton2.MouseButton1Click:Connect(function()
- local region = Region3.new(Vector3.new(-999,-50,-999), Vector3.new(999,999,999))
- region = region:ExpandToGrid(4)
- game.Workspace.Terrain:FillRegion(region, 4, Enum.Material.Air)
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_BASM73_FAKESCRIPT))
- function SCRIPT_VKYU68_FAKESCRIPT() -- Frame2.Script
- local script = Instance.new('Script')
- script.Parent = Frame2
- script.Parent.TextButton.MouseButton1Click:Connect(function()
- if (Frame.Visible == true) then
- Frame.Visible = false
- else
- Frame.Visible = true
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_VKYU68_FAKESCRIPT))
Add Comment
Please, Sign In to add comment