Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --<< Objs >>--
- local HexModV1 = Instance.new("ScreenGui")
- local Holder = Instance.new("Frame")
- local Holder2 = Instance.new("Frame")
- local Main = Instance.new("Frame")
- local Name = Instance.new("TextBox")
- local Aimbot = Instance.new("TextButton")
- local Fly = Instance.new("TextButton")
- local TextButton = Instance.new("TextButton")
- local Reload = Instance.new("TextButton")
- local Kill = Instance.new("TextButton")
- local God = Instance.new("TextButton")
- p = game.Players:GetChildren()
- local s = Instance.new("Sound")
- --<< Props >>--
- HexModV1.Name = "HexModV1"
- HexModV1.Parent = game.CoreGui
- Holder.Name = "Holder"
- Holder.Parent = HexModV1
- Holder.BackgroundColor3 = Color3.new(0.760784, 0.345098, 1)
- Holder.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
- Holder.Position = UDim2.new(0.248720571, 0, 0.24584718, 0)
- Holder.Size = UDim2.new(0, 275, 0, 13)
- Holder.Draggable = true
- Holder.Active = true
- Holder2.Name = "Holder2"
- Holder2.Parent = Holder
- Holder2.BackgroundColor3 = Color3.new(0.545098, 0.239216, 1)
- Holder2.BorderColor3 = Color3.new(0.545098, 0.239216, 1)
- Holder2.Position = UDim2.new(0, 0, 1, 0)
- Holder2.Size = UDim2.new(0, 275, 0, 9)
- Holder2.Active = true
- Main.Name = "Main"
- Main.Parent = Holder2
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.BorderColor3 = Color3.new(1, 1, 1)
- Main.Position = UDim2.new(0, 0, 1.5, 0)
- Main.Size = UDim2.new(0, 275, 0, 140)
- Main.Active = true
- Name.Name = "Name"
- Name.Parent = Main
- Name.BackgroundColor3 = Color3.new(1, 1, 1)
- Name.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
- Name.Position = UDim2.new(0.276363641, 0, 0.091101259, 0)
- Name.Size = UDim2.new(0, 124, 0, 28)
- Name.Font = Enum.Font.Code
- Name.Text = "Name"
- Name.TextSize = 14
- Name.Active = true
- Aimbot.Name = "Aimbot"
- Aimbot.Parent = Main
- Aimbot.BackgroundColor3 = Color3.new(0.545098, 0.239216, 1)
- Aimbot.BorderColor3 = Color3.new(0.545098, 0.239216, 1)
- Aimbot.Position = UDim2.new(0, 0, 0.695064843, 0)
- Aimbot.Size = UDim2.new(0, 82, 0, 33)
- Aimbot.Font = Enum.Font.Code
- Aimbot.Text = "Aimbot"
- Aimbot.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
- Aimbot.TextSize = 14
- Aimbot.TextStrokeColor3 = Color3.new(1, 1, 1)
- Aimbot.TextWrapped = true
- Aimbot.Active = true
- Fly.Name = "Fly"
- Fly.Parent = Main
- Fly.BackgroundColor3 = Color3.new(0.545098, 0.239216, 1)
- Fly.BorderColor3 = Color3.new(0.545098, 0.239216, 1)
- Fly.Position = UDim2.new(0.352727264, 0, 0.695064843, 0)
- Fly.Size = UDim2.new(0, 82, 0, 33)
- Fly.Font = Enum.Font.Code
- Fly.Text = "Fly[E]"
- Fly.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
- Fly.TextSize = 14
- Fly.TextStrokeColor3 = Color3.new(1, 1, 1)
- Fly.TextWrapped = true
- Fly.Active = true
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.new(0.545098, 0.239216, 1)
- TextButton.BorderColor3 = Color3.new(0.545098, 0.239216, 1)
- TextButton.Position = UDim2.new(0.701818168, 0, 0.695064843, 0)
- TextButton.Size = UDim2.new(0, 82, 0, 33)
- TextButton.Font = Enum.Font.Code
- TextButton.Text = "Credits"
- TextButton.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
- TextButton.TextSize = 14
- TextButton.TextStrokeColor3 = Color3.new(1, 1, 1)
- TextButton.TextWrapped = true
- TextButton.Active = true
- Reload.Name = "Reload"
- Reload.Parent = Main
- Reload.BackgroundColor3 = Color3.new(0.760784, 0.345098, 1)
- Reload.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
- Reload.Position = UDim2.new(0.352727264, 0, 0.398953915, 0)
- Reload.Size = UDim2.new(0, 82, 0, 33)
- Reload.Font = Enum.Font.Code
- Reload.Text = "Reload"
- Reload.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
- Reload.TextSize = 14
- Reload.TextStrokeColor3 = Color3.new(1, 1, 1)
- Reload.TextWrapped = true
- Reload.Active = true
- Kill.Name = "Kill"
- Kill.Parent = Main
- Kill.BackgroundColor3 = Color3.new(0.760784, 0.345098, 1)
- Kill.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
- Kill.Position = UDim2.new(0, 0, 0.398953915, 0)
- Kill.Size = UDim2.new(0, 82, 0, 33)
- Kill.Font = Enum.Font.Code
- Kill.Text = "Kill"
- Kill.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
- Kill.TextSize = 14
- Kill.TextStrokeColor3 = Color3.new(1, 1, 1)
- Kill.TextWrapped = true
- Kill.Active = true
- God.Name = "God"
- God.Parent = Main
- God.BackgroundColor3 = Color3.new(0.760784, 0.345098, 1)
- God.BorderColor3 = Color3.new(0.760784, 0.345098, 1)
- God.Position = UDim2.new(0.701818168, 0, 0.398953915, 0)
- God.Size = UDim2.new(0, 82, 0, 33)
- God.Font = Enum.Font.Code
- God.Text = "FeGod"
- God.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
- God.TextSize = 14
- God.TextStrokeColor3 = Color3.new(1, 1, 1)
- God.TextWrapped = true
- God.Active = true
- --<< Functions >>--
- function GetCamera()
- return workspace:FindFirstChildOfClass("Camera")
- end
- Kill.MouseButton1Down:Connect(function()
- if Name.Text == "All" or "all" then
- for i = 1, #p do
- game:GetService("Workspace").EVENTS["PLAYER_HIT"]:InvokeServer(game:GetService("Players")[p[i].Name], 100)
- end
- else
- game:GetService("Workspace").EVENTS["PLAYER_HIT"]:InvokeServer(game:GetService("Players")[Name.Text], 100)
- end
- end)
- Reload.MouseButton1Down:Connect(function()
- game:GetService("Workspace").EVENTS["PLAYER_REQUEST_GUN"]:FireServer()
- end)
- God.MouseButton1Down:Connect(function()
- while true do
- game:GetService("Workspace").EVENTS["PLAYER_HIT"]:InvokeServer(game:GetService("Players").LocalPlayer, -100)
- wait()
- end
- end)
- TextButton.MouseButton1Down:Connect(function()
- print("HexModV1 is Made by xHexLightz!")
- warn("Press ESC to move ur mouse!")
- end)
- Aimbot.MouseButton1Down:Connect(function()
- loadstring(game:GetObjects('rbxassetid://340856112')[1].Source)()
- wait()
- _G.FREE_FOR_ALL = true
- _G.BIND = 50
- _G.ESP_BIND = 52
- end)
- Fly.MouseButton1Down:Connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- 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
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- 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
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end)
- local mouse = game.Players.LocalPlayer:GetMouse()
- mouse.KeyDown:connect(function(k)
- if k == 'r' then
- game:GetService("Workspace").EVENTS["PLAYER_REQUEST_GUN"]:FireServer()
- end
- end)
- --<<>>----<<>>----<<>>----<<>>----<<>>----<<>>----<<>>----<<>>--
- s.Name = "Sound"
- s.SoundId = "http://www.roblox.com/asset/?id=1324272244"
- s.Volume = .5
- s.Looped = true
- s.archivable = false
- s.Playing = true
- s.Parent = game.Workspace
- --<<>>----<<>>----<<>>----<<>>----<<>>----<<>>----<<>>----<<>>--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement