Advertisement
UNKNOWNSCRIPTER12

My GUI That opens And Closes

Jun 30th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.43 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local main = Instance.new("Frame")
  3. local TextLabel = Instance.new("TextLabel")
  4. local UIGradient = Instance.new("UIGradient")
  5. local UICorner = Instance.new("UICorner")
  6. local TextLabel_2 = Instance.new("TextLabel")
  7. local UIGradient_2 = Instance.new("UIGradient")
  8. local UICorner_2 = Instance.new("UICorner")
  9. local UIGradient_3 = Instance.new("UIGradient")
  10. local DeliverySimulatorAutoFarmActivateItHere = Instance.new("TextButton")
  11. local UIGradient_4 = Instance.new("UIGradient")
  12. local UICorner_3 = Instance.new("UICorner")
  13. local DeliverySimulatorAutoFarmDisableItHere = Instance.new("TextButton")
  14. local UIGradient_5 = Instance.new("UIGradient")
  15. local UICorner_4 = Instance.new("UICorner")
  16. local CLOSE = Instance.new("TextButton")
  17. local UICorner_5 = Instance.new("UICorner")
  18. local UIGradient_6 = Instance.new("UIGradient")
  19. local UICorner_6 = Instance.new("UICorner")
  20. local openmain = Instance.new("Frame")
  21. local open = Instance.new("TextButton")
  22. local UICorner_7 = Instance.new("UICorner")
  23. local UIGradient_7 = Instance.new("UIGradient")
  24. local UICorner_8 = Instance.new("UICorner")
  25. local UIGradient_8 = Instance.new("UIGradient")
  26.  
  27.  
  28. ScreenGui.Parent = game.CoreGui
  29.  
  30. main.Name = "main"
  31. main.Parent = ScreenGui
  32. main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  33. main.Position = UDim2.new(0.246190876, 0, 0.316688567, 0)
  34. main.Size = UDim2.new(0, 646, 0, 279)
  35. main.Visible = false
  36. main.Active = true
  37. main.Draggable = true
  38.  
  39. TextLabel.Parent = main
  40. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  41. TextLabel.Size = UDim2.new(0, 646, 0, 46)
  42. TextLabel.Font = Enum.Font.SourceSans
  43. TextLabel.Text = "Avoidzs YT GUI"
  44. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  45. TextLabel.TextScaled = true
  46. TextLabel.TextSize = 14.000
  47. TextLabel.TextWrapped = true
  48.  
  49. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 255))}
  50. UIGradient.Parent = TextLabel
  51.  
  52. UICorner.Parent = TextLabel
  53.  
  54. TextLabel_2.Parent = main
  55. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  56. TextLabel_2.Position = UDim2.new(0, 0, 0.835125446, 0)
  57. TextLabel_2.Size = UDim2.new(0, 646, 0, 46)
  58. TextLabel_2.Font = Enum.Font.SourceSans
  59. TextLabel_2.Text = "GUI Made By Avoidzs On YT | Please Like And Subscribe"
  60. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  61. TextLabel_2.TextScaled = true
  62. TextLabel_2.TextSize = 14.000
  63. TextLabel_2.TextWrapped = true
  64.  
  65. UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 255))}
  66. UIGradient_2.Parent = TextLabel_2
  67.  
  68. UICorner_2.Parent = TextLabel_2
  69.  
  70. UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 255))}
  71. UIGradient_3.Parent = main
  72.  
  73. DeliverySimulatorAutoFarmActivateItHere.Name = "Delivery Simulator AutoFarm Activate It Here!!!"
  74. DeliverySimulatorAutoFarmActivateItHere.Parent = main
  75. DeliverySimulatorAutoFarmActivateItHere.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  76. DeliverySimulatorAutoFarmActivateItHere.Position = UDim2.new(0, 0, 0.164874554, 0)
  77. DeliverySimulatorAutoFarmActivateItHere.Size = UDim2.new(0, 326, 0, 187)
  78. DeliverySimulatorAutoFarmActivateItHere.Font = Enum.Font.SourceSans
  79. DeliverySimulatorAutoFarmActivateItHere.Text = "Delivery Simulator AutoFarm Activate It Here!!!"
  80. DeliverySimulatorAutoFarmActivateItHere.TextColor3 = Color3.fromRGB(0, 0, 0)
  81. DeliverySimulatorAutoFarmActivateItHere.TextScaled = true
  82. DeliverySimulatorAutoFarmActivateItHere.TextSize = 14.000
  83. DeliverySimulatorAutoFarmActivateItHere.TextWrapped = true
  84. DeliverySimulatorAutoFarmActivateItHere.MouseButton1Down:connect(function()
  85. _G.Enabled = true ---Enable script
  86. _G.Stock = true --Auto restock all racks
  87. _G.Deliver = true --Auto sell everything
  88.  
  89. loadstring(game:HttpGet('https://pastebin.com/raw/VkRfdPp1'))()
  90. end)
  91.  
  92. UIGradient_4.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 255))}
  93. UIGradient_4.Parent = DeliverySimulatorAutoFarmActivateItHere
  94.  
  95. UICorner_3.Parent = DeliverySimulatorAutoFarmActivateItHere
  96.  
  97. DeliverySimulatorAutoFarmDisableItHere.Name = "Delivery Simulator AutoFarm Disable It Here!!!"
  98. DeliverySimulatorAutoFarmDisableItHere.Parent = main
  99. DeliverySimulatorAutoFarmDisableItHere.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  100. DeliverySimulatorAutoFarmDisableItHere.Position = UDim2.new(0.504643977, 0, 0.164874554, 0)
  101. DeliverySimulatorAutoFarmDisableItHere.Size = UDim2.new(0, 320, 0, 187)
  102. DeliverySimulatorAutoFarmDisableItHere.Font = Enum.Font.SourceSans
  103. DeliverySimulatorAutoFarmDisableItHere.Text = "Delivery Simulator AutoFarm Disable It Here!!!"
  104. DeliverySimulatorAutoFarmDisableItHere.TextColor3 = Color3.fromRGB(0, 0, 0)
  105. DeliverySimulatorAutoFarmDisableItHere.TextScaled = true
  106. DeliverySimulatorAutoFarmDisableItHere.TextSize = 14.000
  107. DeliverySimulatorAutoFarmDisableItHere.TextWrapped = true
  108. DeliverySimulatorAutoFarmDisableItHere.MouseButton1Down:connect(function()
  109. _G.Enabled = false ---Disable script
  110. _G.Stock = false --Auto restock all racks Disable
  111. _G.Deliver = false --Auto sell everything Disable
  112.  
  113. loadstring(game:HttpGet('https://pastebin.com/raw/VkRfdPp1'))()
  114. end)
  115.  
  116. UIGradient_5.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 255))}
  117. UIGradient_5.Parent = DeliverySimulatorAutoFarmDisableItHere
  118.  
  119. UICorner_4.Parent = DeliverySimulatorAutoFarmDisableItHere
  120.  
  121. CLOSE.Name = "CLOSE"
  122. CLOSE.Parent = main
  123. CLOSE.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  124. CLOSE.BorderColor3 = Color3.fromRGB(53, 0, 0)
  125. CLOSE.Position = UDim2.new(0.907120764, 0, 0, 0)
  126. CLOSE.Size = UDim2.new(0, 60, 0, 46)
  127. CLOSE.Font = Enum.Font.SourceSans
  128. CLOSE.Text = "x"
  129. CLOSE.TextColor3 = Color3.fromRGB(0, 0, 0)
  130. CLOSE.TextScaled = true
  131. CLOSE.TextSize = 14.000
  132. CLOSE.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  133. CLOSE.TextWrapped = true
  134. CLOSE.MouseButton1Down:connect(function()
  135. main.Visible = false
  136. openmain.Visible = true
  137. end)
  138.  
  139. UICorner_5.Parent = CLOSE
  140.  
  141. UIGradient_6.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 255))}
  142. UIGradient_6.Parent = CLOSE
  143.  
  144. UICorner_6.Parent = main
  145.  
  146. openmain.Name = "openmain"
  147. openmain.Parent = ScreenGui
  148. openmain.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  149. openmain.Position = UDim2.new(0, 0, 0.552587688, 0)
  150. openmain.Size = UDim2.new(0, 156, 0, 40)
  151. openmain.Active = true
  152. openmain.Draggable = true
  153.  
  154. open.Name = "open"
  155. open.Parent = openmain
  156. open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  157. open.Size = UDim2.new(0, 156, 0, 40)
  158. open.Font = Enum.Font.SourceSans
  159. open.Text = "OPEN"
  160. open.TextColor3 = Color3.fromRGB(0, 0, 0)
  161. open.TextSize = 14.000
  162. open.MouseButton1Down:connect(function()
  163. openmain.Visible = false
  164. main.Visible = true
  165. end)
  166.  
  167. UICorner_7.Parent = open
  168.  
  169. UIGradient_7.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 255))}
  170. UIGradient_7.Parent = open
  171.  
  172. UICorner_8.Parent = openmain
  173.  
  174. UIGradient_8.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 255))}
  175. UIGradient_8.Parent = openmain
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement