Advertisement
Guest User

Untitled

a guest
Nov 17th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. -- Objects
  2.  
  3. local StrucidGAy = Instance.new("ScreenGui")
  4. local Frame = Instance.new("ImageLabel")
  5. local BorderPixel = Instance.new("ImageLabel")
  6. local TextButton = Instance.new("ImageButton")
  7. local BorderPixel_2 = Instance.new("ImageButton")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton_2 = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. StrucidGAy.Name = "StrucidGAy"
  14. StrucidGAy.Parent = game.CoreGui
  15.  
  16. Frame.Name = "Frame"
  17. Frame.Parent = StrucidGAy
  18. Frame.BackgroundTransparency = 1
  19. Frame.BorderSizePixel = 0
  20. Frame.Position = UDim2.new(0.057172928, 0, 0.4035725, 0)
  21. Frame.Size = UDim2.new(0, 267, 0, 112)
  22. Frame.ZIndex = 2
  23. Frame.Image = "rbxassetid://1283904632"
  24. Frame.ScaleType = Enum.ScaleType.Slice
  25. Frame.SliceCenter = Rect.new(22, 22, 234, 234)
  26. Frame.Active = true
  27. Frame.Draggable = true
  28.  
  29. BorderPixel.Name = "BorderPixel"
  30. BorderPixel.Parent = Frame
  31. BorderPixel.AnchorPoint = Vector2.new(0.5, 0.5)
  32. BorderPixel.BackgroundTransparency = 1
  33. BorderPixel.BorderSizePixel = 3
  34. BorderPixel.Position = UDim2.new(0.501872659, 0, 0.502602994, 0)
  35. BorderPixel.Size = UDim2.new(1.05617976, 2, 1.11234915, 2)
  36. BorderPixel.Image = "rbxassetid://1283904632"
  37. BorderPixel.ImageColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  38. BorderPixel.ScaleType = Enum.ScaleType.Slice
  39. BorderPixel.SliceCenter = Rect.new(22, 22, 234, 234)
  40.  
  41. TextButton.Name = "TextButton"
  42. TextButton.Parent = Frame
  43. TextButton.BackgroundTransparency = 1
  44. TextButton.BorderSizePixel = 0
  45. TextButton.Position = UDim2.new(0.123325631, 0, 0.277129412, 0)
  46. TextButton.Size = UDim2.new(0, 200, 0, 50)
  47. TextButton.ZIndex = 10
  48. TextButton.Image = "rbxassetid://1283904632"
  49. TextButton.ScaleType = Enum.ScaleType.Slice
  50. TextButton.SliceCenter = Rect.new(22, 22, 234, 234)
  51.  
  52. BorderPixel_2.Name = "BorderPixel"
  53. BorderPixel_2.Parent = TextButton
  54. BorderPixel_2.AnchorPoint = Vector2.new(0.5, 0.5)
  55. BorderPixel_2.BackgroundTransparency = 1
  56. BorderPixel_2.BorderSizePixel = 0
  57. BorderPixel_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  58. BorderPixel_2.Size = UDim2.new(1, 6, 1, 6)
  59. BorderPixel_2.ZIndex = 9
  60. BorderPixel_2.Image = "rbxassetid://1283904632"
  61. BorderPixel_2.ImageColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  62. BorderPixel_2.ScaleType = Enum.ScaleType.Slice
  63. BorderPixel_2.SliceCenter = Rect.new(22, 22, 234, 234)
  64.  
  65. TextLabel.Parent = TextButton
  66. TextLabel.AnchorPoint = Vector2.new(0, 0.5)
  67. TextLabel.BackgroundTransparency = 1
  68. TextLabel.Position = UDim2.new(0.0150000025, 0, 0.49999994, 0)
  69. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  70. TextLabel.ZIndex = 10
  71. TextLabel.Font = Enum.Font.Cartoon
  72. TextLabel.Text = "Start"
  73. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  74. TextLabel.TextScaled = true
  75. TextLabel.TextSize = 14
  76. TextLabel.TextWrapped = true
  77.  
  78. TextButton_2.Parent = Frame
  79. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  80. TextButton_2.BackgroundTransparency = 1
  81. TextButton_2.Position = UDim2.new(0.859903336, 0, -0.00714179873, 0)
  82. TextButton_2.Size = UDim2.new(0, 28, 0, 24)
  83. TextButton_2.ZIndex = 9
  84. TextButton_2.Font = Enum.Font.SourceSans
  85. TextButton_2.Text = "x"
  86. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  87. TextButton_2.TextScaled = true
  88. TextButton_2.TextSize = 14
  89. TextButton_2.TextWrapped = true
  90.  
  91. TextButton_2.MouseButton1Down:connect(function()
  92. IsEnabled = true
  93. wait(0)
  94. StrucidGAy:Destroy(print([[
  95. oopsie woopsie looks like you have closed me!
  96. you can re open me by executing again
  97. uwu
  98. ]]))
  99. end)
  100. TextButton.MouseButton1Down:connect(function()
  101. repeat wait()
  102. if IsEnabled == false then
  103. for a,z in pairs(game:GetService("Workspace")["BuildStuff"]:GetDescendants()) do
  104. z:Destroy()
  105. end
  106. TextLabel.Text = "Stop"
  107. else
  108. TextLabel.Text = "Start"
  109. end
  110. until IsEnabled == true
  111. end)
  112. TextButton.MouseButton1Down:connect(function()
  113. IsEnabled = not IsEnabled
  114. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement