vaqs

dsadsadsad

Jan 19th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.33 KB | None | 0 0
  1. local Player = game:GetService("Players").LocalPlayer
  2. local GuiParent = game.CoreGui
  3. local Gui = GuiParent:FindFirstChild("HexusGui") or Instance.new("ScreenGui", game.CoreGui)
  4. Gui.Name = "HexusGui"
  5. Gui:ClearAllChildren()
  6.  
  7. local GuiOpen = false
  8.  
  9. function GetPlayers(Name)
  10. if Name:lower() == "me" then
  11. return {Player}
  12. elseif Name:lower() == "all" then
  13. return game:GetService("Players"):GetPlayers()
  14. elseif Name:lower() == "others" then
  15. local t = {}
  16. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  17. if v.Name ~= Player.Name then
  18. t[#t+1] = v
  19. end
  20. end
  21. return t
  22. else
  23. local t = {}
  24. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  25. if v.Name:sub(1, #Name):lower() == Name:lower() then
  26. t[#t+1] = v
  27. end
  28. end
  29. return t
  30. end
  31. end
  32.  
  33. local MainFrame = Instance.new("Frame", Gui)
  34. MainFrame.Size = UDim2.new(0, 550, 0, 350)
  35. MainFrame.Draggable = true
  36. MainFrame.Active = true
  37. MainFrame.Position = UDim2.new(1, -560, 1, -370)
  38. MainFrame.BorderSizePixel = 3
  39. MainFrame.Style = "DropShadow"
  40.  
  41. local ArgumentBox = Instance.new("TextBox", MainFrame)
  42. ArgumentBox.Size = UDim2.new(0, 235, 0, 35)
  43. ArgumentBox.Position = UDim2.new(0, 20, 1, -55)
  44. ArgumentBox.BorderSizePixel = 0
  45. ArgumentBox.BackgroundColor = BrickColor.new("Dark grey metallic")
  46. ArgumentBox.Text = "Argument/Player"
  47. ArgumentBox.Font = "SourceSansLight"
  48. ArgumentBox.FontSize = 6
  49. ArgumentBox.TextColor = BrickColor.new("White")
  50.  
  51. local ArgumentBox2 = Instance.new("TextBox", MainFrame)
  52. ArgumentBox2.Size = UDim2.new(0, 235, 0, 35)
  53. ArgumentBox2.Position = UDim2.new(1, -255, 1, -55)
  54. ArgumentBox2.BorderSizePixel = 0
  55. ArgumentBox2.BackgroundColor = BrickColor.new("Dark grey metallic")
  56. ArgumentBox2.Text = "Argument/Player"
  57. ArgumentBox2.Font = "SourceSansLight"
  58. ArgumentBox2.FontSize = 6
  59. ArgumentBox2.TextColor = BrickColor.new("White")
  60.  
  61. local Button = Instance.new("TextButton", MainFrame)
  62. Button.Size = UDim2.new(0, 135, 0, 50)
  63. Button.Position = UDim2.new(0, 20, 0, 25)
  64. Button.Text = "God"
  65. Button.BorderSizePixel = 0
  66. Button.BackgroundTransparency = 0.2
  67. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  68. Button.TextColor = BrickColor.new("White")
  69. Button.Font = "SourceSansLight"
  70. Button.FontSize = 6
  71.  
  72. Button.MouseButton1Click:connect(function()
  73. local Plrs = GetPlayers(ArgumentBox.Text)
  74. for i, v in pairs(Plrs) do
  75. local Char = v.Character
  76. if Char then
  77. local Hum = Char:FindFirstChild("Humanoid")
  78. if Hum then
  79. Hum.MaxHealth = 1/0
  80. end
  81. end
  82. end
  83. end)
  84.  
  85. local Button = Instance.new("TextButton", MainFrame)
  86. Button.Size = UDim2.new(0, 135, 0, 50)
  87. Button.Position = UDim2.new(0, 200, 0, 25)
  88. Button.Text = "Kill"
  89. Button.BorderSizePixel = 0
  90. Button.BackgroundTransparency = 0.2
  91. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  92. Button.TextColor = BrickColor.new("White")
  93. Button.Font = "SourceSansLight"
  94. Button.FontSize = 6
  95.  
  96. Button.MouseButton1Click:connect(function()
  97. local Plrs = GetPlayers(ArgumentBox.Text)
  98. for i, v in pairs(Plrs) do
  99. local Char = v.Character
  100. if Char then
  101. Char:BreakJoints()
  102. end
  103. end
  104. end)
  105.  
  106. local Button = Instance.new("TextButton", MainFrame)
  107. Button.Size = UDim2.new(0, 135, 0, 50)
  108. Button.Position = UDim2.new(0, 375, 0, 25)
  109. Button.Text = "Crash"
  110. Button.BorderSizePixel = 0
  111. Button.BackgroundTransparency = 0.2
  112. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  113. Button.TextColor = BrickColor.new("White")
  114. Button.Font = "SourceSansLight"
  115. Button.FontSize = 6
  116.  
  117. Button.MouseButton1Click:connect(function()
  118. local Plrs = GetPlayers(ArgumentBox.Text)
  119. for i, v in pairs(Plrs) do
  120. local Char = v.Character
  121. if Char then
  122. local Hum = Char:FindFirstChild("Humanoid")
  123. if Hum then
  124. Hum.HipHeight = 0/0
  125. end
  126. end
  127. end
  128. end)
  129.  
  130. local Button = Instance.new("TextButton", MainFrame)
  131. Button.Size = UDim2.new(0, 135, 0, 50)
  132. Button.Position = UDim2.new(0, 20, 0, 90)
  133. Button.Text = "WalkSpeed +"
  134. Button.BorderSizePixel = 0
  135. Button.BackgroundTransparency = 0.2
  136. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  137. Button.TextColor = BrickColor.new("White")
  138. Button.Font = "SourceSansLight"
  139. Button.FontSize = 6
  140.  
  141. Button.MouseButton1Click:connect(function()
  142. local Plrs = GetPlayers(ArgumentBox.Text)
  143. for i, v in pairs(Plrs) do
  144. local Char = v.Character
  145. if Char then
  146. local Hum = Char:FindFirstChild("Humanoid")
  147. if Hum then
  148. Hum.WalkSpeed = Hum.WalkSpeed + 5
  149. end
  150. end
  151. end
  152. end)
  153.  
  154. local Button = Instance.new("TextButton", MainFrame)
  155. Button.Size = UDim2.new(0, 135, 0, 50)
  156. Button.Position = UDim2.new(0, 200, 0, 90)
  157. Button.Text = "WalkSpeed -"
  158. Button.BorderSizePixel = 0
  159. Button.BackgroundTransparency = 0.2
  160. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  161. Button.TextColor = BrickColor.new("White")
  162. Button.Font = "SourceSansLight"
  163. Button.FontSize = 6
  164.  
  165. Button.MouseButton1Click:connect(function()
  166. local Plrs = GetPlayers(ArgumentBox.Text)
  167. for i, v in pairs(Plrs) do
  168. local Char = v.Character
  169. if Char then
  170. local Hum = Char:FindFirstChild("Humanoid")
  171. if Hum then
  172. Hum.WalkSpeed = Hum.WalkSpeed - 5
  173. end
  174. end
  175. end
  176. end)
  177.  
  178. local Button = Instance.new("TextButton", MainFrame)
  179. Button.Size = UDim2.new(0, 135, 0, 50)
  180. Button.Position = UDim2.new(0, 375, 0, 90)
  181. Button.Text = "Fire"
  182. Button.BorderSizePixel = 0
  183. Button.BackgroundTransparency = 0.2
  184. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  185. Button.TextColor = BrickColor.new("White")
  186. Button.Font = "SourceSansLight"
  187. Button.FontSize = 6
  188.  
  189. Button.MouseButton1Click:connect(function()
  190. local Plrs = GetPlayers(ArgumentBox.Text)
  191. for i, v in pairs(Plrs) do
  192. local Char = v.Character
  193. if Char then
  194. local Torso = Char:FindFirstChild("Torso")
  195. if Torso then
  196. local F = Instance.new("Fire", Torso)
  197. end
  198. end
  199. end
  200. end)
  201.  
  202. local Button = Instance.new("TextButton", MainFrame)
  203. Button.Size = UDim2.new(0, 135, 0, 50)
  204. Button.Position = UDim2.new(0, 20, 0, 155)
  205. Button.Text = "TP"
  206. Button.BorderSizePixel = 0
  207. Button.BackgroundTransparency = 0.2
  208. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  209. Button.TextColor = BrickColor.new("White")
  210. Button.Font = "SourceSansLight"
  211. Button.FontSize = 6
  212.  
  213. Button.MouseButton1Click:connect(function()
  214. local Plr = GetPlayers(ArgumentBox2.Text)[1]
  215. local Plrs = GetPlayers(ArgumentBox.Text)
  216. for i, v in pairs(Plrs) do
  217. local Char = v.Character
  218. if Char and Plr.Character then
  219. local Torso = Char:FindFirstChild("HumanoidRootPart")
  220. if Torso and v.Character:FindFirstChild("Torso") then
  221. Torso.CFrame = Plr.Character.Torso.CFrame * CFrame.new(math.random(-4, 4), 0, math.random(-4, 4))
  222. end
  223. end
  224. end
  225. end)
  226.  
  227. local Button = Instance.new("TextButton", MainFrame)
  228. Button.Size = UDim2.new(0, 135, 0, 50)
  229. Button.Position = UDim2.new(0, 200, 0, 155)
  230. Button.Text = "Go To"
  231. Button.BorderSizePixel = 0
  232. Button.BackgroundTransparency = 0.2
  233. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  234. Button.TextColor = BrickColor.new("White")
  235. Button.Font = "SourceSansLight"
  236. Button.FontSize = 6
  237.  
  238. Button.MouseButton1Click:connect(function()
  239. local Plr = GetPlayers(ArgumentBox.Text)[1]
  240. local Char = Plr.Character
  241. if Char and Player.Character then
  242. local Torso = Char:FindFirstChild("HumanoidRootPart")
  243. if Torso and Player.Character:FindFirstChild("Humanoid") then
  244. Player.Character.HumanoidRootPart.CFrame = Torso.CFrame
  245. end
  246. end
  247. end)
  248.  
  249. local Button = Instance.new("TextButton", MainFrame)
  250. Button.Size = UDim2.new(0, 135, 0, 50)
  251. Button.Position = UDim2.new(0, 375, 0, 155)
  252. Button.Text = "Bring"
  253. Button.BorderSizePixel = 0
  254. Button.BackgroundTransparency = 0.2
  255. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  256. Button.TextColor = BrickColor.new("White")
  257. Button.Font = "SourceSansLight"
  258. Button.FontSize = 6
  259.  
  260. Button.MouseButton1Click:connect(function()
  261. local Plrs = GetPlayers(ArgumentBox.Text)
  262. for i, v in pairs(Plrs) do
  263. local Char = v.Character
  264. if Char and Player.Character then
  265. local Torso = Char:FindFirstChild("HumanoidRootPart")
  266. if Torso and v.Character:FindFirstChild("Torso") then
  267. Torso.CFrame = Player.Character.Torso.CFrame * CFrame.new(math.random(-4, 4), 0, math.random(-4, 4))
  268. end
  269. end
  270. end
  271. end)
  272.  
  273. local Button = Instance.new("TextButton", MainFrame)
  274. Button.Size = UDim2.new(0, 135, 0, 50)
  275. Button.Position = UDim2.new(0, 20, 0, 220)
  276. Button.Text = "Fling"
  277. Button.BorderSizePixel = 0
  278. Button.BackgroundTransparency = 0.2
  279. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  280. Button.TextColor = BrickColor.new("White")
  281. Button.Font = "SourceSansLight"
  282. Button.FontSize = 6
  283.  
  284. Button.MouseButton1Click:connect(function()
  285. local Plrs = GetPlayers(ArgumentBox.Text)
  286. for i, v in pairs(Plrs) do
  287. local Char = v.Character
  288. if Char then
  289. local Torso = Char:FindFirstChild("Torso")
  290. if Torso then
  291. local B = Instance.new("BodyForce", Torso)
  292. B.Force = Vector3.new(25000, 25000, 25000)
  293. end
  294. end
  295. end
  296. end)
  297.  
  298. local Button = Instance.new("TextButton", MainFrame)
  299. Button.Size = UDim2.new(0, 135, 0, 50)
  300. Button.Position = UDim2.new(0, 200, 0, 220)
  301. Button.Text = "Gravity"
  302. Button.BorderSizePixel = 0
  303. Button.BackgroundTransparency = 0.2
  304. Button.BackgroundColor = BrickColor.new("Dark grey metallic")
  305. Button.TextColor = BrickColor.new("White")
  306. Button.Font = "SourceSansLight"
  307. Button.FontSize = 6
  308.  
  309. Button.MouseButton1Click:connect(function()
  310. workspace.Gravity = tonumber(ArgumentBox.Text)
  311. end)
Add Comment
Please, Sign In to add comment