Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.75 KB | None | 0 0
  1. -- Made by lostburger13
  2.  
  3. -- Instances:
  4. local lostburger13dz = Instance.new("ScreenGui")
  5. local mainFrame = Instance.new("Frame")
  6. local title = Instance.new("TextLabel")
  7. local mini = Instance.new("TextButton")
  8. local sp = Instance.new("TextLabel")
  9. local def = Instance.new("TextLabel")
  10. local erg = Instance.new("TextLabel")
  11. local defon = Instance.new("TextButton")
  12. local defoff = Instance.new("TextButton")
  13. local spon = Instance.new("TextButton")
  14. local spoff = Instance.new("TextButton")
  15. local ergoff = Instance.new("TextButton")
  16. local ergon = Instance.new("TextButton")
  17. local opFrame = Instance.new("Frame")
  18. local op = Instance.new("TextButton")
  19. local defense = false
  20. local speed = false
  21. local energy = false
  22. --Properties:
  23. lostburger13dz.Name = "lostburger13dz"
  24. lostburger13dz.Parent = game.CoreGui
  25. lostburger13dz.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  26.  
  27. mainFrame.Name = "mainFrame"
  28. mainFrame.Parent = lostburger13dz
  29. mainFrame.Active = true
  30. mainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  31. mainFrame.Position = UDim2.new(0.705526173, 0, 0.547318697, 0)
  32. mainFrame.Size = UDim2.new(0, 237, 0, 177)
  33. mainFrame.Draggable = true
  34.  
  35. title.Name = "title"
  36. title.Parent = mainFrame
  37. title.Active = true
  38. title.BackgroundColor3 = Color3.new(0, 0, 0)
  39. title.Size = UDim2.new(0, 224, 0, 24)
  40. title.Font = Enum.Font.GothamBlack
  41. title.Text = "DZ Ultimate Gui by lostburger13"
  42. title.TextColor3 = Color3.new(1, 1, 1)
  43. title.TextSize = 14
  44.  
  45. mini.Name = "mini"
  46. mini.Parent = mainFrame
  47. mini.BackgroundColor3 = Color3.new(0, 0, 0)
  48. mini.Position = UDim2.new(0.945147693, 0, 0, 0)
  49. mini.Size = UDim2.new(0, 13, 0, 24)
  50. mini.Font = Enum.Font.GothamBlack
  51. mini.Text = "-"
  52. mini.TextColor3 = Color3.new(1, 1, 1)
  53. mini.TextSize = 14
  54.  
  55. sp.Name = "sp"
  56. sp.Parent = mainFrame
  57. sp.Active = true
  58. sp.BackgroundColor3 = Color3.new(1, 1, 1)
  59. sp.BorderSizePixel = 0
  60. sp.Position = UDim2.new(0.0506329127, 0, 0.457627118, 0)
  61. sp.Size = UDim2.new(0, 92, 0, 39)
  62. sp.Font = Enum.Font.GothamBlack
  63. sp.Text = "Speed:"
  64. sp.TextColor3 = Color3.new(0, 0, 0)
  65. sp.TextScaled = true
  66. sp.TextSize = 14
  67. sp.TextWrapped = true
  68.  
  69. def.Name = "def"
  70. def.Parent = mainFrame
  71. def.Active = true
  72. def.BackgroundColor3 = Color3.new(1, 1, 1)
  73. def.BorderSizePixel = 0
  74. def.Position = UDim2.new(0.0506329127, 0, 0.203389794, 0)
  75. def.Size = UDim2.new(0, 92, 0, 39)
  76. def.Font = Enum.Font.GothamBlack
  77. def.Text = "Defense:"
  78. def.TextColor3 = Color3.new(0, 0, 0)
  79. def.TextScaled = true
  80. def.TextSize = 14
  81. def.TextWrapped = true
  82.  
  83. erg.Name = "erg"
  84. erg.Parent = mainFrame
  85. erg.Active = true
  86. erg.BackgroundColor3 = Color3.new(1, 1, 1)
  87. erg.BorderSizePixel = 0
  88. erg.Position = UDim2.new(0.0506329127, 0, 0.711864412, 0)
  89. erg.Size = UDim2.new(0, 92, 0, 39)
  90. erg.Font = Enum.Font.GothamBlack
  91. erg.Text = "Energy:"
  92. erg.TextColor3 = Color3.new(0, 0, 0)
  93. erg.TextScaled = true
  94. erg.TextSize = 14
  95. erg.TextWrapped = true
  96.  
  97. defon.Name = "defon"
  98. defon.Parent = mainFrame
  99. defon.BackgroundColor3 = Color3.new(1, 1, 1)
  100. defon.Position = UDim2.new(0.506329119, 0, 0.203389823, 0)
  101. defon.Size = UDim2.new(0, 45, 0, 39)
  102. defon.Font = Enum.Font.GothamBlack
  103. defon.Text = "On"
  104. defon.TextColor3 = Color3.new(0, 0, 0)
  105. defon.TextScaled = true
  106. defon.TextSize = 14
  107. defon.TextWrapped = true
  108.  
  109. defoff.Name = "defoff"
  110. defoff.Parent = mainFrame
  111. defoff.BackgroundColor3 = Color3.new(1, 1, 1)
  112. defoff.Position = UDim2.new(0.755274236, 0, 0.203389823, 0)
  113. defoff.Size = UDim2.new(0, 45, 0, 39)
  114. defoff.Font = Enum.Font.GothamBlack
  115. defoff.Text = "Off"
  116. defoff.TextColor3 = Color3.new(0, 0, 0)
  117. defoff.TextScaled = true
  118. defoff.TextSize = 14
  119. defoff.TextWrapped = true
  120.  
  121. spon.Name = "spon"
  122. spon.Parent = mainFrame
  123. spon.BackgroundColor3 = Color3.new(1, 1, 1)
  124. spon.Position = UDim2.new(0.506329119, 0, 0.457627118, 0)
  125. spon.Size = UDim2.new(0, 45, 0, 45)
  126. spon.Font = Enum.Font.GothamBlack
  127. spon.Text = "On"
  128. spon.TextColor3 = Color3.new(0, 0, 0)
  129. spon.TextScaled = true
  130. spon.TextSize = 14
  131. spon.TextWrapped = true
  132.  
  133. spoff.Name = "spoff"
  134. spoff.Parent = mainFrame
  135. spoff.BackgroundColor3 = Color3.new(1, 1, 1)
  136. spoff.Position = UDim2.new(0.755274236, 0, 0.457627118, 0)
  137. spoff.Size = UDim2.new(0, 45, 0, 45)
  138. spoff.Font = Enum.Font.GothamBlack
  139. spoff.Text = "Off"
  140. spoff.TextColor3 = Color3.new(0, 0, 0)
  141. spoff.TextScaled = true
  142. spoff.TextSize = 14
  143. spoff.TextWrapped = true
  144.  
  145. ergoff.Name = "ergoff"
  146. ergoff.Parent = mainFrame
  147. ergoff.BackgroundColor3 = Color3.new(1, 1, 1)
  148. ergoff.Position = UDim2.new(0.755274236, 0, 0.745762706, 0)
  149. ergoff.Size = UDim2.new(0, 45, 0, 33)
  150. ergoff.Font = Enum.Font.GothamBlack
  151. ergoff.Text = "Off"
  152. ergoff.TextColor3 = Color3.new(0, 0, 0)
  153. ergoff.TextScaled = true
  154. ergoff.TextSize = 14
  155. ergoff.TextWrapped = true
  156.  
  157. ergon.Name = "ergon"
  158. ergon.Parent = mainFrame
  159. ergon.BackgroundColor3 = Color3.new(1, 1, 1)
  160. ergon.Position = UDim2.new(0.50632906, 0, 0.745762706, 0)
  161. ergon.Size = UDim2.new(0, 45, 0, 33)
  162. ergon.Font = Enum.Font.GothamBlack
  163. ergon.Text = "On"
  164. ergon.TextColor3 = Color3.new(0, 0, 0)
  165. ergon.TextScaled = true
  166. ergon.TextSize = 14
  167. ergon.TextWrapped = true
  168.  
  169. opFrame.Name = "opFrame"
  170. opFrame.Parent = lostburger13dz
  171. opFrame.Active = true
  172. opFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  173. opFrame.BackgroundTransparency = 50
  174. opFrame.Position = UDim2.new(0, 0, 0.728706598, 0)
  175. opFrame.Size = UDim2.new(0, 100, 0, 30)
  176.  
  177. op.Name = "op"
  178. op.Parent = opFrame
  179. op.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  180. op.Position = UDim2.new(0, 0, 0.366669893, 0)
  181. op.Size = UDim2.new(0, 102, 0, 36)
  182. op.Font = Enum.Font.GothamBlack
  183. op.Text = "Open"
  184. op.TextColor3 = Color3.new(0, 0, 0)
  185. op.TextScaled = true
  186. op.TextSize = 14
  187. op.TextWrapped = true
  188. op.Draggable = true
  189. -- Scripts:
  190.  
  191. opFrame.Visible = false
  192. mainFrame.Visible = true
  193.  
  194. defon.BackgroundColor3 = Color3.new(255,0, 0) -- red
  195. defoff.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  196. spon.BackgroundColor3 = Color3.new(255,0, 0) -- red
  197. spoff.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  198. ergon.BackgroundColor3 = Color3.new(255,0, 0) -- red
  199. ergoff.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  200.  
  201. mini.MouseButton1Click:connect(function()
  202. opFrame.Visible = true
  203. mainFrame.Visible = false
  204. end)
  205.  
  206. op.MouseButton1Click:connect(function()
  207. opFrame.Visible = false
  208. mainFrame.Visible = true
  209. end)
  210.  
  211.  
  212. defon.MouseButton1Click:connect(function()
  213. defoff.BackgroundColor3 = Color3.new(255,0, 0) -- red
  214. defon.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  215. defense = true
  216.  
  217. while (defense == true) do
  218. wait()
  219. game.ReplicatedStorage.Package.Events.def:InvokeServer()
  220. end
  221. end)
  222.  
  223. defoff.MouseButton1Click:connect(function()
  224. defon.BackgroundColor3 = Color3.new(255,0, 0) -- red
  225. defoff.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  226. defense = false
  227. end)
  228.  
  229.  
  230. spon.MouseButton1Click:connect(function()
  231. spoff.BackgroundColor3 = Color3.new(255,0, 0) -- red
  232. spon.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  233. speed = true
  234.  
  235. while (speed == true) do
  236. wait()
  237. game.ReplicatedStorage.Package.Events.ch:InvokeServer()
  238. game.ReplicatedStorage.Package.Events.cha:InvokeServer()
  239. end
  240. end)
  241.  
  242. spoff.MouseButton1Click:connect(function()
  243. spon.BackgroundColor3 = Color3.new(255,0, 0) -- red
  244. spoff.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  245. speed = false
  246. end)
  247.  
  248. ergon.MouseButton1Click:connect(function()
  249. ergoff.BackgroundColor3 = Color3.new(255,0, 0) -- red
  250. ergon.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  251. energy = true
  252.  
  253. while (energy == true) do
  254. game.ReplicatedStorage.Package.Events.kb:InvokeServer()
  255. wait()
  256. game.ReplicatedStorage.Package.Events.cha:InvokeServer()
  257. end
  258. end)
  259.  
  260. ergoff.MouseButton1Click:connect(function()
  261. ergon.BackgroundColor3 = Color3.new(255,0, 0) -- red
  262. ergoff.BackgroundColor3 = Color3.new(0, 255, 0) -- Green
  263. energy = false
  264. end)
  265. 8 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement