Qamyz

Untitled

May 5th, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.08 KB | None | 0 0
  1. --<< Objs >>--
  2.  
  3. local HexModV1 = Instance.new("ScreenGui")
  4. local Holder = Instance.new("Frame")
  5. local Holder2 = Instance.new("Frame")
  6. local Main = Instance.new("Frame")
  7. local Name = Instance.new("TextBox")
  8. local Aimbot = Instance.new("TextButton")
  9. local Fly = Instance.new("TextButton")
  10. local TextButton = Instance.new("TextButton")
  11. local Reload = Instance.new("TextButton")
  12. local Kill = Instance.new("TextButton")
  13. local God = Instance.new("TextButton")
  14. p = game.Players:GetChildren()
  15. local s = Instance.new("Sound")
  16. --<< Props >>--
  17.  
  18. HexModV1.Name = "HexModV1"
  19. HexModV1.Parent = game.CoreGui
  20.  
  21. Holder.Name = "Holder"
  22. Holder.Parent = HexModV1
  23. Holder.BackgroundColor3 = Color3.new(0.760784, 0.345098, 1)
  24. Holder.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
  25. Holder.Position = UDim2.new(0.248720571, 0, 0.24584718, 0)
  26. Holder.Size = UDim2.new(0, 275, 0, 13)
  27. Holder.Draggable = true
  28. Holder.Active = true
  29.  
  30. Holder2.Name = "Holder2"
  31. Holder2.Parent = Holder
  32. Holder2.BackgroundColor3 = Color3.new(0.545098, 0.239216, 1)
  33. Holder2.BorderColor3 = Color3.new(0.545098, 0.239216, 1)
  34. Holder2.Position = UDim2.new(0, 0, 1, 0)
  35. Holder2.Size = UDim2.new(0, 275, 0, 9)
  36. Holder2.Active = true
  37.  
  38. Main.Name = "Main"
  39. Main.Parent = Holder2
  40. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  41. Main.BorderColor3 = Color3.new(1, 1, 1)
  42. Main.Position = UDim2.new(0, 0, 1.5, 0)
  43. Main.Size = UDim2.new(0, 275, 0, 140)
  44. Main.Active = true
  45.  
  46. Name.Name = "Name"
  47. Name.Parent = Main
  48. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  49. Name.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
  50. Name.Position = UDim2.new(0.276363641, 0, 0.091101259, 0)
  51. Name.Size = UDim2.new(0, 124, 0, 28)
  52. Name.Font = Enum.Font.Code
  53. Name.Text = "Name"
  54. Name.TextSize = 14
  55. Name.Active = true
  56.  
  57. Aimbot.Name = "Aimbot"
  58. Aimbot.Parent = Main
  59. Aimbot.BackgroundColor3 = Color3.new(0.545098, 0.239216, 1)
  60. Aimbot.BorderColor3 = Color3.new(0.545098, 0.239216, 1)
  61. Aimbot.Position = UDim2.new(0, 0, 0.695064843, 0)
  62. Aimbot.Size = UDim2.new(0, 82, 0, 33)
  63. Aimbot.Font = Enum.Font.Code
  64. Aimbot.Text = "Aimbot"
  65. Aimbot.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
  66. Aimbot.TextSize = 14
  67. Aimbot.TextStrokeColor3 = Color3.new(1, 1, 1)
  68. Aimbot.TextWrapped = true
  69. Aimbot.Active = true
  70.  
  71. Fly.Name = "Fly"
  72. Fly.Parent = Main
  73. Fly.BackgroundColor3 = Color3.new(0.545098, 0.239216, 1)
  74. Fly.BorderColor3 = Color3.new(0.545098, 0.239216, 1)
  75. Fly.Position = UDim2.new(0.352727264, 0, 0.695064843, 0)
  76. Fly.Size = UDim2.new(0, 82, 0, 33)
  77. Fly.Font = Enum.Font.Code
  78. Fly.Text = "Fly[E]"
  79. Fly.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
  80. Fly.TextSize = 14
  81. Fly.TextStrokeColor3 = Color3.new(1, 1, 1)
  82. Fly.TextWrapped = true
  83. Fly.Active = true
  84.  
  85. TextButton.Parent = Main
  86. TextButton.BackgroundColor3 = Color3.new(0.545098, 0.239216, 1)
  87. TextButton.BorderColor3 = Color3.new(0.545098, 0.239216, 1)
  88. TextButton.Position = UDim2.new(0.701818168, 0, 0.695064843, 0)
  89. TextButton.Size = UDim2.new(0, 82, 0, 33)
  90. TextButton.Font = Enum.Font.Code
  91. TextButton.Text = "Credits"
  92. TextButton.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
  93. TextButton.TextSize = 14
  94. TextButton.TextStrokeColor3 = Color3.new(1, 1, 1)
  95. TextButton.TextWrapped = true
  96. TextButton.Active = true
  97.  
  98. Reload.Name = "Reload"
  99. Reload.Parent = Main
  100. Reload.BackgroundColor3 = Color3.new(0.760784, 0.345098, 1)
  101. Reload.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
  102. Reload.Position = UDim2.new(0.352727264, 0, 0.398953915, 0)
  103. Reload.Size = UDim2.new(0, 82, 0, 33)
  104. Reload.Font = Enum.Font.Code
  105. Reload.Text = "Reload"
  106. Reload.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
  107. Reload.TextSize = 14
  108. Reload.TextStrokeColor3 = Color3.new(1, 1, 1)
  109. Reload.TextWrapped = true
  110. Reload.Active = true
  111.  
  112. Kill.Name = "Kill"
  113. Kill.Parent = Main
  114. Kill.BackgroundColor3 = Color3.new(0.760784, 0.345098, 1)
  115. Kill.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
  116. Kill.Position = UDim2.new(0, 0, 0.398953915, 0)
  117. Kill.Size = UDim2.new(0, 82, 0, 33)
  118. Kill.Font = Enum.Font.Code
  119. Kill.Text = "Kill"
  120. Kill.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
  121. Kill.TextSize = 14
  122. Kill.TextStrokeColor3 = Color3.new(1, 1, 1)
  123. Kill.TextWrapped = true
  124. Kill.Active = true
  125.  
  126. God.Name = "God"
  127. God.Parent = Main
  128. God.BackgroundColor3 = Color3.new(0.760784, 0.345098, 1)
  129. God.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
  130. God.Position = UDim2.new(0.701818168, 0, 0.398953915, 0)
  131. God.Size = UDim2.new(0, 82, 0, 33)
  132. God.Font = Enum.Font.Code
  133. God.Text = "FeGod"
  134. God.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
  135. God.TextSize = 14
  136. God.TextStrokeColor3 = Color3.new(1, 1, 1)
  137. God.TextWrapped = true
  138. God.Active = true
  139.  
  140. --<< Functions >>--
  141.  
  142.  
  143.  
  144. function GetCamera()
  145. return workspace:FindFirstChildOfClass("Camera")
  146. end
  147. Kill.MouseButton1Down:Connect(function()
  148. if Name.Text == "All" or "all" then
  149. for i = 1, #p do
  150. game:GetService("Workspace").EVENTS["PLAYER_HIT"]:InvokeServer(game:GetService("Players")[p[i].Name], 100)
  151. end
  152. else
  153. game:GetService("Workspace").EVENTS["PLAYER_HIT"]:InvokeServer(game:GetService("Players")[Name.Text], 100)
  154. end
  155. end)
  156. Reload.MouseButton1Down:Connect(function()
  157. game:GetService("Workspace").EVENTS["PLAYER_REQUEST_GUN"]:FireServer()
  158. end)
  159.  
  160. God.MouseButton1Down:Connect(function()
  161. while true do
  162. game:GetService("Workspace").EVENTS["PLAYER_HIT"]:InvokeServer(game:GetService("Players").LocalPlayer, -100)
  163. wait()
  164. end
  165. end)
  166. TextButton.MouseButton1Down:Connect(function()
  167. print("HexModV1 is Made by xHexLightz!")
  168. warn("Press ESC to move ur mouse!")
  169. end)
  170. Aimbot.MouseButton1Down:Connect(function()
  171. loadstring(game:GetObjects('rbxassetid://340856112')[1].Source)()
  172. wait()
  173. _G.FREE_FOR_ALL = true
  174. _G.BIND = 50
  175. _G.ESP_BIND = 52
  176.  
  177. end)
  178.  
  179. Fly.MouseButton1Down:Connect(function()
  180. repeat wait()
  181. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  182. local mouse = game.Players.LocalPlayer:GetMouse()
  183. repeat wait() until mouse
  184. local plr = game.Players.LocalPlayer
  185. local torso = plr.Character.Torso
  186. local flying = true
  187. local deb = true
  188. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  189. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  190. local maxspeed = 50
  191. local speed = 0
  192.  
  193. function Fly()
  194. local bg = Instance.new("BodyGyro", torso)
  195. bg.P = 9e4
  196. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  197. bg.cframe = torso.CFrame
  198. local bv = Instance.new("BodyVelocity", torso)
  199. bv.velocity = Vector3.new(0,0.1,0)
  200. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  201. repeat wait()
  202. plr.Character.Humanoid.PlatformStand = true
  203. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  204. speed = speed+.5+(speed/maxspeed)
  205. if speed > maxspeed then
  206. speed = maxspeed
  207. end
  208. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  209. speed = speed-1
  210. if speed < 0 then
  211. speed = 0
  212. end
  213. end
  214. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  215. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  216. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  217. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  218. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  219. else
  220. bv.velocity = Vector3.new(0,0.1,0)
  221. end
  222. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  223. until not flying
  224. ctrl = {f = 0, b = 0, l = 0, r = 0}
  225. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  226. speed = 0
  227. bg:Destroy()
  228. bv:Destroy()
  229. plr.Character.Humanoid.PlatformStand = false
  230. end
  231. mouse.KeyDown:connect(function(key)
  232. if key:lower() == "e" then
  233. if flying then flying = false
  234. else
  235. flying = true
  236. Fly()
  237. end
  238. elseif key:lower() == "w" then
  239. ctrl.f = 1
  240. elseif key:lower() == "s" then
  241. ctrl.b = -1
  242. elseif key:lower() == "a" then
  243. ctrl.l = -1
  244. elseif key:lower() == "d" then
  245. ctrl.r = 1
  246. end
  247. end)
  248. mouse.KeyUp:connect(function(key)
  249. if key:lower() == "w" then
  250. ctrl.f = 0
  251. elseif key:lower() == "s" then
  252. ctrl.b = 0
  253. elseif key:lower() == "a" then
  254. ctrl.l = 0
  255. elseif key:lower() == "d" then
  256. ctrl.r = 0
  257. end
  258. end)
  259. Fly()
  260. end)
  261.  
  262. local mouse = game.Players.LocalPlayer:GetMouse()
  263. mouse.KeyDown:connect(function(k)
  264. if k == 'r' then
  265. game:GetService("Workspace").EVENTS["PLAYER_REQUEST_GUN"]:FireServer()
  266. end
  267. end)
  268. --<<>>----<<>>----<<>>----<<>>----<<>>----<<>>----<<>>----<<>>--
  269. s.Name = "Sound"
  270. s.SoundId = "http://www.roblox.com/asset/?id=1324272244"
  271. s.Volume = .5
  272. s.Looped = true
  273. s.archivable = false
  274. s.Playing = true
  275. s.Parent = game.Workspace
  276. --<<>>----<<>>----<<>>----<<>>----<<>>----<<>>----<<>>----<<>>--
Add Comment
Please, Sign In to add comment