Advertisement
lauhairoblox

super hero

Nov 28th, 2018
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.67 KB | None | 0 0
  1. local SuperHeroAdventuresOnline = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local Open = Instance.new("TextButton")
  4. local Main = Instance.new("Frame")
  5. local Heading = Instance.new("TextLabel")
  6. local Power = Instance.new("TextButton")
  7. local Strength = Instance.new("TextButton")
  8. local TpQuest = Instance.new("TextButton")
  9. local AutoFarm = Instance.new("TextButton")
  10. local Body = Instance.new("TextButton")
  11. local TrainingPlaces = Instance.new("TextButton")
  12. local Close = Instance.new("TextButton")
  13. local Teleports = Instance.new("Frame")
  14. local Heading_2 = Instance.new("TextLabel")
  15. local Strength_2 = Instance.new("TextButton")
  16. local BodyToughness = Instance.new("TextButton")
  17. local Power_2 = Instance.new("TextButton")
  18. local VirtualUser = game:service'VirtualUser'
  19. game:service'Players'.LocalPlayer.Idled:connect(function()
  20. VirtualUser:CaptureController()
  21. VirtualUser:ClickButton2(Vector2.new())
  22. end)
  23.  
  24.  
  25. SuperHeroAdventuresOnline.Name = "Super Hero Adventures Online"
  26. SuperHeroAdventuresOnline.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  27. SuperHeroAdventuresOnline.ResetOnSpawn = false
  28.  
  29. Frame.Parent = SuperHeroAdventuresOnline
  30. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  31. Frame.Position = UDim2.new(0.926620662, 0, 0.47410357, 0)
  32. Frame.Size = UDim2.new(0, 100, 0, 25)
  33.  
  34. Open.Name = "Open"
  35. Open.Parent = Frame
  36. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  37. Open.Size = UDim2.new(0, 100, 0, 25)
  38. Open.Font = Enum.Font.SourceSans
  39. Open.Text = "Open"
  40. Open.TextColor3 = Color3.new(1, 1, 1)
  41. Open.TextSize = 14
  42. Open.MouseButton1Down:connect(function()
  43. Frame.Visible = false
  44. Main.Visible = true
  45. Teleports.Visible = false
  46. end)
  47.  
  48. Main.Name = "Main"
  49. Main.Parent = SuperHeroAdventuresOnline
  50. Main.Active = true
  51. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  52. Main.Draggable = true
  53. Main.Position = UDim2.new(0.336689293, 0, 0.300390422, 0)
  54. Main.Size = UDim2.new(0, 450, 0, 150)
  55. Main.Visible = false
  56.  
  57. Heading.Name = "Heading"
  58. Heading.Parent = Main
  59. Heading.BackgroundColor3 = Color3.new(0, 0, 0)
  60. Heading.Position = UDim2.new(0, 0, -0.00399995642, 0)
  61. Heading.Size = UDim2.new(0, 400, 0, 50)
  62. Heading.Font = Enum.Font.ArialBold
  63. Heading.Text = "Super Hero Adventures Online"
  64. Heading.TextColor3 = Color3.new(1, 1, 1)
  65. Heading.TextScaled = true
  66. Heading.TextSize = 14
  67. Heading.TextWrapped = true
  68.  
  69. local power = false
  70.  
  71. Power.Name = "Power"
  72. Power.Parent = Main
  73. Power.BackgroundColor3 = Color3.new(0, 0, 0)
  74. Power.Position = UDim2.new(0, 0, 0.331333339, 0)
  75. Power.Size = UDim2.new(0, 150, 0, 50)
  76. Power.Font = Enum.Font.SourceSans
  77. Power.Text = "Power : OFF"
  78. Power.TextColor3 = Color3.new(1, 1, 1)
  79. Power.TextSize = 14
  80. Power.MouseButton1Down:connect(function()
  81. if not power then
  82. Power.Text = 'Power : ON'
  83. power = true
  84. repeat
  85. wait()
  86. local Event = game:GetService("ReplicatedStorage").RemoteEvents.TrainStatsRemote
  87. Event:FireServer("Power" , 2)
  88. wait()
  89. until power == false
  90. else
  91. Power.Text = 'Power : OFF'
  92. power = false
  93. end
  94. end)
  95.  
  96. local strength = false
  97.  
  98. Strength.Name = "Strength"
  99. Strength.Parent = Main
  100. Strength.BackgroundColor3 = Color3.new(0, 0, 0)
  101. Strength.Position = UDim2.new(0.666666687, 0, 0.33133328, 0)
  102. Strength.Size = UDim2.new(0, 150, 0, 50)
  103. Strength.Font = Enum.Font.SourceSans
  104. Strength.Text = "Strength : OFF"
  105. Strength.TextColor3 = Color3.new(1, 1, 1)
  106. Strength.TextSize = 14
  107. Strength.MouseButton1Down:connect(function()
  108. if not strength then
  109. Strength.Text = 'Strength : ON'
  110. strength = true
  111. repeat
  112. wait()
  113. local Event = game:GetService("ReplicatedStorage").RemoteEvents.TrainStatsRemote
  114. Event:FireServer("Strength" , 2)
  115. wait()
  116. until strength == false
  117. else
  118. Strength.Text = 'Strength : OFF'
  119. strength = false
  120. end
  121. end)
  122.  
  123. TpQuest.Name = "Tp Quest"
  124. TpQuest.Parent = Main
  125. TpQuest.BackgroundColor3 = Color3.new(0, 0, 0)
  126. TpQuest.Position = UDim2.new(0.333333313, 0, 0.659999967, 0)
  127. TpQuest.Size = UDim2.new(0, 150, 0, 50)
  128. TpQuest.Font = Enum.Font.SourceSans
  129. TpQuest.Text = "Teleport To Quest"
  130. TpQuest.TextColor3 = Color3.new(1, 1, 1)
  131. TpQuest.TextSize = 14
  132. TpQuest.MouseButton1Down:connect(function()
  133. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  134. for i,v in pairs(game.Workspace["QuestMarkers"]:GetChildren()) do
  135. if v.Name == questname.Text then
  136. plr.CFrame = v.CFrame
  137. wait()
  138. end
  139. end
  140. end)
  141.  
  142. local af = false
  143.  
  144. AutoFarm.Name = "Auto Farm"
  145. AutoFarm.Parent = Main
  146. AutoFarm.BackgroundColor3 = Color3.new(0, 0, 0)
  147. AutoFarm.Position = UDim2.new(0, 0, 0.662666619, 0)
  148. AutoFarm.Size = UDim2.new(0, 150, 0, 50)
  149. AutoFarm.Font = Enum.Font.SourceSans
  150. AutoFarm.Text = "Auto Farm : OFF"
  151. AutoFarm.TextColor3 = Color3.new(1, 1, 1)
  152. AutoFarm.TextSize = 14
  153. AutoFarm.MouseButton1Down:connect(function()
  154. if not af then
  155. AutoFarm.Text = 'Auto Farm : ON'
  156. af = true
  157. repeat
  158. local Plr = game:GetService"Players".LocalPlayer
  159. local HRP = Plr.Character:FindFirstChild"HumanoidRootPart"
  160. for _,v in pairs(game.workspace.Mobs:GetChildren()) do
  161. if string.find(v.Name, "Common Criminal") or string.find(v.Name, "Brutes") or string.find(v.Name, "Karate Students") or string.find(v.Name, "Corrupt Police Officers") or string.find(v.Name, "Green Aliens") or string.find(v.Name, "Venom Enhanced Thugs") or string.find(v.Name, "Hand Assasin") or string.find(v.Name, "Hand Soldier") then
  162. for _,b in pairs(v:GetDescendants()) do
  163. if string.find(b.Name, "Common Criminal") or string.find(b.Name, "Brutes") or string.find(b.Name, "Karate Students") or string.find(b.Name, "Corrupt Police Officers") or string.find(b.Name, "Green Alien") or string.find(b.Name, "Venom Enhanced Thugs") or string.find(b.Name, "Hand Soldier") and b:FindFirstChild"Humanoid".Health > 1 then
  164. HRP.CFrame = b:FindFirstChild"HumanoidRootPart".CFrame*CFrame.new(0,0,4.5)
  165. game:GetService"ReplicatedStorage".RemoteEvents.PunchRemote:FireServer()
  166. wait(.1)
  167. end
  168. end
  169. end
  170. end
  171. wait()
  172. until af == false
  173. else
  174. AutoFarm.Text = 'Auto Farm : OFF'
  175. af = false
  176. end
  177. end)
  178.  
  179. local body = false
  180.  
  181. Body.Name = "Body"
  182. Body.Parent = Main
  183. Body.BackgroundColor3 = Color3.new(0, 0, 0)
  184. Body.Position = UDim2.new(0.333333373, 0, 0.331333399, 0)
  185. Body.Size = UDim2.new(0, 150, 0, 50)
  186. Body.Font = Enum.Font.SourceSans
  187. Body.Text = "Body Toughness : OFF"
  188. Body.TextColor3 = Color3.new(1, 1, 1)
  189. Body.TextSize = 14
  190. Body.MouseButton1Down:connect(function()
  191. if not body then
  192. Body.Text = 'Body Toughness : ON'
  193. body = true
  194. repeat
  195. while true do
  196. wait()
  197. local Event = game:GetService("ReplicatedStorage").RemoteEvents.TrainStatsRemote
  198. Event:FireServer("Body" , 2)
  199. end
  200. wait()
  201. until body == false
  202. else
  203. Body.Text = 'Body Toughness : OFF'
  204. body = false
  205. end
  206. end)
  207.  
  208. TrainingPlaces.Name = "Training Places"
  209. TrainingPlaces.Parent = Main
  210. TrainingPlaces.BackgroundColor3 = Color3.new(0, 0, 0)
  211. TrainingPlaces.Position = UDim2.new(0.666666687, 0, 0.660000026, 0)
  212. TrainingPlaces.Size = UDim2.new(0, 150, 0, 50)
  213. TrainingPlaces.Font = Enum.Font.SourceSans
  214. TrainingPlaces.Text = "Training Places"
  215. TrainingPlaces.TextColor3 = Color3.new(1, 1, 1)
  216. TrainingPlaces.TextSize = 14
  217. TrainingPlaces.MouseButton1Down:connect(function()
  218. if Teleports.Visible == false then
  219. Teleports.Visible = true
  220. elseif Teleports.Visible == true then
  221. Teleports.Visible = false
  222. end
  223. end)
  224.  
  225. Close.Name = "Close"
  226. Close.Parent = Main
  227. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  228. Close.Position = UDim2.new(0.888888896, 0, -0.00400000019, 0)
  229. Close.Size = UDim2.new(0, 50, 0, 49)
  230. Close.Font = Enum.Font.SourceSans
  231. Close.Text = "X"
  232. Close.TextColor3 = Color3.new(1, 1, 1)
  233. Close.TextSize = 14
  234. Close.MouseButton1Down:connect(function()
  235. Frame.Visible = true
  236. Main.Visible = false
  237. end)
  238.  
  239. Teleports.Name = "Teleports"
  240. Teleports.Parent = SuperHeroAdventuresOnline
  241. Teleports.Active = true
  242. Teleports.BackgroundColor3 = Color3.new(0, 0, 0)
  243. Teleports.Draggable = true
  244. Teleports.Position = UDim2.new(0.0491771996, 0, 0.300390422, 0)
  245. Teleports.Size = UDim2.new(0, 250, 0, 150)
  246. Teleports.Visible = false
  247.  
  248. Heading_2.Name = "Heading"
  249. Heading_2.Parent = Teleports
  250. Heading_2.BackgroundColor3 = Color3.new(0, 0, 0)
  251. Heading_2.Position = UDim2.new(0, 0, -0.010666606, 0)
  252. Heading_2.Size = UDim2.new(0, 250, 0, 50)
  253. Heading_2.Font = Enum.Font.ArialBold
  254. Heading_2.Text = "Training Places"
  255. Heading_2.TextColor3 = Color3.new(1, 1, 1)
  256. Heading_2.TextScaled = true
  257. Heading_2.TextSize = 14
  258. Heading_2.TextWrapped = true
  259.  
  260. local st = false
  261.  
  262. Strength_2.Name = "Strength"
  263. Strength_2.Parent = Teleports
  264. Strength_2.BackgroundColor3 = Color3.new(0, 0, 0)
  265. Strength_2.Position = UDim2.new(0, 0, 0.664666533, 0)
  266. Strength_2.Size = UDim2.new(0, 250, 0, 50)
  267. Strength_2.Font = Enum.Font.SourceSans
  268. Strength_2.Text = "Strength : OFF"
  269. Strength_2.TextColor3 = Color3.new(1, 1, 1)
  270. Strength_2.TextSize = 28
  271. Strength_2.TextWrapped = true
  272. Strength_2.MouseButton1Down:connect(function()
  273. if not st then
  274. Strength_2.Text = 'Strength : ON'
  275. st = true
  276. repeat
  277. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  278. for i,v in pairs(game.Workspace["GameStuff"]:GetChildren()) do
  279. if v.Name == "MedPunchingBag" then
  280. v.CFrame = plr.CFrame
  281. v.CanCollide = false
  282. wait()
  283. end
  284. end
  285. wait()
  286. until st == false
  287. else
  288. Strength_2.Text = 'Strength : OFF'
  289. st = false
  290. end
  291. end)
  292.  
  293. local bt = false
  294.  
  295. BodyToughness.Name = "Body Toughness"
  296. BodyToughness.Parent = Teleports
  297. BodyToughness.BackgroundColor3 = Color3.new(0, 0, 0)
  298. BodyToughness.Position = UDim2.new(0.497333318, 0, 0.319999903, 0)
  299. BodyToughness.Size = UDim2.new(0, 126, 0, 50)
  300. BodyToughness.Font = Enum.Font.SourceSans
  301. BodyToughness.Text = "Body Toughness : OFF"
  302. BodyToughness.TextColor3 = Color3.new(1, 1, 1)
  303. BodyToughness.TextSize = 14
  304. BodyToughness.MouseButton1Down:connect(function()
  305. if not bt then
  306. BodyToughness.Text = 'Body Toughness : ON'
  307. bt = true
  308. repeat
  309. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  310. for i,v in pairs(game.Workspace["GameStuff"]:GetChildren()) do
  311. if v.Name == "MedTrainingRock" then
  312. v.CFrame = plr.CFrame
  313. wait()
  314. v.CanCollide = false
  315. end
  316. end
  317. wait()
  318. until bt == false
  319. else
  320. BodyToughness.Text = 'Body Toughness : OFF'
  321. bt = false
  322. end
  323. end)
  324.  
  325. local pt = false
  326.  
  327. Power_2.Name = "Power"
  328. Power_2.Parent = Teleports
  329. Power_2.BackgroundColor3 = Color3.new(0, 0, 0)
  330. Power_2.Position = UDim2.new(0, 0, 0.322666585, 0)
  331. Power_2.Size = UDim2.new(0, 125, 0, 50)
  332. Power_2.Font = Enum.Font.SourceSans
  333. Power_2.Text = "Power : OFF"
  334. Power_2.TextColor3 = Color3.new(1, 1, 1)
  335. Power_2.TextSize = 14
  336. Power_2.MouseButton1Down:connect(function()
  337. if not pt then
  338. Power_2.Text = 'Power : ON'
  339. pt = true
  340. repeat
  341. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  342. for i,v in pairs(game.Workspace["GameStuff"]:GetChildren()) do
  343. if v.Name == "MedAbyss" then
  344. v.CFrame = plr.CFrame
  345. v.CanCollide = false
  346. wait()
  347. end
  348. end
  349. wait()
  350. until pt == false
  351. else
  352. Power_2.Text = 'Power : OFF'
  353. pt = false
  354. end
  355. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement