Advertisement
DJAlguein

ada

Nov 23rd, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.58 KB | None | 0 0
  1.  
  2. -- Objects
  3.  
  4. local Zuma = Instance.new("ScreenGui")
  5. local mainUI = Instance.new("ImageLabel")
  6. local scriptboxUI = Instance.new("ImageLabel")
  7. local seperate = Instance.new("Frame")
  8. local ScrollingFrame = Instance.new("ScrollingFrame")
  9. local script2 = Instance.new("TextBox")
  10. local execUI = Instance.new("ImageLabel")
  11. local execbutton = Instance.new("TextButton")
  12. local clearUI = Instance.new("ImageLabel")
  13. local clearbutton = Instance.new("TextButton")
  14. local topbar = Instance.new("ImageLabel")
  15. local title = Instance.new("TextLabel")
  16.  
  17. -- Properties
  18.  
  19. Zuma.Name = "Zuma"
  20. Zuma.Parent = game.CoreGui
  21.  
  22. mainUI.Name = "mainUI"
  23. mainUI.Parent = Zuma
  24. mainUI.BackgroundColor3 = Color3.new(1, 1, 1)
  25. mainUI.BackgroundTransparency = 1
  26. mainUI.Position = UDim2.new(0.366857737, 0, 0.118518516, 0)
  27. mainUI.Size = UDim2.new(0.325298458, 0, 0.389216691, 0)
  28. mainUI.Image = "rbxassetid://2260429633"
  29. mainUI.ImageColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  30. mainUI.ScaleType = Enum.ScaleType.Slice
  31. mainUI.SliceCenter = Rect.new(12, 12, 13, 13)
  32.  
  33. scriptboxUI.Name = "scriptboxUI"
  34. scriptboxUI.Parent = mainUI
  35. scriptboxUI.BackgroundColor3 = Color3.new(1, 1, 1)
  36. scriptboxUI.BackgroundTransparency = 1
  37. scriptboxUI.Position = UDim2.new(0.0465489551, 0, 0.0977995098, 0)
  38. scriptboxUI.Size = UDim2.new(0, 560, 0, 330)
  39. scriptboxUI.Image = "rbxassetid://2260429633"
  40. scriptboxUI.ImageColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  41. scriptboxUI.ScaleType = Enum.ScaleType.Slice
  42. scriptboxUI.SliceCenter = Rect.new(12, 12, 13, 13)
  43.  
  44. seperate.Name = "seperate"
  45. seperate.Parent = scriptboxUI
  46. seperate.BackgroundColor3 = Color3.new(1, 1, 1)
  47. seperate.BorderSizePixel = 0
  48. seperate.Position = UDim2.new(0.0857142881, 0, 0, 0)
  49. seperate.Size = UDim2.new(0, 2, 0, 330)
  50.  
  51. ScrollingFrame.Parent = scriptboxUI
  52. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  53. ScrollingFrame.BackgroundTransparency = 1
  54. ScrollingFrame.Size = UDim2.new(0, 560, 0, 330)
  55. ScrollingFrame.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  56.  
  57. script2.Name = "script2"
  58. script2.Parent = ScrollingFrame
  59. script2.BackgroundColor3 = Color3.new(1, 1, 1)
  60. script2.BackgroundTransparency = 1
  61. script2.Position = UDim2.new(0.107142858, 0, 0, 0)
  62. script2.Size = UDim2.new(0, 500, 0, 330)
  63. script2.Font = Enum.Font.SourceSans
  64. script2.MultiLine = true
  65. script2.Text = "print(\"Hello World\")"
  66. script2.TextColor3 = Color3.new(1, 0.788235, 0.0196078)
  67. script2.TextSize = 14
  68. script2.TextWrapped = true
  69. script2.TextXAlignment = Enum.TextXAlignment.Left
  70. script2.TextYAlignment = Enum.TextYAlignment.Top
  71.  
  72. execUI.Name = "execUI"
  73. execUI.Parent = scriptboxUI
  74. execUI.BackgroundColor3 = Color3.new(1, 1, 1)
  75. execUI.BackgroundTransparency = 1
  76. execUI.Position = UDim2.new(0.819642842, 0, 0.987878799, 0)
  77. execUI.Size = UDim2.new(0.118807875, 24, 0.0212123115, 24)
  78. execUI.Image = "rbxassetid://2260429633"
  79. execUI.ImageColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  80. execUI.ScaleType = Enum.ScaleType.Slice
  81. execUI.SliceCenter = Rect.new(12, 12, 13, 13)
  82.  
  83. execbutton.Name = "execbutton"
  84. execbutton.Parent = execUI
  85. execbutton.BackgroundColor3 = Color3.new(1, 1, 1)
  86. execbutton.BackgroundTransparency = 1
  87. execbutton.Position = UDim2.new(0, 0, 0.16128999, 0)
  88. execbutton.Size = UDim2.new(0, 91, 0, 20)
  89. execbutton.Font = Enum.Font.SourceSans
  90. execbutton.Text = "Execute."
  91. execbutton.TextColor3 = Color3.new(1, 1, 1)
  92. execbutton.TextSize = 18
  93.  
  94. clearUI.Name = "clearUI"
  95. clearUI.Parent = scriptboxUI
  96. clearUI.BackgroundColor3 = Color3.new(1, 1, 1)
  97. clearUI.BackgroundTransparency = 1
  98. clearUI.Position = UDim2.new(0.609000027, 0, 0.99000001, 0)
  99. clearUI.Size = UDim2.new(0.118807875, 24, 0.0242423024, 24)
  100. clearUI.Image = "rbxassetid://2260429633"
  101. clearUI.ImageColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  102. clearUI.ScaleType = Enum.ScaleType.Slice
  103. clearUI.SliceCenter = Rect.new(12, 12, 13, 13)
  104.  
  105. clearbutton.Name = "clearbutton"
  106. clearbutton.Parent = clearUI
  107. clearbutton.BackgroundColor3 = Color3.new(1, 1, 1)
  108. clearbutton.BackgroundTransparency = 1
  109. clearbutton.Position = UDim2.new(0, 0, -0.0312500596, 0)
  110. clearbutton.Size = UDim2.new(0, 91, 0, 32)
  111. clearbutton.Font = Enum.Font.SourceSans
  112. clearbutton.Text = "Clear."
  113. clearbutton.TextColor3 = Color3.new(1, 1, 1)
  114. clearbutton.TextSize = 18
  115.  
  116. topbar.Name = "topbar"
  117. topbar.Parent = mainUI
  118. topbar.BackgroundColor3 = Color3.new(1, 1, 1)
  119. topbar.BackgroundTransparency = 1
  120. topbar.Size = UDim2.new(0, 623, 0, 32)
  121. topbar.Image = "rbxassetid://2260429633"
  122. topbar.ImageColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  123. topbar.ScaleType = Enum.ScaleType.Slice
  124. topbar.SliceCenter = Rect.new(12, 12, 13, 13)
  125.  
  126. title.Name = "title"
  127. title.Parent = topbar
  128. title.BackgroundColor3 = Color3.new(1, 1, 1)
  129. title.BackgroundTransparency = 1
  130. title.Size = UDim2.new(0, 623, 0, 32)
  131. title.Font = Enum.Font.Code
  132. title.Text = "Zuma v1."
  133. title.TextColor3 = Color3.new(1, 1, 1)
  134. title.TextScaled = true
  135. title.TextSize = 14
  136. title.TextWrapped = true
  137.  
  138. -- Scripts
  139.  
  140.  
  141.  
  142. local Zuma = Instance.new("ScreenGui")
  143. local mainUI = Instance.new("ImageLabel")
  144. local scriptboxUI = Instance.new("ImageLabel")
  145. local seperate = Instance.new("Frame")
  146. local ScrollingFrame = Instance.new("ScrollingFrame")
  147. local script2 = Instance.new("TextBox")
  148. local execUI = Instance.new("ImageLabel")
  149. local execbutton = Instance.new("TextButton")
  150. local clearUI = Instance.new("ImageLabel")
  151. local clearbutton = Instance.new("TextButton")
  152. local topbar = Instance.new("ImageLabel")
  153. local title = Instance.new("TextLabel")
  154.  
  155. -- Properties
  156.  
  157. Zuma.Name = "Zuma"
  158. Zuma.Parent = game.CoreGui
  159.  
  160. mainUI.Name = "mainUI"
  161. mainUI.Parent = Zuma
  162. mainUI.BackgroundColor3 = Color3.new(1, 1, 1)
  163. mainUI.BackgroundTransparency = 1
  164. mainUI.Position = UDim2.new(0.366857737, 0, 0.118518516, 0)
  165. mainUI.Size = UDim2.new(0.325298458, 0, 0.389216691, 0)
  166. mainUI.Image = "rbxassetid://2260429633"
  167. mainUI.ImageColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  168. mainUI.ScaleType = Enum.ScaleType.Slice
  169. mainUI.SliceCenter = Rect.new(12, 12, 13, 13)
  170.  
  171. scriptboxUI.Name = "scriptboxUI"
  172. scriptboxUI.Parent = mainUI
  173. scriptboxUI.BackgroundColor3 = Color3.new(1, 1, 1)
  174. scriptboxUI.BackgroundTransparency = 1
  175. scriptboxUI.Position = UDim2.new(0.0465489551, 0, 0.0977995098, 0)
  176. scriptboxUI.Size = UDim2.new(0, 560, 0, 330)
  177. scriptboxUI.Image = "rbxassetid://2260429633"
  178. scriptboxUI.ImageColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  179. scriptboxUI.ScaleType = Enum.ScaleType.Slice
  180. scriptboxUI.SliceCenter = Rect.new(12, 12, 13, 13)
  181.  
  182. seperate.Name = "seperate"
  183. seperate.Parent = scriptboxUI
  184. seperate.BackgroundColor3 = Color3.new(1, 1, 1)
  185. seperate.BorderSizePixel = 0
  186. seperate.Position = UDim2.new(0.0857142881, 0, 0, 0)
  187. seperate.Size = UDim2.new(0, 2, 0, 330)
  188.  
  189. ScrollingFrame.Parent = scriptboxUI
  190. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  191. ScrollingFrame.BackgroundTransparency = 1
  192. ScrollingFrame.Size = UDim2.new(0, 560, 0, 330)
  193. ScrollingFrame.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  194.  
  195. script2.Name = "script2"
  196. script2.Parent = ScrollingFrame
  197. script2.BackgroundColor3 = Color3.new(1, 1, 1)
  198. script2.BackgroundTransparency = 1
  199. script2.Position = UDim2.new(0.107142858, 0, 0, 0)
  200. script2.Size = UDim2.new(0, 500, 0, 330)
  201. script2.Font = Enum.Font.SourceSans
  202. script2.MultiLine = true
  203. script2.Text = "print(\"Hello World\")"
  204. script2.TextColor3 = Color3.new(1, 0.788235, 0.0196078)
  205. script2.TextSize = 14
  206. script2.TextWrapped = true
  207. script2.TextXAlignment = Enum.TextXAlignment.Left
  208. script2.TextYAlignment = Enum.TextYAlignment.Top
  209.  
  210. execUI.Name = "execUI"
  211. execUI.Parent = scriptboxUI
  212. execUI.BackgroundColor3 = Color3.new(1, 1, 1)
  213. execUI.BackgroundTransparency = 1
  214. execUI.Position = UDim2.new(0.816071451, 0, 1.01, 0)
  215. execUI.Size = UDim2.new(0.118807875, 24, 0.0212123115, 24)
  216. execUI.Image = "rbxassetid://2260429633"
  217. execUI.ImageColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  218. execUI.ScaleType = Enum.ScaleType.Slice
  219. execUI.SliceCenter = Rect.new(12, 12, 13, 13)
  220.  
  221. execbutton.Name = "execbutton"
  222. execbutton.Parent = execUI
  223. execbutton.BackgroundColor3 = Color3.new(1, 1, 1)
  224. execbutton.BackgroundTransparency = 1
  225. execbutton.Position = UDim2.new(-0.0110457651, 0, 0.161290005, 0)
  226. execbutton.Size = UDim2.new(0, 91, 0, 20)
  227. execbutton.Font = Enum.Font.SourceSans
  228. execbutton.Text = "Execute."
  229. execbutton.TextColor3 = Color3.new(1, 1, 1)
  230. execbutton.TextSize = 18
  231.  
  232. clearUI.Name = "clearUI"
  233. clearUI.Parent = scriptboxUI
  234. clearUI.BackgroundColor3 = Color3.new(1, 1, 1)
  235. clearUI.BackgroundTransparency = 1
  236. clearUI.Position = UDim2.new(0.608928561, 0, 1.01, 0)
  237. clearUI.Size = UDim2.new(0.118807875, 24, 0.0242423024, 24)
  238. clearUI.Image = "rbxassetid://2260429633"
  239. clearUI.ImageColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  240. clearUI.ScaleType = Enum.ScaleType.Slice
  241. clearUI.SliceCenter = Rect.new(12, 12, 13, 13)
  242.  
  243. clearbutton.Name = "clearbutton"
  244. clearbutton.Parent = clearUI
  245. clearbutton.BackgroundColor3 = Color3.new(1, 1, 1)
  246. clearbutton.BackgroundTransparency = 1
  247. clearbutton.Position = UDim2.new(0, 0, -0.0312500596, 0)
  248. clearbutton.Size = UDim2.new(0, 91, 0, 32)
  249. clearbutton.Font = Enum.Font.SourceSans
  250. clearbutton.Text = "Clear."
  251. clearbutton.TextColor3 = Color3.new(1, 1, 1)
  252. clearbutton.TextSize = 18
  253.  
  254. topbar.Name = "topbar"
  255. topbar.Parent = mainUI
  256. topbar.BackgroundColor3 = Color3.new(1, 1, 1)
  257. topbar.BackgroundTransparency = 1
  258. topbar.Size = UDim2.new(0, 623, 0, 32)
  259. topbar.Image = "rbxassetid://2260429633"
  260. topbar.ImageColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  261. topbar.ScaleType = Enum.ScaleType.Slice
  262. topbar.SliceCenter = Rect.new(12, 12, 13, 13)
  263.  
  264. title.Name = "title"
  265. title.Parent = topbar
  266. title.BackgroundColor3 = Color3.new(1, 1, 1)
  267. title.BackgroundTransparency = 1
  268. title.Size = UDim2.new(0, 623, 0, 32)
  269. title.Font = Enum.Font.Code
  270. title.Text = "Zuma v1."
  271. title.TextColor3 = Color3.new(1, 1, 1)
  272. title.TextScaled = true
  273. title.TextSize = 14
  274. title.TextWrapped = true
  275.  
  276. -- Scripts
  277.  
  278. local player = game.Players.LocalPlayer
  279. local clicksoundy = Instance.new("Sound", player)
  280. clicksoundy.SoundId = "rbxassetid://452267918"
  281.  
  282. function clicksound()
  283. clicksoundy:Play()
  284. clicksoundy.Looped = false
  285. end
  286.  
  287. function onKeyPress(inputObject, gameProcessedEvent)
  288. if inputObject.KeyCode == Enum.KeyCode.Return then
  289. script2.Size = script2.Size + UDim2.new(0,4,0,0)
  290. local SizeYOffset = script2.Size.Y.Offset
  291. if script2.Position.Y.Offset+SizeYOffset > ScrollingFrame.AbsoluteSize.Y then
  292. ScrollingFrame.CanvasSize = UDim2.new(0,0,0,#script2*SizeYOffset+SizeYOffset)
  293. end
  294. end
  295. end
  296.  
  297. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  298.  
  299. -- Scripts
  300. mouse = player:GetMouse()
  301.  
  302.  
  303. execbutton.MouseButton1Click:Connect(function()
  304. clicksound()
  305. loadstring(script2.Text)
  306. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement