ZHFK

Super Hero Tycoon Scripts

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