HowAreYu

LEGOHAX GUI

Dec 28th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Objects
  2.  
  3. local legohaxv15 = Instance.new("ScreenGui")
  4. local Box = Instance.new("Frame")
  5. local CmdsContainer = Instance.new("Frame")
  6. local Victim = Instance.new("TextBox")
  7. local God = Instance.new("TextButton")
  8. local Shutdown = Instance.new("TextButton")
  9. local Topbar = Instance.new("Frame")
  10. local TextLabel = Instance.new("TextLabel")
  11. local MovingBar = Instance.new("Frame")
  12. local Triggers = Instance.new("TextButton")
  13. local Settings = Instance.new("TextButton")
  14. local Credits = Instance.new("TextButton")
  15. local Commands = Instance.new("TextButton")
  16. local RemotesContainer = Instance.new("Frame")
  17. local Btools = Instance.new("TextButton")
  18. local kill_Aura = Instance.new("TextButton")
  19. local BtoolsError = Instance.new("Frame")
  20. local opt = Instance.new("TextLabel")
  21. local k = Instance.new("TextButton")
  22. local Aura_error = Instance.new("Frame")
  23. local opt_2 = Instance.new("TextLabel")
  24. local kk = Instance.new("TextButton")
  25. local Topbar2 = Instance.new("Frame")
  26. local Exit = Instance.new("TextButton")
  27. local Hide = Instance.new("TextButton")
  28. local Open = Instance.new("TextButton")
  29.  
  30. -- Properties
  31.  
  32. legohaxv15.Name = "legohax v1.5"
  33. legohaxv15.Parent = game.CoreGui
  34.  
  35. Box.Name = "Box"
  36. Box.Parent = legohaxv15
  37. Box.Active = true
  38. Box.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  39. Box.BorderSizePixel = 0
  40. Box.Draggable = true
  41. Box.Position = UDim2.new(0, 204, 0, 109)
  42. Box.Size = UDim2.new(0, 454, 0, 373)
  43.  
  44. CmdsContainer.Name = "CmdsContainer"
  45. CmdsContainer.Parent = Box
  46. CmdsContainer.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  47. CmdsContainer.BackgroundTransparency = 1
  48. CmdsContainer.BorderSizePixel = 0
  49. CmdsContainer.Position = UDim2.new(0, 0, 0, 10)
  50. CmdsContainer.Size = UDim2.new(0, 454, 0, 363)
  51.  
  52. Victim.Name = "Victim"
  53. Victim.Parent = CmdsContainer
  54. Victim.BackgroundColor3 = Color3.new(0.92549, 0.92549, 0.92549)
  55. Victim.BorderSizePixel = 0
  56. Victim.Position = UDim2.new(0, 104, 0, 87)
  57. Victim.Size = UDim2.new(0, 247, 0, 60)
  58. Victim.Font = Enum.Font.Arial
  59. Victim.FontSize = Enum.FontSize.Size18
  60. Victim.Text = " "
  61. Victim.TextSize = 16
  62. Victim.TextYAlignment = Enum.TextYAlignment.Top
  63.  
  64. God.Name = "God"
  65. God.Parent = CmdsContainer
  66. God.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  67. God.BorderSizePixel = 0
  68. God.Position = UDim2.new(0, 20, 0, 182)
  69. God.Size = UDim2.new(0, 94, 0, 36)
  70. God.Font = Enum.Font.SourceSansLight
  71. God.FontSize = Enum.FontSize.Size18
  72. God.Text = "God"
  73. God.TextColor3 = Color3.new(0, 0, 0)
  74. God.TextSize = 16
  75.  
  76. Shutdown.Name = "Shutdown"
  77. Shutdown.Parent = CmdsContainer
  78. Shutdown.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  79. Shutdown.BorderSizePixel = 0
  80. Shutdown.Position = UDim2.new(0, 133, 0, 182)
  81. Shutdown.Size = UDim2.new(0, 94, 0, 36)
  82. Shutdown.Font = Enum.Font.SourceSansLight
  83. Shutdown.FontSize = Enum.FontSize.Size18
  84. Shutdown.Text = "Shutdown"
  85. Shutdown.TextColor3 = Color3.new(0, 0, 0)
  86. Shutdown.TextSize = 16
  87.  
  88. Topbar.Name = "Topbar"
  89. Topbar.Parent = Box
  90. Topbar.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  91. Topbar.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  92. Topbar.BorderSizePixel = 0
  93. Topbar.Position = UDim2.new(0, 0, 0, 16)
  94. Topbar.Size = UDim2.new(0, 454, 0, 70)
  95.  
  96. TextLabel.Parent = Topbar
  97. TextLabel.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  98. TextLabel.BorderSizePixel = 0
  99. TextLabel.Position = UDim2.new(0, 0, 0, -4)
  100. TextLabel.Size = UDim2.new(0, 454, 0, 39)
  101. TextLabel.Font = Enum.Font.SourceSansLight
  102. TextLabel.FontSize = Enum.FontSize.Size24
  103. TextLabel.Text = "legohax v1.5"
  104. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  105. TextLabel.TextSize = 24
  106.  
  107. MovingBar.Name = "MovingBar"
  108. MovingBar.Parent = Topbar
  109. MovingBar.BackgroundColor3 = Color3.new(0, 0, 0)
  110. MovingBar.BorderSizePixel = 0
  111. MovingBar.Position = UDim2.new(0, 19, 0, 67)
  112. MovingBar.Size = UDim2.new(0, 100, 0, 3)
  113.  
  114. Triggers.Name = "Triggers"
  115. Triggers.Parent = Topbar
  116. Triggers.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  117. Triggers.BackgroundTransparency = 1
  118. Triggers.BorderSizePixel = 0
  119. Triggers.Position = UDim2.new(0, 134, 0, 34)
  120. Triggers.Size = UDim2.new(0, 109, 0, 36)
  121. Triggers.Font = Enum.Font.SourceSansLight
  122. Triggers.FontSize = Enum.FontSize.Size24
  123. Triggers.Text = "Remote triggers"
  124. Triggers.TextColor3 = Color3.new(0, 0, 0)
  125. Triggers.TextSize = 20
  126.  
  127. Settings.Name = "Settings"
  128. Settings.Parent = Topbar
  129. Settings.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  130. Settings.BackgroundTransparency = 1
  131. Settings.BorderSizePixel = 0
  132. Settings.Position = UDim2.new(0, 248, 0, 34)
  133. Settings.Size = UDim2.new(0, 98, 0, 36)
  134. Settings.Font = Enum.Font.SourceSansLight
  135. Settings.FontSize = Enum.FontSize.Size24
  136. Settings.Text = "Settings"
  137. Settings.TextColor3 = Color3.new(0, 0, 0)
  138. Settings.TextSize = 20
  139.  
  140. Credits.Name = "Credits"
  141. Credits.Parent = Topbar
  142. Credits.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  143. Credits.BackgroundTransparency = 1
  144. Credits.BorderSizePixel = 0
  145. Credits.Position = UDim2.new(0, 340, 0, 34)
  146. Credits.Size = UDim2.new(0, 86, 0, 36)
  147. Credits.Font = Enum.Font.SourceSansLight
  148. Credits.FontSize = Enum.FontSize.Size24
  149. Credits.Text = "Credits"
  150. Credits.TextColor3 = Color3.new(0, 0, 0)
  151. Credits.TextSize = 20
  152.  
  153. Commands.Name = "Commands"
  154. Commands.Parent = Topbar
  155. Commands.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  156. Commands.BackgroundTransparency = 1
  157. Commands.BorderSizePixel = 0
  158. Commands.Position = UDim2.new(0, 22, 0, 34)
  159. Commands.Size = UDim2.new(0, 94, 0, 36)
  160. Commands.Font = Enum.Font.SourceSansLight
  161. Commands.FontSize = Enum.FontSize.Size24
  162. Commands.Text = "Commands"
  163. Commands.TextColor3 = Color3.new(0, 0, 0)
  164. Commands.TextSize = 20
  165.  
  166. RemotesContainer.Name = "RemotesContainer"
  167. RemotesContainer.Parent = Box
  168. RemotesContainer.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  169. RemotesContainer.BackgroundTransparency = 1
  170. RemotesContainer.BorderSizePixel = 0
  171. RemotesContainer.Size = UDim2.new(0, 454, 0, 363)
  172. RemotesContainer.Visible = false
  173.  
  174. Btools.Name = "Btools"
  175. Btools.Parent = RemotesContainer
  176. Btools.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  177. Btools.BorderSizePixel = 0
  178. Btools.Position = UDim2.new(0, 32, 0, 94)
  179. Btools.Size = UDim2.new(0, 94, 0, 36)
  180. Btools.Font = Enum.Font.SourceSansLight
  181. Btools.FontSize = Enum.FontSize.Size18
  182. Btools.Text = "Cafe btools"
  183. Btools.TextColor3 = Color3.new(0, 0, 0)
  184. Btools.TextSize = 16
  185.  
  186. kill_Aura.Name = "kill_Aura"
  187. kill_Aura.Parent = RemotesContainer
  188. kill_Aura.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  189. kill_Aura.BorderSizePixel = 0
  190. kill_Aura.Position = UDim2.new(0, 133, 0, 94)
  191. kill_Aura.Size = UDim2.new(0, 115, 0, 36)
  192. kill_Aura.Font = Enum.Font.SourceSansLight
  193. kill_Aura.FontSize = Enum.FontSize.Size18
  194. kill_Aura.Text = "Prison life kill aura"
  195. kill_Aura.TextColor3 = Color3.new(0, 0, 0)
  196. kill_Aura.TextSize = 16
  197.  
  198. BtoolsError.Name = "BtoolsError"
  199. BtoolsError.Parent = Box
  200. BtoolsError.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  201. BtoolsError.BackgroundTransparency = 1
  202. BtoolsError.BorderSizePixel = 0
  203. BtoolsError.Position = UDim2.new(0, 0, 0, 10)
  204. BtoolsError.Size = UDim2.new(0, 454, 0, 363)
  205. BtoolsError.Visible = false
  206.  
  207. opt.Name = "opt"
  208. opt.Parent = BtoolsError
  209. opt.BackgroundColor3 = Color3.new(1, 1, 1)
  210. opt.BackgroundTransparency = 1
  211. opt.Position = UDim2.new(0, 0, 0, 81)
  212. opt.Size = UDim2.new(0, 454, 0, 148)
  213. opt.Font = Enum.Font.SourceSansLight
  214. opt.FontSize = Enum.FontSize.Size14
  215. opt.Text = "Error: This game does not support FE Btools"
  216. opt.TextColor3 = Color3.new(1, 1, 1)
  217. opt.TextScaled = true
  218. opt.TextSize = 14
  219. opt.TextWrapped = true
  220. opt.TextXAlignment = Enum.TextXAlignment.Left
  221. opt.TextYAlignment = Enum.TextYAlignment.Top
  222.  
  223. k.Name = "k"
  224. k.Parent = BtoolsError
  225. k.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  226. k.BorderSizePixel = 0
  227. k.Position = UDim2.new(0, 107, 0, 254)
  228. k.Size = UDim2.new(0, 240, 0, 52)
  229. k.Font = Enum.Font.SourceSansLight
  230. k.FontSize = Enum.FontSize.Size24
  231. k.Text = "Proceed"
  232. k.TextColor3 = Color3.new(0, 0, 0)
  233. k.TextSize = 20
  234.  
  235. Aura_error.Name = "Aura_error"
  236. Aura_error.Parent = Box
  237. Aura_error.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  238. Aura_error.BackgroundTransparency = 1
  239. Aura_error.BorderSizePixel = 0
  240. Aura_error.Position = UDim2.new(0, 0, 0, 10)
  241. Aura_error.Size = UDim2.new(0, 454, 0, 363)
  242. Aura_error.Visible = false
  243.  
  244. opt_2.Name = "opt"
  245. opt_2.Parent = Aura_error
  246. opt_2.BackgroundColor3 = Color3.new(1, 1, 1)
  247. opt_2.BackgroundTransparency = 1
  248. opt_2.Position = UDim2.new(0, 0, 0, 81)
  249. opt_2.Size = UDim2.new(0, 454, 0, 148)
  250. opt_2.Font = Enum.Font.SourceSansLight
  251. opt_2.FontSize = Enum.FontSize.Size14
  252. opt_2.Text = "Error: This command is only used for prison life."
  253. opt_2.TextColor3 = Color3.new(1, 1, 1)
  254. opt_2.TextScaled = true
  255. opt_2.TextSize = 14
  256. opt_2.TextWrapped = true
  257. opt_2.TextXAlignment = Enum.TextXAlignment.Left
  258. opt_2.TextYAlignment = Enum.TextYAlignment.Top
  259.  
  260. kk.Name = "kk"
  261. kk.Parent = Aura_error
  262. kk.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  263. kk.BorderSizePixel = 0
  264. kk.Position = UDim2.new(0, 107, 0, 254)
  265. kk.Size = UDim2.new(0, 240, 0, 52)
  266. kk.Font = Enum.Font.SourceSansLight
  267. kk.FontSize = Enum.FontSize.Size24
  268. kk.Text = "Proceed"
  269. kk.TextColor3 = Color3.new(0, 0, 0)
  270. kk.TextSize = 20
  271.  
  272. Topbar2.Name = "Topbar2"
  273. Topbar2.Parent = Box
  274. Topbar2.BackgroundColor3 = Color3.new(0.772549, 0.772549, 0.772549)
  275. Topbar2.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  276. Topbar2.BorderSizePixel = 0
  277. Topbar2.Size = UDim2.new(0, 454, 0, 19)
  278.  
  279. Exit.Name = "Exit"
  280. Exit.Parent = Topbar2
  281. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  282. Exit.BackgroundTransparency = 1
  283. Exit.Position = UDim2.new(0, 430, 0, 0)
  284. Exit.Size = UDim2.new(0, 24, 0, 19)
  285. Exit.Font = Enum.Font.SourceSansLight
  286. Exit.FontSize = Enum.FontSize.Size24
  287. Exit.Text = "x"
  288. Exit.TextSize = 20
  289.  
  290. Hide.Name = "Hide"
  291. Hide.Parent = Topbar2
  292. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  293. Hide.BackgroundTransparency = 1
  294. Hide.Position = UDim2.new(0, 408, 0, 0)
  295. Hide.Size = UDim2.new(0, 24, 0, 19)
  296. Hide.Font = Enum.Font.SourceSansLight
  297. Hide.FontSize = Enum.FontSize.Size24
  298. Hide.Text = "-"
  299. Hide.TextSize = 20
  300.  
  301. Open.Name = "Open"
  302. Open.Parent = legohaxv15
  303. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  304. Open.BackgroundTransparency = 0.69999998807907
  305. Open.Position = UDim2.new(0, -100, 0, 204)
  306. Open.Size = UDim2.new(0, 57, 0, 50)
  307. Open.Font = Enum.Font.SourceSans
  308. Open.FontSize = Enum.FontSize.Size18
  309. Open.Text = "Open"
  310. Open.TextColor3 = Color3.new(1, 1, 1)
  311. Open.TextSize = 18
  312.  
  313.  
  314. Commands.MouseButton1Down:connect(function()
  315. MovingBar:TweenPosition(UDim2.new(0, 19, 0, 67), 'Out', 'Quad', 0.2, true)
  316. RemotesContainer.Visible = false
  317. CmdsContainer.Visible = true
  318. BtoolsError.Visible = false
  319. Aura_error.Visible = false
  320. end)
  321.  
  322. Triggers.MouseButton1Down:connect(function()
  323. MovingBar:TweenPosition(UDim2.new(0, 140, 0, 67), 'Out', 'Quad', 0.2, true)
  324. RemotesContainer.Visible = true
  325. CmdsContainer.Visible = false
  326. BtoolsError.Visible = false
  327. Aura_error.Visible = false
  328. end)
  329.  
  330.  
  331. Shutdown.MouseButton1Down:connect(function()
  332. while wait() do
  333. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  334. if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  335. for _,x in pairs(v.Character.Head:GetChildren()) do
  336. if x:IsA'Sound' then x.Playing = true end
  337. end
  338. end
  339. end
  340. end
  341. end)
  342.  
  343. Btools.MouseButton1Down:connect(function()
  344. maind = nil
  345. if workspace:FindFirstChild'GiveSystem' then
  346. if workspace.GiveSystem:FindFirstChild'GiveItem' then
  347. maind = workspace.GiveSystem.GiveItem
  348. end
  349. end
  350. if workspace:FindFirstChild'HandToCentre' then
  351. if workspace.HandToCentre:FindFirstChild'SendItem' then
  352. maind = workspace.HandToCentre.SendItem
  353. end
  354. end
  355. if maind == nil then
  356. RemotesContainer.Visible = false
  357. CmdsContainer.Visible = false
  358. BtoolsError.Visible = true
  359. Aura_error.Visible = false
  360. return
  361. end
  362. tool = Instance.new'Tool'
  363. me = game:GetService'Players'.LocalPlayer
  364. tool.RequiresHandle = false
  365. tool.TextureId = 'http://www.roblox.com/asset/?id=12223874'
  366. tool.Name = 'ya like jazz?'
  367. tool.Parent = me.Backpack
  368. buttonf = nil
  369. tool.Equipped:connect(function()
  370. local m = game:GetService'Players'.LocalPlayer:GetMouse()
  371. m.Icon = 'rbxasset://textures/HammerCursor.png'
  372. buttonf = m.Button1Down:connect(function()
  373. if m.Target == nil then return end
  374. local ob = m.Target
  375. if ob:IsA'BasePart' or ob:IsA'WedgePart' then
  376. if ob:IsDescendantOf(me.Character) then return end
  377. m.Icon = 'rbxasset://textures/HammerOverCursor.png'
  378. local ex = Instance.new'Explosion'
  379. ex.BlastRadius = 0
  380. ex.Position = ob.Position
  381. ex.Parent = workspace
  382. maind:FireServer(workspace, ob)
  383. wait(0.3)
  384. m.Icon = 'rbxasset://textures/HammerCursor.png'
  385. end
  386. end)
  387. end)
  388. tool.Unequipped:connect(function()
  389. if buttonf ~= nil then
  390. buttonf:Disconnect()
  391. buttonf = nil
  392. end
  393. local m = game:GetService'Players'.LocalPlayer:GetMouse()
  394. m.Icon = ''
  395. end)
  396. end)
  397.  
  398. God.MouseButton1Down:connect(function()
  399. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  400. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  401. l.Parent = game.Players.LocalPlayer.Character
  402. l.Name = "Humanoid"
  403. wait(0.1)
  404. game.Players.LocalPlayer.Character["1"]:Destroy()
  405. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  406. game.Players.LocalPlayer.Character.Animate.Disabled = true
  407. wait(0.1)
  408. game.Players.LocalPlayer.Character.Animate.Disabled = false
  409. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  410. end)
  411.  
  412. kill_Aura.MouseButton1Down:connect(function()
  413. if game.ReplicatedStorage:FindFirstChild("meleeEvent") then
  414. while wait(0.1) do
  415. for i, plr in pairs(game.Players:GetChildren()) do
  416. if plr.Name ~= game.Players.LocalPlayer.Name then
  417. for i = 1, 10 do
  418. game.ReplicatedStorage.meleeEvent:FireServer(plr)
  419. end
  420. end
  421. end
  422. end
  423. else
  424. RemotesContainer.Visible = false
  425. CmdsContainer.Visible = false
  426. BtoolsError.Visible = false
  427. Aura_error.Visible = true
  428. end
  429. end)
  430.  
  431. Hide.MouseButton1Down:connect(function()
  432. Box:TweenPosition(UDim2.new(0, 204, 0, -697), 'Out', 'Quad', 1, true)
  433. wait(2)
  434. Box.Visible = false
  435. Open:TweenPosition(UDim2.new(0, 0, 0, 204), 'Out', 'Quad', 1, true)
  436. wait(0.2)
  437. end)
  438.  
  439. Open.MouseButton1Down:connect(function()
  440. Box:TweenPosition(UDim2.new(0, 204 ,0, 109), 'In', 'Quad', 1, true)
  441. Box.Visible = true
  442. Open:TweenPosition(UDim2.new(0, -100, 0, 204), 'Out', 'Quad', 2, true)
  443. wait(0.2)
  444. end)
  445.  
  446.  
  447. k.MouseButton1Down:connect(function()
  448. RemotesContainer.Visible = true
  449. CmdsContainer.Visible = false
  450. BtoolsError.Visible = false
  451. end)
  452.  
  453. kk.MouseButton1Down:connect(function()
  454. RemotesContainer.Visible = true
  455. CmdsContainer.Visible = false
  456. Aura_error.Visible = false
  457. end)
  458.  
  459. Exit.MouseButton1Down:connect(function()
  460. Box:TweenPosition(UDim2.new(0, 204, 0, 697), 'Out', 'Quad', 1, true)
  461. wait(2)
  462. legohaxv15:Destroy()
  463. end)
Add Comment
Please, Sign In to add comment