Advertisement
BuildergamesV

Super hero tycoon

Oct 21st, 2019
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.76 KB | None | 0 0
  1. -- Poand : Jest to angielskie gui winc nie piszcie ze kopiowane
  2. -- Englsih : This is English gui and Poland people don't hate ;/ pls ? XD
  3. -- Credits to Shootingisgood9 for his delete tool
  4. -- Instances:
  5. local SuperHeroTycoonGui = Instance.new("ScreenGui")
  6. local SiperHeroTycoonFrame = Instance.new("Frame")
  7. local SuperHeroTycoonTitle = Instance.new("TextLabel")
  8. local PlayerToKill = Instance.new("TextBox")
  9. local KillPlayerButton = Instance.new("TextButton")
  10. local LineFrame = Instance.new("Frame")
  11. local KickPlayerButton = Instance.new("TextButton")
  12. local PlayerMoney = Instance.new("TextBox")
  13. local Money = Instance.new("TextBox")
  14. local SetMoneyButton = Instance.new("TextButton")
  15. local OpenSecondFrame = Instance.new("TextButton")
  16. local SecondFrame = Instance.new("Frame")
  17. local SetWalkSpeed = Instance.new("TextButton")
  18. local JumpPowerAmount = Instance.new("TextBox")
  19. local WalkSpeedAmount = Instance.new("TextBox")
  20. local SetJumpPowerButton = Instance.new("TextButton")
  21. local OpenThirdFrame = Instance.new("TextButton")
  22. local ThirdFrame = Instance.new("Frame")
  23. local GiveGear = Instance.new("TextButton")
  24. local DestroyMap = Instance.new("TextButton")
  25. local DeleteTool = Instance.new("TextButton")
  26. local DeleteDoors = Instance.new("TextButton")
  27. local RemoveToolsButton = Instance.new("TextButton")
  28. local ShoutsButton = Instance.new("TextButton")
  29. local CreditsFrame = Instance.new("Frame")
  30. local ObitoXDm8OICredits = Instance.new("TextLabel")
  31. local Shootingisgood9Credits = Instance.new("TextLabel")
  32. local CreditsLabel = Instance.new("TextLabel")
  33. local OpenCreditsButton = Instance.new("TextButton")
  34. --Properties:
  35. SuperHeroTycoonGui.Name = "SuperHeroTycoonGui"
  36. SuperHeroTycoonGui.Parent = game.CoreGui
  37.  
  38. SiperHeroTycoonFrame.Name = "SiperHeroTycoonFrame"
  39. SiperHeroTycoonFrame.Parent = SuperHeroTycoonGui
  40. SiperHeroTycoonFrame.BackgroundColor3 = Color3.new(0.419608, 0.419608, 0.419608)
  41. SiperHeroTycoonFrame.BackgroundTransparency = 0.30000001192093
  42. SiperHeroTycoonFrame.BorderColor3 = Color3.new(0, 0, 0)
  43. SiperHeroTycoonFrame.Position = UDim2.new(0.349934459, 0, 0.125498012, 0)
  44. SiperHeroTycoonFrame.Size = UDim2.new(0, 210, 0, 221)
  45. SiperHeroTycoonFrame.Visible = true
  46. SiperHeroTycoonFrame.Active = true
  47. SiperHeroTycoonFrame.Draggable = true
  48.  
  49. SuperHeroTycoonTitle.Name = "SuperHeroTycoonTitle"
  50. SuperHeroTycoonTitle.Parent = SiperHeroTycoonFrame
  51. SuperHeroTycoonTitle.BackgroundColor3 = Color3.new(1, 0, 0)
  52. SuperHeroTycoonTitle.BorderColor3 = Color3.new(0, 0, 0)
  53. SuperHeroTycoonTitle.Size = UDim2.new(0, 210, 0, 17)
  54. SuperHeroTycoonTitle.Font = Enum.Font.SourceSans
  55. SuperHeroTycoonTitle.Text = "Super Hero Tycoon Gui By: BuildergamesV"
  56. SuperHeroTycoonTitle.TextColor3 = Color3.new(0, 0, 0)
  57.  
  58. PlayerToKill.Name = "PlayerToKill"
  59. PlayerToKill.Parent = SiperHeroTycoonFrame
  60. PlayerToKill.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  61. PlayerToKill.Position = UDim2.new(0.217256442, 0, 0.126976252, 0)
  62. PlayerToKill.Size = UDim2.new(0, 118, 0, 21)
  63. PlayerToKill.Font = Enum.Font.SourceSans
  64. PlayerToKill.PlaceholderColor3 = Color3.new(0, 0, 0)
  65. PlayerToKill.PlaceholderText = "Player Name Here"
  66. PlayerToKill.Text = "Player Name Here"
  67. PlayerToKill.TextColor3 = Color3.new(0, 0, 0)
  68. PlayerToKill.TextSize = 14
  69.  
  70. KillPlayerButton.Name = "KillPlayerButton"
  71. KillPlayerButton.Parent = SiperHeroTycoonFrame
  72. KillPlayerButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  73. KillPlayerButton.Position = UDim2.new(0.219047621, 0, 0.285067886, 0)
  74. KillPlayerButton.Size = UDim2.new(0, 60, 0, 21)
  75. KillPlayerButton.Font = Enum.Font.SourceSans
  76. KillPlayerButton.Text = "Kill"
  77. KillPlayerButton.TextColor3 = Color3.new(0, 0, 0)
  78. KillPlayerButton.TextSize = 14
  79.  
  80. LineFrame.Name = "LineFrame"
  81. LineFrame.Parent = SiperHeroTycoonFrame
  82. LineFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  83. LineFrame.Position = UDim2.new(0, 0, 0.416289598, 0)
  84. LineFrame.Size = UDim2.new(0, 210, 0, 1)
  85.  
  86. KickPlayerButton.Name = "KickPlayerButton"
  87. KickPlayerButton.Parent = SiperHeroTycoonFrame
  88. KickPlayerButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  89. KickPlayerButton.Position = UDim2.new(0.504761934, 0, 0.285067886, 0)
  90. KickPlayerButton.Size = UDim2.new(0, 58, 0, 21)
  91. KickPlayerButton.Font = Enum.Font.SourceSans
  92. KickPlayerButton.Text = "Kick"
  93. KickPlayerButton.TextColor3 = Color3.new(0, 0, 0)
  94. KickPlayerButton.TextSize = 14
  95.  
  96. PlayerMoney.Name = "PlayerMoney"
  97. PlayerMoney.Parent = SiperHeroTycoonFrame
  98. PlayerMoney.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  99. PlayerMoney.BorderColor3 = Color3.new(0, 0, 0)
  100. PlayerMoney.Position = UDim2.new(0.0817387402, 0, 0.498467684, 0)
  101. PlayerMoney.Size = UDim2.new(0, 89, 0, 25)
  102. PlayerMoney.Font = Enum.Font.SourceSans
  103. PlayerMoney.PlaceholderColor3 = Color3.new(0, 0, 0)
  104. PlayerMoney.PlaceholderText = "Player"
  105. PlayerMoney.Text = "Player"
  106. PlayerMoney.TextColor3 = Color3.new(0, 0, 0)
  107. PlayerMoney.TextSize = 14
  108.  
  109. Money.Name = "Money"
  110. Money.Parent = SiperHeroTycoonFrame
  111. Money.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  112. Money.BorderColor3 = Color3.new(0, 0, 0)
  113. Money.Position = UDim2.new(0.503145516, 0, 0.498467684, 0)
  114. Money.Size = UDim2.new(0, 89, 0, 25)
  115. Money.Font = Enum.Font.SourceSans
  116. Money.PlaceholderColor3 = Color3.new(0, 0, 0)
  117. Money.PlaceholderText = "Amount of Money"
  118. Money.Text = "Amount of Money"
  119. Money.TextColor3 = Color3.new(0, 0, 0)
  120. Money.TextScaled = true
  121. Money.TextSize = 14
  122. Money.TextWrapped = true
  123.  
  124. SetMoneyButton.Name = "SetMoneyButton"
  125. SetMoneyButton.Parent = SiperHeroTycoonFrame
  126. SetMoneyButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  127. SetMoneyButton.BorderColor3 = Color3.new(0, 0, 0)
  128. SetMoneyButton.Position = UDim2.new(0.0817387402, 0, 0.695796013, 0)
  129. SetMoneyButton.Size = UDim2.new(0, 178, 0, 27)
  130. SetMoneyButton.Font = Enum.Font.SourceSans
  131. SetMoneyButton.Text = "Set Player Money"
  132. SetMoneyButton.TextColor3 = Color3.new(0, 0, 0)
  133. SetMoneyButton.TextSize = 14
  134.  
  135. OpenSecondFrame.Name = "OpenSecondFrame"
  136. OpenSecondFrame.Parent = SiperHeroTycoonFrame
  137. OpenSecondFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  138. OpenSecondFrame.BorderColor3 = Color3.new(0, 0, 0)
  139. OpenSecondFrame.Position = UDim2.new(0.461467892, 0, 0.921012759, 0)
  140. OpenSecondFrame.Size = UDim2.new(0, 17, 0, 17)
  141. OpenSecondFrame.Font = Enum.Font.SourceSans
  142. OpenSecondFrame.Text = "v"
  143. OpenSecondFrame.TextColor3 = Color3.new(1, 1, 1)
  144. OpenSecondFrame.TextSize = 14
  145.  
  146. SecondFrame.Name = "SecondFrame"
  147. SecondFrame.Parent = SiperHeroTycoonFrame
  148. SecondFrame.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  149. SecondFrame.BackgroundTransparency = 0.30000001192093
  150. SecondFrame.BorderColor3 = Color3.new(0, 0, 0)
  151. SecondFrame.Position = UDim2.new(0.00231540157, 0, 1.00012624, 0)
  152. SecondFrame.Size = UDim2.new(0, 210, 0, 99)
  153. SecondFrame.Visible = false
  154.  
  155. SetWalkSpeed.Name = "SetWalkSpeed"
  156. SetWalkSpeed.Parent = SecondFrame
  157. SetWalkSpeed.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  158. SetWalkSpeed.BorderColor3 = Color3.new(0, 0, 0)
  159. SetWalkSpeed.Position = UDim2.new(0.0809523836, 0, 0.556104064, 0)
  160. SetWalkSpeed.Size = UDim2.new(0, 89, 0, 25)
  161. SetWalkSpeed.Font = Enum.Font.SourceSans
  162. SetWalkSpeed.Text = "Set WalkSpeed"
  163. SetWalkSpeed.TextColor3 = Color3.new(0, 0, 0)
  164. SetWalkSpeed.TextSize = 14
  165.  
  166. JumpPowerAmount.Name = "JumpPowerAmount"
  167. JumpPowerAmount.Parent = SecondFrame
  168. JumpPowerAmount.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  169. JumpPowerAmount.Position = UDim2.new(0.504761934, 0, 0.115955949, 0)
  170. JumpPowerAmount.Size = UDim2.new(0, 89, 0, 25)
  171. JumpPowerAmount.Font = Enum.Font.SourceSans
  172. JumpPowerAmount.PlaceholderColor3 = Color3.new(0, 0, 0)
  173. JumpPowerAmount.PlaceholderText = "JumpPower"
  174. JumpPowerAmount.Text = "JumpPower"
  175. JumpPowerAmount.TextColor3 = Color3.new(0, 0, 0)
  176. JumpPowerAmount.TextSize = 14
  177.  
  178. WalkSpeedAmount.Name = "WalkSpeedAmount"
  179. WalkSpeedAmount.Parent = SecondFrame
  180. WalkSpeedAmount.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  181. WalkSpeedAmount.Position = UDim2.new(0.0809523836, 0, 0.115955949, 0)
  182. WalkSpeedAmount.Size = UDim2.new(0, 89, 0, 25)
  183. WalkSpeedAmount.Font = Enum.Font.SourceSans
  184. WalkSpeedAmount.PlaceholderColor3 = Color3.new(0, 0, 0)
  185. WalkSpeedAmount.PlaceholderText = "WalkSpeed"
  186. WalkSpeedAmount.Text = "WalkSpeed"
  187. WalkSpeedAmount.TextColor3 = Color3.new(0, 0, 0)
  188. WalkSpeedAmount.TextSize = 14
  189.  
  190. SetJumpPowerButton.Name = "SetJumpPowerButton"
  191. SetJumpPowerButton.Parent = SecondFrame
  192. SetJumpPowerButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  193. SetJumpPowerButton.BorderColor3 = Color3.new(0, 0, 0)
  194. SetJumpPowerButton.Position = UDim2.new(0.503905892, 0, 0.557719946, 0)
  195. SetJumpPowerButton.Size = UDim2.new(0, 89, 0, 25)
  196. SetJumpPowerButton.Font = Enum.Font.SourceSans
  197. SetJumpPowerButton.Text = "Set JumpPower"
  198. SetJumpPowerButton.TextColor3 = Color3.new(0, 0, 0)
  199. SetJumpPowerButton.TextSize = 14
  200.  
  201. OpenThirdFrame.Name = "OpenThirdFrame"
  202. OpenThirdFrame.Parent = SiperHeroTycoonFrame
  203. OpenThirdFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  204. OpenThirdFrame.BorderColor3 = Color3.new(0, 0, 0)
  205. OpenThirdFrame.Position = UDim2.new(0.929314137, 0, 0.61161691, 0)
  206. OpenThirdFrame.Size = UDim2.new(0, 15, 0, 19)
  207. OpenThirdFrame.Font = Enum.Font.SourceSans
  208. OpenThirdFrame.Text = ">"
  209. OpenThirdFrame.TextColor3 = Color3.new(1, 1, 1)
  210. OpenThirdFrame.TextSize = 14
  211.  
  212. ThirdFrame.Name = "ThirdFrame"
  213. ThirdFrame.Parent = SiperHeroTycoonFrame
  214. ThirdFrame.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  215. ThirdFrame.BackgroundTransparency = 0.30000001192093
  216. ThirdFrame.BorderColor3 = Color3.new(0, 0, 0)
  217. ThirdFrame.Position = UDim2.new(1.00135434, 0, -0.00119882822, 0)
  218. ThirdFrame.Size = UDim2.new(0, 103, 0, 320)
  219. ThirdFrame.Visible = false
  220.  
  221. GiveGear.Name = "GiveGear"
  222. GiveGear.Parent = ThirdFrame
  223. GiveGear.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  224. GiveGear.BorderColor3 = Color3.new(0, 0, 0)
  225. GiveGear.Position = UDim2.new(0.0958912969, 0, 0.0531125516, 0)
  226. GiveGear.Size = UDim2.new(0, 82, 0, 38)
  227. GiveGear.Font = Enum.Font.SourceSans
  228. GiveGear.Text = "Give Gear"
  229. GiveGear.TextColor3 = Color3.new(0, 0, 0)
  230. GiveGear.TextSize = 14
  231.  
  232. DestroyMap.Name = "Destroy Map"
  233. DestroyMap.Parent = ThirdFrame
  234. DestroyMap.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  235. DestroyMap.BorderColor3 = Color3.new(0, 0, 0)
  236. DestroyMap.Position = UDim2.new(0.0958912969, 0, 0.196862549, 0)
  237. DestroyMap.Size = UDim2.new(0, 82, 0, 38)
  238. DestroyMap.Font = Enum.Font.SourceSans
  239. DestroyMap.Text = "Destroy Map"
  240. DestroyMap.TextColor3 = Color3.new(0, 0, 0)
  241. DestroyMap.TextSize = 14
  242.  
  243. DeleteTool.Name = "Delete Tool"
  244. DeleteTool.Parent = ThirdFrame
  245. DeleteTool.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  246. DeleteTool.BorderColor3 = Color3.new(0, 0, 0)
  247. DeleteTool.Position = UDim2.new(0.0958912969, 0, 0.343737543, 0)
  248. DeleteTool.Size = UDim2.new(0, 82, 0, 38)
  249. DeleteTool.Font = Enum.Font.SourceSans
  250. DeleteTool.Text = "Delete Tool"
  251. DeleteTool.TextColor3 = Color3.new(0, 0, 0)
  252. DeleteTool.TextSize = 14
  253.  
  254. DeleteDoors.Name = "DeleteDoors"
  255. DeleteDoors.Parent = ThirdFrame
  256. DeleteDoors.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  257. DeleteDoors.BorderColor3 = Color3.new(0, 0, 0)
  258. DeleteDoors.Position = UDim2.new(0.0960000008, 0, 0.49000001, 0)
  259. DeleteDoors.Size = UDim2.new(0, 82, 0, 38)
  260. DeleteDoors.SizeConstraint = Enum.SizeConstraint.RelativeXX
  261. DeleteDoors.Font = Enum.Font.SourceSans
  262. DeleteDoors.Text = "Delete Doors"
  263. DeleteDoors.TextColor3 = Color3.new(0, 0, 0)
  264. DeleteDoors.TextSize = 14
  265.  
  266. RemoveToolsButton.Name = "RemoveToolsButton"
  267. RemoveToolsButton.Parent = ThirdFrame
  268. RemoveToolsButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  269. RemoveToolsButton.BorderColor3 = Color3.new(0, 0, 0)
  270. RemoveToolsButton.Position = UDim2.new(0.0960000008, 0, 0.636875033, 0)
  271. RemoveToolsButton.Size = UDim2.new(0, 82, 0, 38)
  272. RemoveToolsButton.SizeConstraint = Enum.SizeConstraint.RelativeXX
  273. RemoveToolsButton.Font = Enum.Font.SourceSans
  274. RemoveToolsButton.Text = "Remove Tools"
  275. RemoveToolsButton.TextColor3 = Color3.new(0, 0, 0)
  276. RemoveToolsButton.TextSize = 14
  277.  
  278. ShoutsButton.Name = "ShoutsButton"
  279. ShoutsButton.Parent = ThirdFrame
  280. ShoutsButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  281. ShoutsButton.BorderColor3 = Color3.new(0, 0, 0)
  282. ShoutsButton.Position = UDim2.new(0.0960000008, 0, 0.783750057, 0)
  283. ShoutsButton.Size = UDim2.new(0, 82, 0, 38)
  284. ShoutsButton.SizeConstraint = Enum.SizeConstraint.RelativeXX
  285. ShoutsButton.Font = Enum.Font.SourceSans
  286. ShoutsButton.Text = "Unlimited Shouts"
  287. ShoutsButton.TextColor3 = Color3.new(0, 0, 0)
  288. ShoutsButton.TextSize = 14
  289. ShoutsButton.TextWrapped = true
  290.  
  291. CreditsFrame.Name = "CreditsFrame"
  292. CreditsFrame.Parent = SiperHeroTycoonFrame
  293. CreditsFrame.BackgroundColor3 = Color3.new(0.333333, 0, 1)
  294. CreditsFrame.BorderColor3 = Color3.new(0, 0, 0)
  295. CreditsFrame.Position = UDim2.new(-0.838095248, 0, 0, 0)
  296. CreditsFrame.Size = UDim2.new(0, 176, 0, 320)
  297. CreditsFrame.Visible = false
  298.  
  299. ObitoXDm8OICredits.Name = "BuildergamesV Credits"
  300. ObitoXDm8OICredits.Parent = CreditsFrame
  301. ObitoXDm8OICredits.BackgroundColor3 = Color3.new(0.333333, 0, 1)
  302. ObitoXDm8OICredits.BorderColor3 = Color3.new(0, 0, 0)
  303. ObitoXDm8OICredits.BorderSizePixel = 0
  304. ObitoXDm8OICredits.Position = UDim2.new(0, 0, 0.106250003, 0)
  305. ObitoXDm8OICredits.Size = UDim2.new(0, 176, 0, 83)
  306. ObitoXDm8OICredits.Font = Enum.Font.SourceSans
  307. ObitoXDm8OICredits.Text = "Big Thanks to Sniperblacktv for test my script"
  308. ObitoXDm8OICredits.TextColor3 = Color3.new(0, 0, 0)
  309. ObitoXDm8OICredits.TextScaled = true
  310. ObitoXDm8OICredits.TextSize = 14
  311. ObitoXDm8OICredits.TextWrapped = true
  312.  
  313. Shootingisgood9Credits.Name = "Shootingisgood9Credits"
  314. Shootingisgood9Credits.Parent = CreditsFrame
  315. Shootingisgood9Credits.BackgroundColor3 = Color3.new(0.333333, 0, 1)
  316. Shootingisgood9Credits.BorderSizePixel = 0
  317. Shootingisgood9Credits.Position = UDim2.new(-5.21242619e-05, 0, 0.364815742, 0)
  318. Shootingisgood9Credits.Size = UDim2.new(0, 176, 0, 65)
  319. Shootingisgood9Credits.Font = Enum.Font.SourceSans
  320. Shootingisgood9Credits.Text = "Another big thanks to Shootingisgood9 for his delete tool"
  321. Shootingisgood9Credits.TextColor3 = Color3.new(0, 0, 0)
  322. Shootingisgood9Credits.TextScaled = true
  323. Shootingisgood9Credits.TextSize = 13
  324. Shootingisgood9Credits.TextWrapped = true
  325.  
  326. CreditsLabel.Name = "CreditsLabel"
  327. CreditsLabel.Parent = CreditsFrame
  328. CreditsLabel.BackgroundColor3 = Color3.new(0.94902, 0.219608, 1)
  329. CreditsLabel.Position = UDim2.new(0.00281381607, 0, 0, 0)
  330. CreditsLabel.Size = UDim2.new(0, 176, 0, 34)
  331. CreditsLabel.Font = Enum.Font.SourceSans
  332. CreditsLabel.Text = "Credits"
  333. CreditsLabel.TextColor3 = Color3.new(0, 0, 0)
  334. CreditsLabel.TextSize = 14
  335.  
  336. OpenCreditsButton.Name = "OpenCreditsButton"
  337. OpenCreditsButton.Parent = SiperHeroTycoonFrame
  338. OpenCreditsButton.BackgroundColor3 = Color3.new(0, 0, 0)
  339. OpenCreditsButton.BorderColor3 = Color3.new(0, 0, 0)
  340. OpenCreditsButton.Position = UDim2.new(0, 0, 0.610859752, 0)
  341. OpenCreditsButton.Size = UDim2.new(0, 17, 0, 19)
  342. OpenCreditsButton.Font = Enum.Font.SourceSans
  343. OpenCreditsButton.Text = "<"
  344. OpenCreditsButton.TextColor3 = Color3.new(1, 1, 1)
  345. OpenCreditsButton.TextSize = 14
  346. -- Scripts:
  347. KickPlayerButton.MouseButton1Click:connect(function()
  348. if PlayerToKill.Text == "others" or PlayerToKill.Text == "all" then
  349. for i,v in pairs(game.Players:GetChildren()) do
  350. if v.Name ~= game.Players.LocalPlayer.Name then
  351. game.ReplicatedStorage.Events.destryObj:FireServer(v)
  352. end
  353. end
  354. else
  355. for i,v in pairs(game.Players:GetChildren()) do
  356. if v.Name == PlayerToKill.Text then
  357. game.ReplicatedStorage.Events.destryObj:FireServer(v)
  358. end
  359. end
  360. end
  361. end)
  362. KillPlayerButton.MouseButton1Click:connect(function()
  363. if PlayerToKill.Text == "others" or PlayerToKill.Text == "all" then
  364. for i,v in pairs(game.Players:GetChildren()) do
  365. if v.Name ~= game.Players.LocalPlayer.Name then
  366. game.ReplicatedStorage.Events.destryObj:FireServer(v.Character.Head)
  367. end
  368. end
  369. else
  370. for i,v in pairs(game.Players:GetChildren()) do
  371. if v.Name == PlayerToKill.Text then
  372. game.ReplicatedStorage.Events.destryObj:FireServer(v.Character.Torso.Neck)
  373. end
  374. end
  375. end
  376. end)
  377. SetMoneyButton.MouseButton1Click:connect(function()
  378. if PlayerMoney.Text == "others" then
  379. for i,v in pairs(game.ReplicatedStorage.PlayerMoney:GetChildren()) do
  380. if v.Name ~= game.Players.LocalPlayer.Name then
  381. game.ReplicatedStorage.Events.changeValue:InvokeServer(v, Money.Text)
  382. end
  383. end
  384. else
  385. if PlayerMoney.Text == "all" then
  386. for i,v in pairs(game.ReplicatedStorage.PlayerMoney:GetChildren()) do
  387. game.ReplicatedStorage.Events.changeValue:InvokeServer(v, Money.Text)
  388. end
  389.  
  390. else
  391. if PlayerMoney.Text == "me" then
  392. for i,v in pairs(game.ReplicatedStorage.PlayerMoney:GetChildren()) do
  393. if v.Name == game.Players.LocalPlayer.Name then
  394. game.ReplicatedStorage.Events.changeValue:InvokeServer(v, Money.Text)
  395. end
  396. end
  397. else
  398. for i,v in pairs(game.ReplicatedStorage.PlayerMoney:GetChildren()) do
  399. if v.Name == PlayerMoney.Text then
  400. game.ReplicatedStorage.Events.changeValue:InvokeServer(v, Money.Text)
  401. end
  402. end
  403. end
  404. end
  405. end
  406. end)
  407. OpenSecondFrame.MouseButton1Click:connect(function()
  408. if SecondFrame.Visible == false then
  409. SecondFrame.Visible = true
  410. OpenSecondFrame.Text = "^"
  411. else
  412. SecondFrame.Visible = false
  413. OpenSecondFrame.Text = "v"
  414.  
  415. end
  416. end)
  417. SetWalkSpeed.MouseButton1Click:connect(function()
  418. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = WalkSpeedAmount.Text
  419. end)
  420. SetJumpPowerButton.MouseButton1Click:connect(function()
  421. game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = JumpPowerAmount.Text
  422. end)
  423. OpenThirdFrame.MouseButton1Click:connect(function()
  424. if ThirdFrame.Visible == false then
  425. ThirdFrame.Visible = true
  426. OpenThirdFrame.Text = "<"
  427. else
  428. ThirdFrame.Visible = false
  429. OpenThirdFrame.Text = ">"
  430.  
  431. end
  432. end)
  433. DeleteTool.MouseButton1Click:connect(function()
  434. local cunt = Instance.new("Tool")
  435. local biggercunt = Instance.new("Part")
  436. local plr = game.Players.LocalPlayer
  437. local tar_obj = nil
  438. local rekt = game.ReplicatedStorage.Events.destryObj
  439. biggercunt.Parent = cunt
  440. biggercunt.Size = Vector3.new(0.2, 0.2, 0.2)
  441. cunt.Parent = plr.Backpack
  442. cunt.Name = "Delete"
  443. biggercunt.Name = "Handle"
  444. cunt.Equipped:Connect(function(m_S)
  445. print("m")
  446.  
  447. m_S.Button1Down:Connect(function()
  448. print("M")
  449.  
  450. tar_obj = m_S.Target
  451.  
  452. rekt:FireServer(tar_obj)
  453.  
  454. end)
  455. end)
  456. end)
  457. DeleteDoors.MouseButton1Click:connect(function()
  458. for i,v in pairs(game.Workspace["Zednov's Tycoon Kit"].Tycoons:GetChildren()) do
  459. if v.Owner ~= game.Players.LocalPlayer.Name then
  460. potato = v.PurchasedObjects:FindFirstChild("Door")
  461. if potato then
  462. game.ReplicatedStorage.Events.destryObj:FireServer(v.PurchasedObjects.Door)
  463. else
  464. print("Door be gone")
  465. end
  466. end
  467. end
  468. end)
  469. DestroyMap.MouseButton1Click:connect(function()
  470. for i,v in pairs(game.Workspace:GetChildren()) do
  471. if not v:IsA("Model") or not v:IsA("Camera") or not v:IsA("Terrain") then
  472. game.ReplicatedStorage.Events.destryObj:FireServer(v)
  473. end
  474. end
  475. end)
  476. GiveGear.MouseButton1Click:connect(function()
  477. for i,v in pairs(game.ReplicatedStorage.BoxItems:GetChildren()) do
  478. game:GetService("ReplicatedStorage").Events.CrateClaim:FireServer("Gear", v)
  479. end
  480. end)
  481. RemoveToolsButton.MouseButton1Click:connect(function()
  482. for i,v in pairs(game.Players:GetChildren()) do
  483. if v.Name ~= game.Players.LocalPlayer.Name then
  484. for i,z in pairs(v.Backpack:GetChildren()) do
  485. game.ReplicatedStorage.Events.destryObj:FireServer(z)
  486.  
  487. end
  488. end
  489. end
  490. end)
  491. ShoutsButton.MouseButton1Click:connect(function()
  492. game.ReplicatedStorage.Events.changeValue:InvokeServer(game.Players.LocalPlayer.Shouts, 2e9)
  493. end)
  494. OpenCreditsButton.MouseButton1Click:connect(function()
  495. if CreditsFrame.Visible == false then
  496. CreditsFrame.Visible = true
  497. OpenCreditsButton.Text = ">"
  498. else
  499. CreditsFrame.Visible = false
  500. OpenCreditsButton.Text = "<"
  501.  
  502. end
  503. end)
  504. plr = game:GetService("Players").LocalPlayer
  505. mouse = plr:GetMouse()
  506. mouse.KeyDown:connect(function(key)
  507. if key == "z" then
  508. if SiperHeroTycoonFrame.Visible == true
  509. then SiperHeroTycoonFrame.Visible = false
  510. else SiperHeroTycoonFrame.Visible = true
  511. end
  512. end
  513. end)
  514. print("Credits to Shootingisgood9 for his delete tool")
  515. print("Credits to ObitoXDm8OI for letting me use some of his scripts")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement