Advertisement
Josh_Irelan

Melon GUI (Might Not Work)

Sep 17th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.98 KB | None | 0 0
  1. -- Objects
  2.  
  3. local MelonGUI = Instance.new("ScreenGui")
  4. local LoginFrame = Instance.new("Frame")
  5. local Bar = Instance.new("Frame")
  6. local Bar1 = Instance.new("Frame")
  7. local Creditlabel = Instance.new("TextLabel")
  8. local loginlabel = Instance.new("TextLabel")
  9. local Username = Instance.new("TextBox")
  10. local Password = Instance.new("TextBox")
  11. local TextButton = Instance.new("TextButton")
  12. local MainFrame = Instance.new("Frame")
  13. local Bar2 = Instance.new("Frame")
  14. local Title = Instance.new("TextLabel")
  15. local TextButton_2 = Instance.new("TextButton")
  16. local TextButton_3 = Instance.new("TextButton")
  17. local TextButton_4 = Instance.new("TextButton")
  18. local EXEFrame = Instance.new("Frame")
  19. local TextLabel = Instance.new("TextLabel")
  20. local ScrollingFrame = Instance.new("ScrollingFrame")
  21. local TextBox = Instance.new("TextBox")
  22. local TextButton_5 = Instance.new("TextButton")
  23. local TextButton_6 = Instance.new("TextButton")
  24.  
  25. -- Properties
  26.  
  27. MelonGUI.Name = "MelonGUI"
  28. MelonGUI.Parent = game.CoreGui
  29.  
  30. LoginFrame.Name = "LoginFrame"
  31. LoginFrame.Parent = MelonGUI
  32. LoginFrame.BackgroundColor3 = Color3.new(0.231373, 1, 0)
  33. LoginFrame.Position = UDim2.new(0, 23, 0, 141)
  34. LoginFrame.Size = UDim2.new(0, 201, 0, 323)
  35.  
  36. Bar.Name = "Bar"
  37. Bar.Parent = LoginFrame
  38. Bar.BackgroundColor3 = Color3.new(0.784314, 0, 1)
  39. Bar.Size = UDim2.new(0, 200, 0, 20)
  40.  
  41. Bar1.Name = "Bar1"
  42. Bar1.Parent = LoginFrame
  43. Bar1.BackgroundColor3 = Color3.new(0.556863, 0, 0.709804)
  44. Bar1.Position = UDim2.new(0, 0, 0, 10)
  45. Bar1.Size = UDim2.new(0, 200, 0, 10)
  46.  
  47. Creditlabel.Name = "Creditlabel"
  48. Creditlabel.Parent = LoginFrame
  49. Creditlabel.BackgroundColor3 = Color3.new(0.0980392, 1, 0)
  50. Creditlabel.BorderColor3 = Color3.new(0, 1, 0.0823529)
  51. Creditlabel.Position = UDim2.new(0, 25, 0, 75)
  52. Creditlabel.Size = UDim2.new(0, 150, 0, 50)
  53. Creditlabel.Font = Enum.Font.SourceSans
  54. Creditlabel.FontSize = Enum.FontSize.Size14
  55. Creditlabel.Text = "Gui made by flameballslayer"
  56. Creditlabel.TextSize = 14
  57.  
  58. loginlabel.Name = "loginlabel"
  59. loginlabel.Parent = LoginFrame
  60. loginlabel.BackgroundColor3 = Color3.new(0.0980392, 1, 0)
  61. loginlabel.BorderColor3 = Color3.new(0, 1, 0.0823529)
  62. loginlabel.Position = UDim2.new(0, 25, 0, 110)
  63. loginlabel.Size = UDim2.new(0, 150, 0, 50)
  64. loginlabel.Font = Enum.Font.SourceSans
  65. loginlabel.FontSize = Enum.FontSize.Size14
  66. loginlabel.Text = "Please Login"
  67. loginlabel.TextSize = 14
  68.  
  69. Username.Name = "Username"
  70. Username.Parent = LoginFrame
  71. Username.BackgroundColor3 = Color3.new(1, 1, 1)
  72. Username.Position = UDim2.new(0, 50, 0, 200)
  73. Username.Size = UDim2.new(0, 100, 0, 25)
  74. Username.Font = Enum.Font.SourceSans
  75. Username.FontSize = Enum.FontSize.Size14
  76. Username.Text = "Username"
  77. Username.TextSize = 14
  78.  
  79. Password.Name = "Password"
  80. Password.Parent = LoginFrame
  81. Password.BackgroundColor3 = Color3.new(1, 1, 1)
  82. Password.Position = UDim2.new(0, 50, 0, 250)
  83. Password.Size = UDim2.new(0, 100, 0, 25)
  84. Password.Font = Enum.Font.SourceSans
  85. Password.FontSize = Enum.FontSize.Size14
  86. Password.Text = "Password"
  87. Password.TextSize = 14
  88.  
  89. TextButton.Parent = LoginFrame
  90. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  91. TextButton.Position = UDim2.new(0.313432813, 0, 0.88390094, 0)
  92. TextButton.Size = UDim2.new(0, 74, 0, 35)
  93. TextButton.Font = Enum.Font.SourceSans
  94. TextButton.FontSize = Enum.FontSize.Size14
  95. TextButton.Text = "Submit"
  96. TextButton.TextSize = 14
  97. TextButton.MouseButton1Down:(function()
  98. if Username.Text == "flameballslayer" and Password.Text == "MelonAccess" then
  99. LoginFrame.visible = false
  100. MainFrame.visible = true
  101. end
  102. end)
  103. MainFrame.Name = "MainFrame"
  104. MainFrame.Parent = MelonGUI
  105. MainFrame.BackgroundColor3 = Color3.new(0.0705882, 0.478431, 0)
  106. MainFrame.Position = UDim2.new(0, 461, 0, 14)
  107. MainFrame.Size = UDim2.new(0, 562, 0, 287)
  108.  
  109. Bar2.Name = "Bar2"
  110. Bar2.Parent = MainFrame
  111. Bar2.BackgroundColor3 = Color3.new(0, 1, 0.0313726)
  112. Bar2.Size = UDim2.new(0, 562, 0, 21)
  113.  
  114. Title.Name = "Title"
  115. Title.Parent = MainFrame
  116. Title.BackgroundColor3 = Color3.new(0.0196078, 0.435294, 0)
  117. Title.Position = UDim2.new(0.309608549, 0, 0.073170729, 0)
  118. Title.Size = UDim2.new(0, 200, 0, 50)
  119. Title.Font = Enum.Font.SourceSans
  120. Title.FontSize = Enum.FontSize.Size14
  121. Title.Text = "Melon GUI"
  122. Title.TextSize = 14
  123.  
  124. TextButton_2.Parent = MainFrame
  125. TextButton_2.BackgroundColor3 = Color3.new(1, 0, 1)
  126. TextButton_2.Position = UDim2.new(0.142348751, 0, 0.72996515, 0)
  127. TextButton_2.Size = UDim2.new(0, 104, 0, 35)
  128. TextButton_2.Font = Enum.Font.SourceSans
  129. TextButton_2.FontSize = Enum.FontSize.Size14
  130. TextButton_2.Text = "EXECUTION"
  131. TextButton_2.TextSize = 14
  132. TextButton_2.MouseButton1Down:(function()
  133. MainFrame.visible = false
  134. EXEFrame.visible = true
  135. end)
  136.  
  137. TextButton_4.Parent = MainFrame
  138. TextButton_4.BackgroundColor3 = Color3.new(1, 0.262745, 0.988235)
  139. TextButton_4.Position = UDim2.new(0.777580082, 0, 0.125435531, 0)
  140. TextButton_4.Size = UDim2.new(0, 104, 0, 35)
  141. TextButton_4.Font = Enum.Font.SourceSans
  142. TextButton_4.FontSize = Enum.FontSize.Size14
  143. TextButton_4.Text = "Exit"
  144. TextButton_4.TextSize = 14
  145. TextButton_4.MouseButton1Down:(function()
  146. MelonGUI:Destroy()
  147. end)
  148. EXEFrame.Name = "EXEFrame"
  149. EXEFrame.Parent = MelonGUI
  150. EXEFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  151. EXEFrame.Position = UDim2.new(0.426512957, 0, 0.53695327, 0)
  152. EXEFrame.Size = UDim2.new(0, 520, 0, 246)
  153.  
  154. TextLabel.Parent = EXEFrame
  155. TextLabel.BackgroundColor3 = Color3.new(1, 0, 1)
  156. TextLabel.Size = UDim2.new(0, 520, 0, 20)
  157. TextLabel.Font = Enum.Font.SourceSans
  158. TextLabel.FontSize = Enum.FontSize.Size14
  159. TextLabel.Text = "Execution"
  160. TextLabel.TextSize = 14
  161.  
  162. end)
  163. ScrollingFrame.Parent = EXEFrame
  164. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  165. ScrollingFrame.Position = UDim2.new(0.0769230798, 0, 0.166666672, 0)
  166. ScrollingFrame.Size = UDim2.new(0, 434, 0, 145)
  167. ScrollingFrame.ScrollBarThickness = 10
  168.  
  169. TextBox.Parent = ScrollingFrame
  170. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  171. TextBox.Size = UDim2.new(0, 423, 0, 144)
  172. TextBox.Font = Enum.Font.SourceSans
  173. TextBox.FontSize = Enum.FontSize.Size24
  174. TextBox.Text = "print(\"Script Here\");"
  175. TextBox.TextSize = 20
  176. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  177. TextBox.TextYAlignment = Enum.TextYAlignment.Top
  178.  
  179. TextButton_5.Parent = EXEFrame
  180. TextButton_5.BackgroundColor3 = Color3.new(1, 1, 1)
  181. TextButton_5.Position = UDim2.new(0.0769230798, 0, 0.796747983, 0)
  182. TextButton_5.Size = UDim2.new(0, 200, 0, 44)
  183. TextButton_5.Font = Enum.Font.SourceSans
  184. TextButton_5.FontSize = Enum.FontSize.Size14
  185. TextButton_5.Text = "Execute"
  186. TextButton_5.TextSize = 14
  187. TextButton_5.MouseButton1Down:(function()
  188. if input.text == "ExitFrame" then
  189. MainFrame.visible = true
  190. EXEFrame.visible = false
  191. print("Frame Exited")
  192. else
  193. loadstring(input.text)()
  194. end
  195. end
  196.  
  197. TextButton_6.Parent = EXEFrame
  198. TextButton_6.BackgroundColor3 = Color3.new(1, 1, 1)
  199. TextButton_6.Position = UDim2.new(0.52692306, 0, 0.796747983, 0)
  200. TextButton_6.Size = UDim2.new(0, 200, 0, 44)
  201. TextButton_6.Font = Enum.Font.SourceSans
  202. TextButton_6.FontSize = Enum.FontSize.Size14
  203. TextButton_6.Text = "Clear"
  204. TextButton_6.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement