Advertisement
duckyexploitsV2

2 Player Superhero Tycoon GUI Script

May 9th, 2020
29,606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.72 KB | None | 0 0
  1. --Subscribe to Ducky Exploits on YouTube
  2. --Script made by ScriptX#3145 on Discord
  3. function GetPlayer(String)
  4.    local Found = {}
  5.    local strl = String:lower()
  6.    if strl == "all" then
  7.        for i,v in pairs(game.Players:GetPlayers()) do
  8.            table.insert(Found,v.Name)
  9.        end
  10.    elseif strl == "others" then
  11.        for i,v in pairs(game.Players:GetPlayers()) do
  12.            if v.Name ~= game.Players.LocalPlayer.Name then
  13.                table.insert(Found,v.Name)
  14.            end
  15.        end  
  16. elseif strl == "me" then
  17.        for i,v in pairs(game.Players:GetPlayers()) do
  18.            if v.Name == game.Players.LocalPlayer.Name then
  19.                table.insert(Found,v.Name)
  20.            end
  21.        end  
  22.    else
  23.        for i,v in pairs(game.Players:GetPlayers()) do
  24.            if v.Name:lower():sub(1, #String) == String:lower() then
  25.                table.insert(Found,v.Name)
  26.            end
  27.        end    
  28.    end
  29.    return Found    
  30. end
  31.  
  32.  
  33. local ScreenGui = Instance.new("ScreenGui")
  34. local Frame = Instance.new("Frame")
  35. local TextBox = Instance.new("TextBox")
  36. local killbtn = Instance.new("TextButton")
  37. local ragdollbtn = Instance.new("TextButton")
  38. local nkdbtn = Instance.new("TextButton")
  39. local punishbtn = Instance.new("TextButton")
  40. local kickbtn = Instance.new("TextButton")
  41. local banbtn = Instance.new("TextButton")
  42. local btlsbtn = Instance.new("TextButton")
  43. local minebtn = Instance.new("TextButton")
  44. local gunbtn = Instance.new("TextButton")
  45. local TextLabel = Instance.new("TextLabel")
  46. local nlmbsbtn = Instance.new("TextButton")
  47. --Properties:
  48. ScreenGui.Parent = game.CoreGui
  49. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  50.  
  51. Frame.Parent = ScreenGui
  52. Frame.Active = true
  53. Frame.Draggable = true
  54. Frame.BackgroundColor3 = Color3.new(0.239216, 0.505882, 1)
  55. Frame.BackgroundTransparency = 0.6
  56. Frame.BorderSizePixel = 3
  57. Frame.Position = UDim2.new(0.284962386, 0, 0.290381104, 0)
  58. Frame.Size = UDim2.new(0, 299, 0, 317)
  59.  
  60. TextBox.Parent = Frame
  61. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  62. TextBox.BackgroundTransparency = 0.40000000596046
  63. TextBox.Position = UDim2.new(0.101983935, 0, 0.102293611, 0)
  64. TextBox.Size = UDim2.new(0, 236, 0, 36)
  65. TextBox.Font = Enum.Font.SourceSans
  66. TextBox.Text = ""
  67. TextBox.TextColor3 = Color3.new(0, 0, 0)
  68. TextBox.TextSize = 14
  69.  
  70. killbtn.Name = "killbtn"
  71. killbtn.Parent = Frame
  72. killbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  73. killbtn.BackgroundTransparency = 0.40000000596046
  74. killbtn.Position = UDim2.new(0.0374149643, 0, 0.25294295, 0)
  75. killbtn.Size = UDim2.new(0, 126, 0, 33)
  76. killbtn.Font = Enum.Font.SourceSans
  77. killbtn.Text = "Kill"
  78. killbtn.TextColor3 = Color3.new(0, 0, 0)
  79. killbtn.TextScaled = true
  80. killbtn.TextSize = 14
  81. killbtn.TextWrapped = true
  82.  
  83. ragdollbtn.Name = "ragdollbtn"
  84. ragdollbtn.Parent = Frame
  85. ragdollbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  86. ragdollbtn.BackgroundTransparency = 0.40000000596046
  87. ragdollbtn.Position = UDim2.new(0.506802738, 0, 0.25294295, 0)
  88. ragdollbtn.Size = UDim2.new(0, 126, 0, 33)
  89. ragdollbtn.Font = Enum.Font.SourceSans
  90. ragdollbtn.Text = "Ragdoll"
  91. ragdollbtn.TextColor3 = Color3.new(0, 0, 0)
  92. ragdollbtn.TextScaled = true
  93. ragdollbtn.TextSize = 14
  94. ragdollbtn.TextWrapped = true
  95.  
  96. nkdbtn.Name = "nkdbtn"
  97. nkdbtn.Parent = Frame
  98. nkdbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  99. nkdbtn.BackgroundTransparency = 0.40000000596046
  100. nkdbtn.Position = UDim2.new(0.037414968, 0, 0.404260665, 0)
  101. nkdbtn.Size = UDim2.new(0, 126, 0, 33)
  102. nkdbtn.Font = Enum.Font.SourceSans
  103. nkdbtn.Text = "Naked"
  104. nkdbtn.TextColor3 = Color3.new(0, 0, 0)
  105. nkdbtn.TextScaled = true
  106. nkdbtn.TextSize = 14
  107. nkdbtn.TextWrapped = true
  108.  
  109. punishbtn.Name = "punishbtn"
  110. punishbtn.Parent = Frame
  111. punishbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  112. punishbtn.BackgroundTransparency = 0.40000000596046
  113. punishbtn.Position = UDim2.new(0.506802738, 0, 0.404260665, 0)
  114. punishbtn.Size = UDim2.new(0, 126, 0, 33)
  115. punishbtn.Font = Enum.Font.SourceSans
  116. punishbtn.Text = "Punish"
  117. punishbtn.TextColor3 = Color3.new(0, 0, 0)
  118. punishbtn.TextScaled = true
  119. punishbtn.TextSize = 14
  120. punishbtn.TextWrapped = true
  121.  
  122. kickbtn.Name = "kickbtn"
  123. kickbtn.Parent = Frame
  124. kickbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  125. kickbtn.BackgroundTransparency = 0.40000000596046
  126. kickbtn.Position = UDim2.new(0.037414968, 0, 0.544862092, 0)
  127. kickbtn.Size = UDim2.new(0, 126, 0, 33)
  128. kickbtn.Font = Enum.Font.SourceSans
  129. kickbtn.Text = "Kick"
  130. kickbtn.TextColor3 = Color3.new(0, 0, 0)
  131. kickbtn.TextScaled = true
  132. kickbtn.TextSize = 14
  133. kickbtn.TextWrapped = true
  134.  
  135. banbtn.Name = "banbtn"
  136. banbtn.Parent = Frame
  137. banbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  138. banbtn.BackgroundTransparency = 0.40000000596046
  139. banbtn.Position = UDim2.new(0.506802738, 0, 0.544862151, 0)
  140. banbtn.Size = UDim2.new(0, 126, 0, 33)
  141. banbtn.Font = Enum.Font.SourceSans
  142. banbtn.Text = "Ban"
  143. banbtn.TextColor3 = Color3.new(0, 0, 0)
  144. banbtn.TextScaled = true
  145. banbtn.TextSize = 14
  146. banbtn.TextWrapped = true
  147.  
  148. btlsbtn.Name = "btlsbtn"
  149. btlsbtn.Parent = Frame
  150. btlsbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  151. btlsbtn.BackgroundTransparency = 0.40000000596046
  152. btlsbtn.Position = UDim2.new(0.0352308452, 0, 0.679365039, 0)
  153. btlsbtn.Size = UDim2.new(0, 126, 0, 33)
  154. btlsbtn.Font = Enum.Font.SourceSans
  155. btlsbtn.Text = "btools"
  156. btlsbtn.TextColor3 = Color3.new(0, 0, 0)
  157. btlsbtn.TextScaled = true
  158. btlsbtn.TextSize = 14
  159. btlsbtn.TextWrapped = true
  160.  
  161. minebtn.Name = "minebtn"
  162. minebtn.Parent = Frame
  163. minebtn.BackgroundColor3 = Color3.new(1, 1, 1)
  164. minebtn.BackgroundTransparency = 0.40000000596046
  165. minebtn.Position = UDim2.new(0.506802738, 0, 0.828487813, 0)
  166. minebtn.Size = UDim2.new(0, 126, 0, 33)
  167. minebtn.Font = Enum.Font.SourceSans
  168. minebtn.Text = "Mine (C4)"
  169. minebtn.TextColor3 = Color3.new(0, 0, 0)
  170. minebtn.TextScaled = true
  171. minebtn.TextSize = 14
  172. minebtn.TextWrapped = true
  173.  
  174. gunbtn.Name = "gunbtn"
  175. gunbtn.Parent = Frame
  176. gunbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  177. gunbtn.BackgroundTransparency = 0.40000000596046
  178. gunbtn.Position = UDim2.new(0.0352308452, 0, 0.828487873, 0)
  179. gunbtn.Size = UDim2.new(0, 126, 0, 33)
  180. gunbtn.Font = Enum.Font.SourceSans
  181. gunbtn.Text = "Tommy Gun"
  182. gunbtn.TextColor3 = Color3.new(0, 0, 0)
  183. gunbtn.TextScaled = true
  184. gunbtn.TextSize = 14
  185. gunbtn.TextWrapped = true
  186.  
  187. TextLabel.Parent = Frame
  188. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  189. TextLabel.BackgroundTransparency = 0.40000000596046
  190. TextLabel.Size = UDim2.new(0, 298, 0, 21)
  191. TextLabel.Font = Enum.Font.SourceSans
  192. TextLabel.Text = "2 Player Super Hero Tycoon GUI - ScriptX#3145"
  193. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  194. TextLabel.TextScaled = true
  195. TextLabel.TextSize = 14
  196. TextLabel.TextWrapped = true
  197.  
  198. nlmbsbtn.Name = "nlmbsbtn"
  199. nlmbsbtn.Parent = Frame
  200. nlmbsbtn.BackgroundColor3 = Color3.new(1, 1, 1)
  201. nlmbsbtn.BackgroundTransparency = 0.40000000596046
  202. nlmbsbtn.Position = UDim2.new(0.506802738, 0, 0.679365039, 0)
  203. nlmbsbtn.Size = UDim2.new(0, 126, 0, 33)
  204. nlmbsbtn.Font = Enum.Font.SourceSans
  205. nlmbsbtn.Text = "NoLimbs"
  206. nlmbsbtn.TextColor3 = Color3.new(0, 0, 0)
  207. nlmbsbtn.TextScaled = true
  208. nlmbsbtn.TextSize = 14
  209. nlmbsbtn.TextWrapped = true
  210. -- Scripts:
  211. function SCRIPT_JDNF69_FAKESCRIPT() -- killbtn.LocalScript
  212.     local script = Instance.new('LocalScript')
  213.     script.Parent = killbtn
  214.     script.Parent.MouseButton1Click:Connect(function()
  215.        
  216.         local targets = GetPlayer(script.Parent.Parent.TextBox.Text)
  217.        
  218.         for i,v in pairs(targets)do
  219.             spawn(function()
  220.            
  221.                 game.ReplicatedStorage.events.destroyObject:FireServer(game.Players[v].Character.Torso.Neck)
  222.            
  223.             end)
  224.         end
  225.        
  226.     end)
  227.  
  228. end
  229. coroutine.resume(coroutine.create(SCRIPT_JDNF69_FAKESCRIPT))
  230. function SCRIPT_KFFS86_FAKESCRIPT() -- ragdollbtn.LocalScript
  231.     local script = Instance.new('LocalScript')
  232.     script.Parent = ragdollbtn
  233.     script.Parent.MouseButton1Click:Connect(function()
  234.        
  235.         local targets = GetPlayer(script.Parent.Parent.TextBox.Text)
  236.        
  237.         for i,v in pairs(targets)do
  238.             spawn(function()
  239.            
  240.                 game.ReplicatedStorage.events.destroyObject:FireServer(game.Players[v].Character.Humanoid)
  241.            
  242.             end)
  243.         end
  244.        
  245.     end)
  246.  
  247. end
  248. coroutine.resume(coroutine.create(SCRIPT_KFFS86_FAKESCRIPT))
  249. function SCRIPT_LCJY70_FAKESCRIPT() -- nkdbtn.LocalScript
  250.     local script = Instance.new('LocalScript')
  251.     script.Parent = nkdbtn
  252.     script.Parent.MouseButton1Click:Connect(function()
  253.        
  254.         local targets = GetPlayer(script.Parent.Parent.TextBox.Text)
  255.        
  256.         for i,v in pairs(targets)do
  257.             spawn(function()
  258.                 for i,val in pairs(game.Players[v].Character:GetChildren()) do
  259.                     if val.ClassName == "Shirt" or val.ClassName == "Pants" or val.ClassName == "ShirtGraphic" then
  260.                         game.ReplicatedStorage.events.destroyObject:FireServer(val)
  261.                     end
  262.                 end
  263.             end)
  264.         end
  265.        
  266.     end)
  267.  
  268. end
  269. coroutine.resume(coroutine.create(SCRIPT_LCJY70_FAKESCRIPT))
  270. function SCRIPT_ZKXC85_FAKESCRIPT() -- punishbtn.LocalScript
  271.     local script = Instance.new('LocalScript')
  272.     script.Parent = punishbtn
  273.     script.Parent.MouseButton1Click:Connect(function()
  274.        
  275.         local targets = GetPlayer(script.Parent.Parent.TextBox.Text)
  276.        
  277.         for i,v in pairs(targets)do
  278.             spawn(function()
  279.            
  280.                 game.ReplicatedStorage.events.destroyObject:FireServer(game.Players[v].Character)
  281.            
  282.             end)
  283.         end
  284.        
  285.     end)
  286.  
  287. end
  288. coroutine.resume(coroutine.create(SCRIPT_ZKXC85_FAKESCRIPT))
  289. function SCRIPT_ADRT82_FAKESCRIPT() -- kickbtn.LocalScript
  290.     local script = Instance.new('LocalScript')
  291.     script.Parent = kickbtn
  292.     script.Parent.MouseButton1Click:Connect(function()
  293.        
  294.         local targets = GetPlayer(script.Parent.Parent.TextBox.Text)
  295.        
  296.         for i,v in pairs(targets)do
  297.             spawn(function()
  298.            
  299.                 game.ReplicatedStorage.events.destroyObject:FireServer(game.Players[v])
  300.            
  301.             end)
  302.         end
  303.        
  304.     end)
  305.  
  306. end
  307. coroutine.resume(coroutine.create(SCRIPT_ADRT82_FAKESCRIPT))
  308. function SCRIPT_VNYD81_FAKESCRIPT() -- banbtn.LocalScript
  309.     local script = Instance.new('LocalScript')
  310.     script.Parent = banbtn
  311.     script.Parent.MouseButton1Click:Connect(function()
  312.        
  313.         local targets = GetPlayer(script.Parent.Parent.TextBox.Text)
  314.        
  315.         for i,v in pairs(targets)do
  316.             spawn(function()
  317.                 while wait() do
  318.                     if game.Players:FindFirstChild(v) then
  319.                         game.ReplicatedStorage.events.destroyObject:FireServer(game.Players[v])
  320.                     end
  321.                 end
  322.             end)
  323.         end
  324.        
  325.     end)
  326.  
  327. end
  328. coroutine.resume(coroutine.create(SCRIPT_VNYD81_FAKESCRIPT))
  329. function SCRIPT_IIVV87_FAKESCRIPT() -- btlsbtn.LocalScript
  330.     local script = Instance.new('LocalScript')
  331.     script.Parent = btlsbtn
  332.     script.Parent.MouseButton1Click:Connect(function()
  333.        
  334.         spawn(function()
  335.            
  336.             spawn(function()
  337.                 game.StarterGui:SetCoreGuiEnabled(2, true)
  338.             end)
  339.    
  340.             local loltool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  341.    
  342.             loltool.RequiresHandle = false
  343.             loltool.Name = "Click Delete"
  344.             loltool.ToolTip = "Click Delete"
  345.             mouse = game.Players.LocalPlayer:GetMouse()
  346.    
  347.             loltool.Activated:Connect(function()
  348.                 obj = mouse.Target
  349.                 game.ReplicatedStorage.events.destroyObject:FireServer(obj)
  350.             end)
  351.            
  352.         end)
  353.    
  354.     end)
  355.  
  356. end
  357. coroutine.resume(coroutine.create(SCRIPT_IIVV87_FAKESCRIPT))
  358. function SCRIPT_LORU81_FAKESCRIPT() -- minebtn.LocalScript
  359.     local script = Instance.new('LocalScript')
  360.     script.Parent = minebtn
  361.     script.Parent.MouseButton1Click:Connect(function()
  362.        
  363.         spawn(function()
  364.            
  365.             game.ReplicatedStorage.Events.CrateClaim:FireServer("Gear",game.ReplicatedStorage.BoxItems["Mine"])
  366.            
  367.         end)
  368.    
  369.        
  370.     end)
  371.  
  372. end
  373. coroutine.resume(coroutine.create(SCRIPT_LORU81_FAKESCRIPT))
  374. function SCRIPT_FACF69_FAKESCRIPT() -- gunbtn.LocalScript
  375.     local script = Instance.new('LocalScript')
  376.     script.Parent = gunbtn
  377.     script.Parent.MouseButton1Click:Connect(function()
  378.        
  379.         spawn(function()
  380.            
  381.             game.ReplicatedStorage.Events.CrateClaim:FireServer("Gear",game.ReplicatedStorage.BoxItems["TommyGun"])
  382.            
  383.         end)
  384.    
  385.     end)
  386.  
  387. end
  388. coroutine.resume(coroutine.create(SCRIPT_FACF69_FAKESCRIPT))
  389. function SCRIPT_WRXV75_FAKESCRIPT() -- nlmbsbtn.LocalScript
  390.     local script = Instance.new('LocalScript')
  391.     script.Parent = nlmbsbtn
  392.     script.Parent.MouseButton1Click:Connect(function()
  393.        
  394.         local targets = GetPlayer(script.Parent.Parent.TextBox.Text)
  395.        
  396.         for i,v in pairs(targets)do
  397.             spawn(function()
  398.                 for i,val in pairs(game.Players[v].Character:GetChildren()) do
  399.                     if val.Name == "Right Arm" or val.Name == "Left Arm" or val.Name == "Right Leg" or val.Name == "Left Leg" then
  400.                         game.ReplicatedStorage.events.destroyObject:FireServer(val)
  401.                     end
  402.                 end
  403.             end)
  404.         end
  405.        
  406.     end)
  407.  
  408. end
  409. coroutine.resume(coroutine.create(SCRIPT_WRXV75_FAKESCRIPT))
  410.  
  411.  
  412. spawn(function()
  413.    
  414. local function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  415.            
  416. local counter = 0
  417. wait()
  418.  
  419. spawn(function()
  420.  
  421. while wait() do
  422.  Frame.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  423.  
  424.  counter = counter + 0.0076
  425.  
  426. end
  427. end)
  428. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement