Advertisement
Jezilas

EZGUI for BAGDC

Nov 27th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.44 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ezguirename = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local text = Instance.new("TextButton")
  8. local text_2 = Instance.new("TextButton")
  9. local text_3 = Instance.new("TextButton")
  10. local text_4 = Instance.new("TextButton")
  11. local TextLabel_2 = Instance.new("TextLabel")
  12. local text_5 = Instance.new("TextButton")
  13. local text_6 = Instance.new("TextButton")
  14. --Properties:
  15. ezguirename.Name = "ezguirename"
  16. ezguirename.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. ezguirename.ResetOnSpawn = false
  18.  
  19. Frame.Parent = ezguirename
  20. Frame.Active = true
  21. Frame.BackgroundColor3 = Color3.new(0.403922, 0.403922, 0.403922)
  22. Frame.BorderSizePixel = 0
  23. Frame.Position = UDim2.new(0.644886434, 0, 0.2002552, 0)
  24. Frame.Selectable = true
  25. Frame.Size = UDim2.new(0, 500, 0, 247)
  26.  
  27. TextLabel.Parent = Frame
  28. TextLabel.BackgroundColor3 = Color3.new(0.0470588, 0.219608, 1)
  29. TextLabel.BorderSizePixel = 0
  30. TextLabel.Position = UDim2.new(0, 0, -0.242914975, 0)
  31. TextLabel.Size = UDim2.new(0, 500, 0, 60)
  32. TextLabel.Font = Enum.Font.SourceSans
  33. TextLabel.Text = "ezgui "
  34. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  35. TextLabel.TextScaled = true
  36. TextLabel.TextSize = 14
  37. TextLabel.TextWrapped = true
  38.  
  39. text.Name = "text"
  40. text.Parent = Frame
  41. text.BackgroundColor3 = Color3.new(0.054902, 1, 0.937255)
  42. text.BorderColor3 = Color3.new(0.0196078, 0.392157, 0.368627)
  43. text.BorderSizePixel = 4
  44. text.Position = UDim2.new(0.0672268942, 0, 0.0647773296, 0)
  45. text.Size = UDim2.new(0, 126, 0, 101)
  46. text.Font = Enum.Font.SourceSans
  47. text.Text = "Gun"
  48. text.TextColor3 = Color3.new(0, 0, 0)
  49. text.TextScaled = true
  50. text.TextSize = 14
  51. text.TextWrapped = true
  52.  
  53. text_2.Name = "text"
  54. text_2.Parent = Frame
  55. text_2.BackgroundColor3 = Color3.new(0.054902, 1, 0.937255)
  56. text_2.BorderColor3 = Color3.new(0.0196078, 0.392157, 0.368627)
  57. text_2.BorderSizePixel = 4
  58. text_2.Position = UDim2.new(0.680229723, 0, 0.0647773296, 0)
  59. text_2.Size = UDim2.new(0, 126, 0, 101)
  60. text_2.Font = Enum.Font.SourceSans
  61. text_2.Text = "Cutlass (Sword)"
  62. text_2.TextColor3 = Color3.new(0, 0, 0)
  63. text_2.TextScaled = true
  64. text_2.TextSize = 14
  65. text_2.TextWrapped = true
  66.  
  67. text_3.Name = "text"
  68. text_3.Parent = Frame
  69. text_3.BackgroundColor3 = Color3.new(0.054902, 1, 0.937255)
  70. text_3.BorderColor3 = Color3.new(0.0196078, 0.392157, 0.368627)
  71. text_3.BorderSizePixel = 4
  72. text_3.Position = UDim2.new(0.680229723, 0, 0.530364394, 0)
  73. text_3.Size = UDim2.new(0, 126, 0, 101)
  74. text_3.Font = Enum.Font.SourceSans
  75. text_3.Text = "Spam Block Hats"
  76. text_3.TextColor3 = Color3.new(0, 0, 0)
  77. text_3.TextScaled = true
  78. text_3.TextSize = 14
  79. text_3.TextWrapped = true
  80.  
  81. text_4.Name = "text"
  82. text_4.Parent = Frame
  83. text_4.BackgroundColor3 = Color3.new(0.054902, 1, 0.937255)
  84. text_4.BorderColor3 = Color3.new(0.0196078, 0.392157, 0.368627)
  85. text_4.BorderSizePixel = 4
  86. text_4.Position = UDim2.new(0.0672268867, 0, 0.530364394, 0)
  87. text_4.Size = UDim2.new(0, 126, 0, 101)
  88. text_4.Font = Enum.Font.SourceSans
  89. text_4.Text = "Spam Hats"
  90. text_4.TextColor3 = Color3.new(0, 0, 0)
  91. text_4.TextScaled = true
  92. text_4.TextSize = 14
  93. text_4.TextWrapped = true
  94.  
  95. TextLabel_2.Parent = Frame
  96. TextLabel_2.BackgroundColor3 = Color3.new(0.0470588, 0.219608, 1)
  97. TextLabel_2.BorderSizePixel = 0
  98. TextLabel_2.Position = UDim2.new(0, 0, 1, 0)
  99. TextLabel_2.Size = UDim2.new(0, 500, 0, 60)
  100. TextLabel_2.Font = Enum.Font.SourceSans
  101. TextLabel_2.Text = "Version (1.1)"
  102. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  103. TextLabel_2.TextScaled = true
  104. TextLabel_2.TextSize = 14
  105. TextLabel_2.TextWrapped = true
  106.  
  107. text_5.Name = "text"
  108. text_5.Parent = Frame
  109. text_5.BackgroundColor3 = Color3.new(0.054902, 1, 0.937255)
  110. text_5.BorderColor3 = Color3.new(0.0196078, 0.392157, 0.368627)
  111. text_5.BorderSizePixel = 4
  112. text_5.Position = UDim2.new(0.372229725, 0, 0.064777337, 0)
  113. text_5.Size = UDim2.new(0, 126, 0, 101)
  114. text_5.Font = Enum.Font.SourceSans
  115. text_5.Text = "Car"
  116. text_5.TextColor3 = Color3.new(0, 0, 0)
  117. text_5.TextScaled = true
  118. text_5.TextSize = 14
  119. text_5.TextWrapped = true
  120.  
  121. text_6.Name = "text"
  122. text_6.Parent = Frame
  123. text_6.BackgroundColor3 = Color3.new(0.054902, 1, 0.937255)
  124. text_6.BorderColor3 = Color3.new(0.0196078, 0.392157, 0.368627)
  125. text_6.BorderSizePixel = 4
  126. text_6.Position = UDim2.new(0.372229725, 0, 0.530364394, 0)
  127. text_6.Size = UDim2.new(0, 126, 0, 101)
  128. text_6.Font = Enum.Font.SourceSans
  129. text_6.Text = "Magic Carpet (2 seats)"
  130. text_6.TextColor3 = Color3.new(0, 0, 0)
  131. text_6.TextScaled = true
  132. text_6.TextSize = 14
  133. text_6.TextWrapped = true
  134. -- Scripts:
  135. function SCRIPT_CWXU90_FAKESCRIPT() -- ezguirename.LocalScript
  136.     getfenv().script = Instance.new('LocalScript', ezguirename)
  137.  
  138.     frame = script.Parent.Frame  --get the frame object
  139.     frame.Draggable = true
  140.  
  141. end
  142. coroutine.resume(coroutine.create(SCRIPT_CWXU90_FAKESCRIPT))
  143. function SCRIPT_LWZA88_FAKESCRIPT() -- text.LocalScript
  144.     getfenv().script = Instance.new('LocalScript', text)
  145.  
  146.     script.Parent.MouseButton1Click:connect(function()
  147.         game.Workspace.BuyTools:FireServer("Pirate Gun"  ,0)
  148.     end)
  149.  
  150. end
  151. coroutine.resume(coroutine.create(SCRIPT_LWZA88_FAKESCRIPT))
  152. function SCRIPT_UBYX67_FAKESCRIPT() -- text_2.LocalScript
  153.     getfenv().script = Instance.new('LocalScript', text_2)
  154.  
  155.     script.Parent.MouseButton1Click:connect(function()
  156.         game.Workspace.BuyTools:FireServer("Cutlass", 0)
  157.     end)
  158.  
  159. end
  160. coroutine.resume(coroutine.create(SCRIPT_UBYX67_FAKESCRIPT))
  161. function SCRIPT_SJES69_FAKESCRIPT() -- text_3.LocalScript
  162.     getfenv().script = Instance.new('LocalScript', text_3)
  163.  
  164.     script.Parent.MouseButton1Click:connect(function()
  165.         for i=1,500 do
  166.     local A_1 =
  167.     {
  168.        [1] = "Wear",
  169.        [2] = "15857936",
  170.        [3] = "Hats"
  171.     }
  172.     local Event = game:GetService("ReplicatedStorage").WearItem
  173.     Event:FireServer(A_1)
  174.     wait(0.1)
  175.     for index, child in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  176.     if child.ClassName == "Hat" or child.ClassName == "Accessory" then
  177.     if child.Handle:FindFirstChild("Mesh") then
  178.     child.Handle.Mesh.Parent = nil
  179.     child.Parent = game.Workspace
  180.     end
  181.     end
  182.     end
  183.     end
  184.     end)
  185.  
  186. end
  187. coroutine.resume(coroutine.create(SCRIPT_SJES69_FAKESCRIPT))
  188. function SCRIPT_PCQM76_FAKESCRIPT() -- text_4.LocalScript
  189.     getfenv().script = Instance.new('LocalScript', text_4)
  190.  
  191.     script.Parent.MouseButton1Click:connect(function()
  192.         for i=1,500 do -- change 500 to any value of hats you want to spawn!
  193.     local A_1 =
  194.     {
  195.     [1] = "Wear",
  196.     [2] = "100427922",
  197.     [3] = "Hats"
  198.     }
  199.     local Event = game:GetService("ReplicatedStorage").WearItem
  200.     Event:FireServer(A_1)
  201.     wait(0.1)
  202.    
  203.     for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do
  204.     if v:IsA("Hat") or v:IsA("Accessory") then
  205.     v.Parent = game:GetService("Workspace")
  206.     end
  207.     end
  208.     end
  209.    
  210.     end)
  211.  
  212. end
  213. coroutine.resume(coroutine.create(SCRIPT_PCQM76_FAKESCRIPT))
  214. function SCRIPT_DMOR74_FAKESCRIPT() -- text_5.LocalScript
  215.     getfenv().script = Instance.new('LocalScript', text_5)
  216.  
  217.     script.Parent.MouseButton1Click:connect(function()
  218.     game.Workspace.BuyTools:FireServer("CoolCar", 0)
  219.     end)
  220.  
  221. end
  222. coroutine.resume(coroutine.create(SCRIPT_DMOR74_FAKESCRIPT))
  223. function SCRIPT_DMTY74_FAKESCRIPT() -- text_6.LocalScript
  224.     getfenv().script = Instance.new('LocalScript', text_6)
  225.  
  226.     script.Parent.MouseButton1Click:connect(function()
  227.        game.Workspace.BuyTools:FireServer("TwoSeaterRainbowMagicCarpet", 0)
  228.    
  229.     end)
  230.  
  231. end
  232. coroutine.resume(coroutine.create(SCRIPT_DMTY74_FAKESCRIPT))
  233. --v3rmillon user (Jezilas)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement