Psykek

Flood Game GUI

Mar 26th, 2019
13,785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local TextButton = Instance.new("TextButton")
  4. local TextButton2 = Instance.new("TextButton")
  5. local Frame2 = Instance.new("Frame")
  6. local TextButton_2 = Instance.new("TextButton")
  7. --Properties:
  8. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10. ScreenGui.ResetOnSpawn = false
  11.  
  12. Frame.Parent = ScreenGui
  13. Frame.BackgroundColor3 = Color3.new(0, 0, 1)
  14. Frame.BorderColor3 = Color3.new(0, 0, 0.356863)
  15. Frame.BorderSizePixel = 8
  16. Frame.Position = UDim2.new(0.03163331, 0, 0.514745295, 0)
  17. Frame.Size = UDim2.new(0, 181, 0, 152)
  18.  
  19. TextButton.Parent = Frame
  20. TextButton.BackgroundColor3 = Color3.new(0, 0.333333, 1)
  21. TextButton.BorderColor3 = Color3.new(0, 0.333333, 0.498039)
  22. TextButton.BorderSizePixel = 0
  23. TextButton.Position = UDim2.new(0.0331491716, 0, 0.0394736826, 0)
  24. TextButton.Size = UDim2.new(0, 169, 0, 66)
  25. TextButton.Font = Enum.Font.SourceSans
  26. TextButton.Text = "ADD"
  27. TextButton.TextColor3 = Color3.new(0, 0, 0)
  28. TextButton.TextScaled = true
  29. TextButton.TextSize = 30
  30. TextButton.TextWrapped = true
  31.  
  32. TextButton2.Name = "TextButton2"
  33. TextButton2.Parent = Frame
  34. TextButton2.BackgroundColor3 = Color3.new(0, 0.333333, 1)
  35. TextButton2.BorderColor3 = Color3.new(0, 0.333333, 0.498039)
  36. TextButton2.BorderSizePixel = 0
  37. TextButton2.Position = UDim2.new(0.0331491716, 0, 0.539473712, 0)
  38. TextButton2.Size = UDim2.new(0, 169, 0, 64)
  39. TextButton2.Font = Enum.Font.SourceSans
  40. TextButton2.Text = "REMOVE"
  41. TextButton2.TextColor3 = Color3.new(0, 0, 0)
  42. TextButton2.TextScaled = true
  43. TextButton2.TextSize = 30
  44. TextButton2.TextWrapped = true
  45.  
  46. Frame2.Name = "Frame2"
  47. Frame2.Parent = ScreenGui
  48. Frame2.BackgroundColor3 = Color3.new(1, 1, 1)
  49. Frame2.BackgroundTransparency = 1
  50. Frame2.Position = UDim2.new(0.225306645, 0, 0, 0)
  51. Frame2.Size = UDim2.new(0, 100, 0, 30)
  52.  
  53. TextButton_2.Parent = Frame2
  54. TextButton_2.BackgroundColor3 = Color3.new(0, 0, 1)
  55. TextButton_2.BorderColor3 = Color3.new(0, 0, 0.498039)
  56. TextButton_2.BorderSizePixel = 5
  57. TextButton_2.Position = UDim2.new(1.72000003, 0, 0.200000018, 0)
  58. TextButton_2.Size = UDim2.new(0, 100, 0, 30)
  59. TextButton_2.Font = Enum.Font.SourceSans
  60. TextButton_2.Text = "Close / Open"
  61. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  62. TextButton_2.TextSize = 22
  63. -- Scripts:
  64. function SCRIPT_BASM73_FAKESCRIPT() -- Frame.Script
  65. local script = Instance.new('Script')
  66. script.Parent = Frame
  67. script.Parent.TextButton.MouseButton1Click:Connect(function()
  68. local region = Region3.new(Vector3.new(-999,-50,-999), Vector3.new(999,999,999))
  69. region = region:ExpandToGrid(4)
  70. game.Workspace.Terrain:FillRegion(region, 4, Enum.Material.Water)
  71. end)
  72.  
  73. script.Parent.TextButton2.MouseButton1Click:Connect(function()
  74. local region = Region3.new(Vector3.new(-999,-50,-999), Vector3.new(999,999,999))
  75. region = region:ExpandToGrid(4)
  76. game.Workspace.Terrain:FillRegion(region, 4, Enum.Material.Air)
  77. end)
  78.  
  79. end
  80. coroutine.resume(coroutine.create(SCRIPT_BASM73_FAKESCRIPT))
  81. function SCRIPT_VKYU68_FAKESCRIPT() -- Frame2.Script
  82. local script = Instance.new('Script')
  83. script.Parent = Frame2
  84. script.Parent.TextButton.MouseButton1Click:Connect(function()
  85. if (Frame.Visible == true) then
  86. Frame.Visible = false
  87. else
  88. Frame.Visible = true
  89. end
  90. end)
  91.  
  92. end
  93. coroutine.resume(coroutine.create(SCRIPT_VKYU68_FAKESCRIPT))
Add Comment
Please, Sign In to add comment