Advertisement
Guest User

Roblox Studio in Roblox GUI

a guest
Oct 12th, 2017
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.12 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Login = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextLabel_2 = Instance.new("TextLabel")
  7. local Username = Instance.new("TextBox")
  8. local Password = Instance.new("TextBox")
  9. local sub = Instance.new("TextButton")
  10. local Invalid = Instance.new("TextLabel")
  11. local Main = Instance.new("Frame")
  12. local ball = Instance.new("TextButton")
  13. local TextButton = Instance.new("TextButton")
  14. local building = Instance.new("TextButton")
  15. local f3x = Instance.new("TextButton")
  16.  
  17. -- Properties
  18.  
  19. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  20.  
  21. Login.Name = "Login"
  22. Login.Parent = ScreenGui
  23. Login.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  24. Login.BorderSizePixel = 0
  25. Login.Position = UDim2.new(0, 47, 0, 169)
  26. Login.Size = UDim2.new(0, 266, 0, 290)
  27.  
  28. TextLabel.Parent = Login
  29. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  30. TextLabel.BackgroundTransparency = 1
  31. TextLabel.BorderSizePixel = 0
  32. TextLabel.Size = UDim2.new(0, 266, 0, 38)
  33. TextLabel.Font = Enum.Font.SourceSans
  34. TextLabel.FontSize = Enum.FontSize.Size14
  35. TextLabel.Text = "Roblox Studio GUI - Login"
  36. TextLabel.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  37. TextLabel.TextScaled = true
  38. TextLabel.TextSize = 14
  39. TextLabel.TextWrapped = true
  40.  
  41. TextLabel_2.Parent = Login
  42. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  43. TextLabel_2.BackgroundTransparency = 1
  44. TextLabel_2.Position = UDim2.new(0, 167, 0, 39)
  45. TextLabel_2.Size = UDim2.new(0, 99, 0, 28)
  46. TextLabel_2.Font = Enum.Font.SourceSans
  47. TextLabel_2.FontSize = Enum.FontSize.Size14
  48. TextLabel_2.Text = "Made by EliasSam2 "
  49. TextLabel_2.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  50. TextLabel_2.TextScaled = true
  51. TextLabel_2.TextSize = 14
  52. TextLabel_2.TextWrapped = true
  53.  
  54. Username.Name = "Username"
  55. Username.Parent = Login
  56. Username.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  57. Username.BorderSizePixel = 0
  58. Username.Position = UDim2.new(0, 33, 0, 95)
  59. Username.Size = UDim2.new(0, 200, 0, 50)
  60. Username.Font = Enum.Font.Cartoon
  61. Username.FontSize = Enum.FontSize.Size14
  62. Username.Text = "Username"
  63. Username.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  64. Username.TextScaled = true
  65. Username.TextSize = 14
  66. Username.TextWrapped = true
  67.  
  68. Password.Name = "Password"
  69. Password.Parent = Login
  70. Password.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  71. Password.BorderSizePixel = 0
  72. Password.Position = UDim2.new(0, 33, 0, 167)
  73. Password.Size = UDim2.new(0, 200, 0, 50)
  74. Password.Font = Enum.Font.Cartoon
  75. Password.FontSize = Enum.FontSize.Size14
  76. Password.Text = "Password"
  77. Password.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  78. Password.TextScaled = true
  79. Password.TextSize = 14
  80. Password.TextWrapped = true
  81.  
  82. sub.Name = "sub"
  83. sub.Parent = Login
  84. sub.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  85. sub.BorderSizePixel = 0
  86. sub.Position = UDim2.new(0, 59, 0, 240)
  87. sub.Size = UDim2.new(0, 146, 0, 50)
  88. sub.Font = Enum.Font.Cartoon
  89. sub.FontSize = Enum.FontSize.Size14
  90. sub.Text = "Submit"
  91. sub.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  92. sub.TextScaled = true
  93. sub.TextSize = 14
  94. sub.TextWrapped = true
  95. sub.MouseButton1Down:connect(function()
  96.  Main.Visible = true
  97. end)
  98.  
  99. Invalid.Name = "Invalid"
  100. Invalid.Parent = Login
  101. Invalid.BackgroundColor3 = Color3.new(1, 1, 1)
  102. Invalid.BackgroundTransparency = 2
  103. Invalid.BorderSizePixel = 0
  104. Invalid.Position = UDim2.new(0, 0, 0, 219)
  105. Invalid.Size = UDim2.new(0, 266, 0, 21)
  106. Invalid.Visible = false
  107. Invalid.Font = Enum.Font.SourceSans
  108. Invalid.FontSize = Enum.FontSize.Size14
  109. Invalid.Text = "Invalid Username Or Password"
  110. Invalid.TextColor3 = Color3.new(1, 0, 0)
  111. Invalid.TextSize = 14
  112.  
  113. Main.Name = "Main"
  114. Main.Parent = ScreenGui
  115. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  116. Main.BorderSizePixel = 0
  117. Main.Size = UDim2.new(0, 807, 0, 100)
  118. Main.Visible = false
  119.  
  120. ball.Name = "ball"
  121. ball.Parent = Main
  122. ball.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  123. ball.BorderSizePixel = 0
  124. ball.Position = UDim2.new(0, 36, 0, 16)
  125. ball.Size = UDim2.new(0, 132, 0, 34)
  126. ball.Font = Enum.Font.Cartoon
  127. ball.FontSize = Enum.FontSize.Size14
  128. ball.Text = "New Part"
  129. ball.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  130. ball.TextScaled = true
  131. ball.TextSize = 14
  132. ball.TextWrapped = true
  133. ball.MouseButton1Down:connect(function()
  134. part = Instance.new('Part',game.Workspace)
  135. end)
  136.  
  137. TextButton.Parent = Main
  138. TextButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  139. TextButton.BorderSizePixel = 0
  140. TextButton.Position = UDim2.new(0, 38, 0, 67)
  141. TextButton.Size = UDim2.new(0, 129, 0, 33)
  142. TextButton.Font = Enum.Font.Cartoon
  143. TextButton.FontSize = Enum.FontSize.Size14
  144. TextButton.Text = "New Ball"
  145. TextButton.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  146. TextButton.TextScaled = true
  147. TextButton.TextSize = 14
  148. TextButton.TextWrapped = true
  149. TextButton.MouseButton1Down:connect(function()
  150.     part2 = Instance.new('Part',game.Workspace)
  151.     part2.Shape = 'Ball'
  152. end)
  153.  
  154. building.Name = "building"
  155. building.Parent = Main
  156. building.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  157. building.BorderSizePixel = 0
  158. building.Position = UDim2.new(0, 187, 0, 20)
  159. building.Size = UDim2.new(0, 200, 0, 60)
  160. building.Font = Enum.Font.Cartoon
  161. building.FontSize = Enum.FontSize.Size14
  162. building.Text = "Btools"
  163. building.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  164. building.TextScaled = true
  165. building.TextSize = 14
  166. building.TextWrapped = true
  167. building.MouseButton1Down:connect(function()
  168. a = Instance.new("HopperBin")
  169.     a.BinType = 1
  170.     a.Parent = game.Players.LocalPlayer.Backpack
  171.     a = Instance.new("HopperBin")
  172.     a.BinType = 4
  173.     a.Parent = game.Players.LocalPlayer.Backpack
  174.     a = Instance.new("HopperBin")
  175.     a.BinType = 3
  176.     a.Parent = game.Players.LocalPlayer.Backpack
  177. end)
  178.  
  179. f3x.Name = "f3x"
  180. f3x.Parent = Main
  181. f3x.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  182. f3x.BorderSizePixel = 0
  183. f3x.Position = UDim2.new(0, 404, 0, 21)
  184. f3x.Size = UDim2.new(0, 200, 0, 54)
  185. f3x.Font = Enum.Font.Cartoon
  186. f3x.FontSize = Enum.FontSize.Size14
  187. f3x.Text = "F3X"
  188. f3x.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  189. f3x.TextScaled = true
  190. f3x.TextSize = 14
  191. f3x.TextWrapped = true
  192. f3x.MouseButton1Down:connect(function()
  193.  
  194. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement