0% found this document useful (0 votes)
125 views22 pages

Roblox Aimbot Script Settings

Uploaded by

akyuz.kerim11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
125 views22 pages

Roblox Aimbot Script Settings

Uploaded by

akyuz.kerim11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

_G.

aimDebug = true --FOV Checker is still wonky - Keep this setting on or you can't
have FOV checker on

--Stuff you can customize


local settings = {
Binds = {
Aimbot = "f",
Hide = "=" --[=] by default but is not required
},
Aimbot = {
FOV = 15, --The smaller the less space to lock on | 15 by default
Closest = false, --Targets closest player, otherwise does closest to
mouse | False by default
HoldKey = true, --False by default
TeamCheck = false --False by default
},
Color = {
["CheckboxOff"] = Color3.fromRGB(255, 0, 0), --[255, 0, 0] by default
(Red)
["CheckboxOn"] = Color3.fromRGB(0, 255, 0), --[0, 255, 0] by default
(Green)

["Border"] = Color3.fromRGB(235, 115, 17), --[235, 115, 17] by default


["Background"] = Color3.fromRGB(30, 30, 30), --[30, 30, 30] by default
["Text"] = Color3.fromRGB(255, 255, 255) --[255, 255, 255] by default
}
}

------------------------------
----Stuff you don't touch:----
------------------------------
local Aimbot_SG = Instance.new("ScreenGui")

local gPlayers = game:GetService("Players")


local gPlr = gPlayers.LocalPlayer
local plr = gPlr.Name
local gUIS = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera

local InputBegan, InputEnded, BindPressed, AimbotStepped

local gotstring = 1
local function getrandomstring()
gotstring = gotstring+666
local str = ""
local randomstring = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "g", "k",
"l", "m", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
"?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","
?","?","?","?","?","?","?","?","?","?","?", "`", "$",
"0","1","2","3","4","5","6","7","8","9", }
local counting123 = 0
for i, v in ipairs(randomstring) do
counting123 = i
end
do
math.randomseed(tick()+gotstring)
for i = 3, math.random(1,100) do
math.randomseed(i+tick()+gotstring)
local oneortwo = math.random(1,2)
if oneortwo == 2 then
math.randomseed(i+tick()+gotstring)
str = str..""..randomstring[math.random(1, counting123)]
else
math.randomseed(i+tick()+gotstring)
str = str..""..string.upper(randomstring[math.random(1,
counting123)])
end
end
end
return str
end

-----------------------------
--------Actual Stuff:--------
-----------------------------
local AimbotSG_Name = "$?8??4V32HTT?B?T17O9IA282??I6A"
local valid = nil

if (settings.Binds.Aimbot and settings.Binds.Hide) then


valid = true
for i,v in pairs(settings) do
if (v == nil) then
valid = false
break
end
end
end

if (valid) then

if (game.CoreGui:FindFirstChild(AimbotSG_Name)) then
warn("Attempted to open another aimbot GUI again!")
return
end

--=========================================================--

local aimKey = settings.Binds.Aimbot:lower()


local hideKey = settings.Binds.Hide:lower()

-- Instances:
local Title_Frame = Instance.new("Frame")
local Title_Label = Instance.new("TextLabel")
local Exit_BTN = Instance.new("TextButton")
local Minimize_BTN = Instance.new("TextButton")
local Aimbot_Frame = Instance.new("Frame")
local HoldKey_CB = Instance.new("TextButton")
local TeamCheck_CB = Instance.new("TextButton")
local AimbotKey_TB = Instance.new("TextBox")
local AimbotKey_Label = Instance.new("TextLabel")
local HoldKey_Label = Instance.new("TextLabel")
local CyclePart_BTN = Instance.new("TextButton")
local Part_Label = Instance.new("TextLabel")
local TeamCheck_Label = Instance.new("TextLabel")
local Status_Label = Instance.new("TextLabel")

--Properties:
Aimbot_SG.Name = AimbotSG_Name
Aimbot_SG.Parent = game:WaitForChild("CoreGui")
Aimbot_SG.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Aimbot_SG.ResetOnSpawn = false

Title_Frame.Name = getrandomstring()
Title_Frame.Parent = Aimbot_SG
Title_Frame.BackgroundColor3 = settings.Color.Border
Title_Frame.BorderSizePixel = 0
Title_Frame.Position = UDim2.new(0.0216195825, 0, 0.254411727, 0)
Title_Frame.Size = UDim2.new(0, 225, 0, 25)
Title_Frame.Active = true
Title_Frame.Draggable = true

Title_Label.Name = getrandomstring()
Title_Label.Parent = Title_Frame
Title_Label.BackgroundColor3 = settings.Color.Border
Title_Label.BorderSizePixel = 0
Title_Label.Position = UDim2.new(-0.0266666673, 0, 0, 0)
Title_Label.Size = UDim2.new(0, 175, 0, 25)
Title_Label.Font = Enum.Font.SourceSans
Title_Label.Text = "HexWare Aimbot"
Title_Label.TextColor3 = settings.Color.Text
Title_Label.TextScaled = true
Title_Label.TextSize = 14.000
Title_Label.TextWrapped = true

Exit_BTN.Name = getrandomstring()
Exit_BTN.Parent = Title_Frame
Exit_BTN.BackgroundColor3 = settings.Color.Border
Exit_BTN.BorderColor3 = Color3.fromRGB(27, 42, 53)
Exit_BTN.BorderSizePixel = 0
Exit_BTN.Position = UDim2.new(0.884444475, 0, 0, 0)
Exit_BTN.Size = UDim2.new(0, 25, 0, 25)
Exit_BTN.Font = Enum.Font.SourceSans
Exit_BTN.Text = "X"
Exit_BTN.TextColor3 = settings.Color.Text
Exit_BTN.TextScaled = true
Exit_BTN.TextSize = 14.000
Exit_BTN.TextWrapped = true

Minimize_BTN.Name = getrandomstring()
Minimize_BTN.Parent = Title_Frame
Minimize_BTN.BackgroundColor3 = settings.Color.Border
Minimize_BTN.BorderColor3 = Color3.fromRGB(27, 42, 53)
Minimize_BTN.BorderSizePixel = 0
Minimize_BTN.Position = UDim2.new(0.773333371, 0, 0, 0)
Minimize_BTN.Size = UDim2.new(0, 25, 0, 25)
Minimize_BTN.Font = Enum.Font.SourceSans
Minimize_BTN.Text = "-"
Minimize_BTN.TextColor3 = settings.Color.Text
Minimize_BTN.TextScaled = true
Minimize_BTN.TextSize = 14.000
Minimize_BTN.TextWrapped = true

Aimbot_Frame.Name = getrandomstring()
Aimbot_Frame.Parent = Title_Frame
Aimbot_Frame.BackgroundColor3 = settings.Color.Background
Aimbot_Frame.BorderSizePixel = 0
Aimbot_Frame.Position = UDim2.new(-0.0266666673, 0, 0.976347685, 0)
Aimbot_Frame.Size = UDim2.new(0, 230, 0, 216)

--[[
HoldKey_CB.Instance.Name = "lol"
HoldKey_CB.Instance.Parent = Aimbot_Frame
HoldKey_CB.Instance.BackgroundColor3 = settings.Color.CheckboxOff
HoldKey_CB.Instance.BorderColor3 = settings.Color.Border
HoldKey_CB.Instance.Position = UDim2.new(0.0400000066, 0, 0.474999994, 0)
HoldKey_CB.Instance.Size = UDim2.new(0, 25, 0, 25)
HoldKey_CB.Instance.Font = Enum.Font.SourceSans
HoldKey_CB.Instance.Text = ""
HoldKey_CB.Instance.TextColor3 = Color3.fromRGB(0, 0, 0)
HoldKey_CB.Instance.TextSize = 14.000
]]--
--
HoldKey_CB.Name = getrandomstring()
HoldKey_CB.Parent = Aimbot_Frame
HoldKey_CB.BackgroundColor3 = settings.Color.CheckboxOff
HoldKey_CB.BorderColor3 = settings.Color.Border
HoldKey_CB.Position = UDim2.new(0.0400000066, 0, 0.474999994, 0)
HoldKey_CB.Size = UDim2.new(0, 25, 0, 25)
HoldKey_CB.Font = Enum.Font.SourceSans
HoldKey_CB.Text = ""
HoldKey_CB.TextColor3 = Color3.fromRGB(0, 0, 0)
HoldKey_CB.TextSize = 14.000
--

TeamCheck_CB.Name = getrandomstring()
TeamCheck_CB.Parent = Aimbot_Frame
TeamCheck_CB.BackgroundColor3 = settings.Color.CheckboxOff
TeamCheck_CB.BorderColor3 = settings.Color.Border
TeamCheck_CB.Position = UDim2.new(0.0400000066, 0, 0.637500048, 0)
TeamCheck_CB.Size = UDim2.new(0, 25, 0, 25)
TeamCheck_CB.Font = Enum.Font.SourceSans
TeamCheck_CB.Text = ""
TeamCheck_CB.TextColor3 = Color3.fromRGB(0, 0, 0)
TeamCheck_CB.TextSize = 14.000

AimbotKey_TB.Name = getrandomstring()
AimbotKey_TB.Parent = Aimbot_Frame
AimbotKey_TB.BackgroundColor3 = settings.Color.Text
AimbotKey_TB.Position = UDim2.new(0.0400000066, 0, 0.0620370433, 0)
AimbotKey_TB.Size = UDim2.new(0, 25, 0, 25)
AimbotKey_TB.Font = Enum.Font.SourceSans
AimbotKey_TB.Text = aimKey
AimbotKey_TB.TextColor3 = Color3.fromRGB(0, 0, 0)
AimbotKey_TB.TextSize = 17.000

AimbotKey_Label.Name = getrandomstring()
AimbotKey_Label.Parent = Aimbot_Frame
AimbotKey_Label.BackgroundColor3 = settings.Color.Background
AimbotKey_Label.BorderSizePixel = 0
AimbotKey_Label.Position = UDim2.new(0.186666653, 0, 0.0620370433, 0)
AimbotKey_Label.Size = UDim2.new(0, 180, 0, 25)
AimbotKey_Label.Font = Enum.Font.SourceSans
AimbotKey_Label.Text = "Aimbot Key: "..aimKey
AimbotKey_Label.TextColor3 = settings.Color.Text
AimbotKey_Label.TextSize = 23.000
AimbotKey_Label.TextWrapped = true
AimbotKey_Label.TextXAlignment = Enum.TextXAlignment.Left

HoldKey_Label.Name = getrandomstring()
HoldKey_Label.Parent = Aimbot_Frame
HoldKey_Label.BackgroundColor3 = settings.Color.Background
HoldKey_Label.BorderSizePixel = 0
HoldKey_Label.Position = UDim2.new(0.186666653, 0, 0.474999994, 0)
HoldKey_Label.Size = UDim2.new(0, 180, 0, 25)
HoldKey_Label.Font = Enum.Font.SourceSans
HoldKey_Label.Text = "Hold Key"
HoldKey_Label.TextColor3 = settings.Color.Text
HoldKey_Label.TextSize = 23.000
HoldKey_Label.TextWrapped = true
HoldKey_Label.TextXAlignment = Enum.TextXAlignment.Left

CyclePart_BTN.Name = getrandomstring()
CyclePart_BTN.Parent = Aimbot_Frame
CyclePart_BTN.BackgroundColor3 = settings.Color.Background
CyclePart_BTN.BorderColor3 = settings.Color.Text
CyclePart_BTN.Position = UDim2.new(0.0400000066, 0, 0.213888898, 0)
CyclePart_BTN.Size = UDim2.new(0, 25, 0, 25)
CyclePart_BTN.Font = Enum.Font.SourceSans
CyclePart_BTN.Text = ""
CyclePart_BTN.TextColor3 = Color3.fromRGB(0, 0, 0)
CyclePart_BTN.TextSize = 14.000

Part_Label.Name = getrandomstring()
Part_Label.Parent = Aimbot_Frame
Part_Label.BackgroundColor3 = settings.Color.Background
Part_Label.BorderSizePixel = 0
Part_Label.Position = UDim2.new(0.186666653, 0, 0.213888928, 0)
Part_Label.Size = UDim2.new(0, 180, 0, 25)
Part_Label.Font = Enum.Font.SourceSans
Part_Label.Text = "Part: Head"
Part_Label.TextColor3 = settings.Color.Text
Part_Label.TextSize = 23.000
Part_Label.TextWrapped = true
Part_Label.TextXAlignment = Enum.TextXAlignment.Left

TeamCheck_Label.Name = getrandomstring()
TeamCheck_Label.Parent = Aimbot_Frame
TeamCheck_Label.BackgroundColor3 = settings.Color.Background
TeamCheck_Label.BorderSizePixel = 0
TeamCheck_Label.Position = UDim2.new(0.186666653, 0, 0.637499988, 0)
TeamCheck_Label.Size = UDim2.new(0, 180, 0, 25)
TeamCheck_Label.Font = Enum.Font.SourceSans
TeamCheck_Label.Text = "Team Check"
TeamCheck_Label.TextColor3 = settings.Color.Text
TeamCheck_Label.TextSize = 23.000
TeamCheck_Label.TextWrapped = true
TeamCheck_Label.TextXAlignment = Enum.TextXAlignment.Left

Status_Label.Name = getrandomstring()
Status_Label.Parent = Aimbot_Frame
Status_Label.BackgroundColor3 = settings.Color.Background
Status_Label.BorderSizePixel = 0
Status_Label.Position = UDim2.new(0.146666676, 0, 0.829166651, 0)
Status_Label.Size = UDim2.new(0, 158, 0, 25)
Status_Label.Font = Enum.Font.SourceSans
Status_Label.Text = "Aimbot: Disabled"
Status_Label.TextColor3 = settings.Color.Text
Status_Label.TextSize = 25.000

----------------------------------------
------------Events and stuff:-----------
----------------------------------------
local HoldKey = settings.Aimbot.HoldKey
local TeamCheck = settings.Aimbot.TeamCheck
local AimbotStarted = nil

if (HoldKey) then
HoldKey_CB.BackgroundColor3 = settings.Color.CheckboxOn
end
if (TeamCheck) then
TeamCheck_CB.BackgroundColor3 = settings.Color.CheckboxOn
end

function dispose()
if (AimbotStepped) then
AimbotStepped:Disconnect()
end
AimbotStarted = false
Status_Label.Text = "HexWare Aimbot: Disabled"
end

function playerRoot(playerChar)
if (playerChar) then --HRP/Torso: R6 | UpperTorso: R15
local root = playerChar:FindFirstChild("HumanoidRootPart") or
playerChar:FindFirstChild("Torso") or
playerChar:FindFirstChild("UpperTorso")
return root
end
return nil
end

function getfovxyz(p0, p1, deg)


local x1, y1, z1 = p0:ToOrientation()
local cf = CFrame.new(p0.p, p1.p)
local x2, y2, z2 = cf:ToOrientation()
local d = math.deg
if (deg) then
return Vector3.new(d(x1 - x2), d(y1 - y2), d(z1 - z2))
else
return Vector3.new((x1 - x2), (y1 - y2), (z1 - z2))
end
end

function checkfov(part)
local fov = getfovxyz(Camera.CFrame, part.CFrame)
local angle = math.abs(fov.X) + math.abs(fov.Y)
return angle
end

Exit_BTN.MouseButton1Click:Connect(function()
dispose()
--InputBegan:Disconnect()
InputEnded:Disconnect()
BindPressed:Disconnect()
Aimbot_SG:Destroy()
end)

Minimize_BTN.MouseButton1Click:Connect(function()
if (Aimbot_Frame.Visible) then
Aimbot_Frame.Visible = false
else
Aimbot_Frame.Visible = true
end
end)

local TargetPart = 1 --1 = Head | 2 = Root


local otherParts = {"Left Arm", "Right Arm", "Left Leg", "Right Leg"}
CyclePart_BTN.MouseButton1Click:Connect(function()
if (TargetPart == 1) then
TargetPart = 2
Part_Label.Text = "Part: Root (Center)"
elseif (TargetPart == 6) then
TargetPart = 1
Part_Label.Text = "Part: Head"
else
TargetPart = TargetPart + 1
Part_Label.Text = "Part: "..otherParts[TargetPart - 2]
end
end)

AimbotKey_TB:GetPropertyChangedSignal("Text"):Connect(function()
local text = AimbotKey_TB.Text
if (text ~= "") then
local firstChar = text:sub(1,1):lower()
aimKey = firstChar

AimbotKey_TB.Text = firstChar
AimbotKey_Label.Text = "Aimbot Key: "..aimKey
AimbotKey_TB:ReleaseFocus()
end
end)

HoldKey_CB.MouseButton1Click:Connect(function()
if (HoldKey) then
HoldKey_CB.BackgroundColor3 = settings.Color.CheckboxOff
HoldKey = false
else
HoldKey_CB.BackgroundColor3 = settings.Color.CheckboxOn
HoldKey = true
end
end)

TeamCheck_CB.MouseButton1Click:Connect(function()
if (TeamCheck) then
TeamCheck_CB.BackgroundColor3 = settings.Color.CheckboxOff
TeamCheck = false
else
TeamCheck_CB.BackgroundColor3 = settings.Color.CheckboxOn
TeamCheck = true
end
end)
-----

BindPressed = gPlr:GetMouse().KeyDown:Connect(function(key)
local keyValue = key:byte()
if (keyValue == aimKey:byte()) then
if (AimbotStarted and not HoldKey) then
dispose()
return
end
---
local mouse, playerTarget = gPlr:GetMouse(), nil
if (settings.Aimbot.Closest) then
local plrChar = gPlr.Character
local plrRoot = playerRoot(plrChar)
if (not plrChar or not playerRoot(plrChar)) then
playerTarget = nil
return
end

local nearDist = math.huge


local nearest = nil
for _,target in pairs(gPlayers:GetPlayers()) do
if (target ~= gPlr and target.Character and
playerRoot(target.Character)) then
local charDist =
target:DistanceFromCharacter(plrRoot.Position)
if (charDist < nearDist) then
nearDist = charDist
nearest = target
end
end
end
playerTarget = nearest
else
if not (_G.aimDebug) then --If off, then defaults to closest
player
--
local pos = mouse.Hit.p
local targetPos = Vector3.new(pos.X, pos.Y, pos.Z)

local nearDist = math.huge


local nearest = nil
for _,target in pairs(gPlayers:GetPlayers()) do
if (target ~= gPlr and target.Character and
playerRoot(target.Character)) then
local charDist =
target:DistanceFromCharacter(targetPos)
if (charDist < nearDist) then
nearDist = charDist
nearest = target
end
end
end

playerTarget = nearest
--
else --Experimental
--
local maxangle = math.rad(settings.Aimbot.FOV)
local closestToMouse = nil
for i,player in pairs(gPlayers:GetChildren()) do
local pChar = player.Character
if not (pChar) then return end

local part = playerRoot(pChar) or


pChar:FindFirstChild("Head")
if (player.Name ~= plr and part) then
local angle = checkfov(part)
if (angle <= maxangle) then
maxangle = angle
closestToMouse = player
end
end
end
playerTarget = closestToMouse
--
end
end
if (playerTarget == nil) then return end
AimbotStepped =
game:GetService("RunService").RenderStepped:Connect(function()
if (AimbotStarted and playerTarget and playerTarget.Character)
then
local part = nil

--Check stuff
if (TargetPart == 1) then --Head
part = playerTarget.Character:FindFirstChild("Head")
elseif (TargetPart == 2) then --Root
part = playerRoot(playerTarget.Character)
else
part =
playerTarget.Character:FindFirstChild(otherParts[TargetPart - 2])
end

--Actual stuff now


if (part) then

if (TeamCheck) then
if (playerTarget.Team ~= gPlr.Team) then
Camera.CoordinateFrame =
CFrame.new(Camera.CoordinateFrame.p, part.CFrame.p)
end
else
Camera.CoordinateFrame =
CFrame.new(Camera.CoordinateFrame.p, part.CFrame.p)
end
end
end
end)
---
Status_Label.Text = "Aimbot: Enabled"
AimbotStarted = true
elseif (keyValue == hideKey:byte()) then
if (Aimbot_Frame.Visible) then
Aimbot_Frame.Visible = false
else
Aimbot_Frame.Visible = true
end
end
end)

InputEnded = gUIS.InputEnded:Connect(function(key)
if (HoldKey and key.KeyCode.Value == aimKey:byte()) then
dispose()
end
end)

print("Loaded Hexware aimbot Aimbot GUI")

else
warn("Something in settings was invalid! Check your binds and color settings!")
end

local main = Instance.new("ScreenGui")


local Frame = Instance.new("Frame")
local up = Instance.new("TextButton")
local down = Instance.new("TextButton")
local onof = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
local plus = Instance.new("TextButton")
local speed = Instance.new("TextLabel")
local mine = Instance.new("TextButton")
local closebutton = Instance.new("TextButton")
local mini = Instance.new("TextButton")
local mini2 = Instance.new("TextButton")

main.Name = "main"
main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
main.ResetOnSpawn = false

Frame.Parent = main
Frame.BackgroundColor3 = Color3.fromRGB(163, 255, 137)
Frame.BorderColor3 = Color3.fromRGB(103, 221, 213)
Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
Frame.Size = UDim2.new(0, 190, 0, 57)

up.Name = "up"
up.Parent = Frame
up.BackgroundColor3 = Color3.fromRGB(79, 255, 152)
up.Size = UDim2.new(0, 44, 0, 28)
up.Font = Enum.Font.SourceSans
up.Text = "UP"
up.TextColor3 = Color3.fromRGB(0, 0, 0)
up.TextSize = 14.000

down.Name = "down"
down.Parent = Frame
down.BackgroundColor3 = Color3.fromRGB(215, 255, 121)
down.Position = UDim2.new(0, 0, 0.491228074, 0)
down.Size = UDim2.new(0, 44, 0, 28)
down.Font = Enum.Font.SourceSans
down.Text = "DOWN"
down.TextColor3 = Color3.fromRGB(0, 0, 0)
down.TextSize = 14.000
onof.Name = "onof"
onof.Parent = Frame
onof.BackgroundColor3 = Color3.fromRGB(255, 249, 74)
onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
onof.Size = UDim2.new(0, 56, 0, 28)
onof.Font = Enum.Font.SourceSans
onof.Text = "fly"
onof.TextColor3 = Color3.fromRGB(0, 0, 0)
onof.TextSize = 14.000

TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(242, 60, 255)
TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
TextLabel.Size = UDim2.new(0, 100, 0, 28)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "HexWare FLY MENU"
TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
TextLabel.TextScaled = true
TextLabel.TextSize = 14.000
TextLabel.TextWrapped = true

plus.Name = "plus"
plus.Parent = Frame
plus.BackgroundColor3 = Color3.fromRGB(133, 145, 255)
plus.Position = UDim2.new(0.231578946, 0, 0, 0)
plus.Size = UDim2.new(0, 45, 0, 28)
plus.Font = Enum.Font.SourceSans
plus.Text = "+"
plus.TextColor3 = Color3.fromRGB(0, 0, 0)
plus.TextScaled = true
plus.TextSize = 14.000
plus.TextWrapped = true

speed.Name = "speed"
speed.Parent = Frame
speed.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
speed.Size = UDim2.new(0, 44, 0, 28)
speed.Font = Enum.Font.SourceSans
speed.Text = "1"
speed.TextColor3 = Color3.fromRGB(0, 0, 0)
speed.TextScaled = true
speed.TextSize = 14.000
speed.TextWrapped = true

mine.Name = "mine"
mine.Parent = Frame
mine.BackgroundColor3 = Color3.fromRGB(123, 255, 247)
mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
mine.Size = UDim2.new(0, 45, 0, 29)
mine.Font = Enum.Font.SourceSans
mine.Text = "-"
mine.TextColor3 = Color3.fromRGB(0, 0, 0)
mine.TextScaled = true
mine.TextSize = 14.000
mine.TextWrapped = true

closebutton.Name = "Close"
closebutton.Parent = main.Frame
closebutton.BackgroundColor3 = Color3.fromRGB(225, 25, 0)
closebutton.Font = "SourceSans"
closebutton.Size = UDim2.new(0, 45, 0, 28)
closebutton.Text = "X"
closebutton.TextSize = 30
closebutton.Position = UDim2.new(0, 0, -1, 27)

mini.Name = "minimize"
mini.Parent = main.Frame
mini.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
mini.Font = "SourceSans"
mini.Size = UDim2.new(0, 45, 0, 28)
mini.Text = "-"
mini.TextSize = 40
mini.Position = UDim2.new(0, 44, -1, 27)

mini2.Name = "minimize2"
mini2.Parent = main.Frame
mini2.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
mini2.Font = "SourceSans"
mini2.Size = UDim2.new(0, 45, 0, 28)
mini2.Text = "+"
mini2.TextSize = 40
mini2.Position = UDim2.new(0, 44, -1, 57)
mini2.Visible = false

speeds = 1

local speaker = game:GetService("Players").LocalPlayer

local chr = game.Players.LocalPlayer.Character


local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")

nowe = false

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "HexWare FLY system loaded.";
Text = "By Hexeriss";
Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
Duration = 5;

Frame.Active = true -- main = gui


Frame.Draggable = true

onof.MouseButton1Down:connect(function()

if nowe == true then


nowe = false

speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,
true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,
true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics
,true)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
else
nowe = true

for i = 1, speeds do
spawn(function()

local hb = game:GetService("RunService").Heartbeat

tpwalking = true
local chr = game.Players.LocalPlayer.Character
local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
while tpwalking and hb:Wait() and chr and hum and hum.Parent do
if hum.MoveDirection.Magnitude > 0 then
chr:TranslateBy(hum.MoveDirection)
end
end

end)
end
game.Players.LocalPlayer.Character.Animate.Disabled = true
local Char = game.Players.LocalPlayer.Character
local Hum = Char:FindFirstChildOfClass("Humanoid") or
Char:FindFirstChildOfClass("AnimationController")

for i,v in next, Hum:GetPlayingAnimationTracks() do


v:AdjustSpeed(0)
end
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false
)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,
false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,
false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics
,false)
speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
end

if
game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").
RigType == Enum.HumanoidRigType.R6 then

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

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)
if nowe == true then
plr.Character.Humanoid.PlatformStand = true
end
while nowe == true or
game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
game:GetService("RunService").RenderStepped:Wait()

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,0)
end
--game.Players.LocalPlayer.Character.Animate.Disabled = true
bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-
math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
end
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
game.Players.LocalPlayer.Character.Animate.Disabled = false
tpwalking = false

else
local plr = game.Players.LocalPlayer
local UpperTorso = plr.Character.UpperTorso
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

local bg = Instance.new("BodyGyro", UpperTorso)


bg.P = 9e4
bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
bg.cframe = UpperTorso.CFrame
local bv = Instance.new("BodyVelocity", UpperTorso)
bv.velocity = Vector3.new(0,0.1,0)
bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
if nowe == true then
plr.Character.Humanoid.PlatformStand = true
end
while nowe == true or
game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
wait()

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,0)
end

bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-


math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
end
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
game.Players.LocalPlayer.Character.Animate.Disabled = false
tpwalking = false

end

end)

local tis

up.MouseButton1Down:connect(function()
tis = up.MouseEnter:connect(function()
while tis do
wait()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0)
end
end)
end)

up.MouseLeave:connect(function()
if tis then
tis:Disconnect()
tis = nil
end
end)

local dis

down.MouseButton1Down:connect(function()
dis = down.MouseEnter:connect(function()
while dis do
wait()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-1,0)
end
end)
end)

down.MouseLeave:connect(function()
if dis then
dis:Disconnect()
dis = nil
end
end)

game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char)
wait(0.7)
game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
game.Players.LocalPlayer.Character.Animate.Disabled = false

end)

plus.MouseButton1Down:connect(function()
speeds = speeds + 1
speed.Text = speeds
if nowe == true then

tpwalking = false
for i = 1, speeds do
spawn(function()

local hb = game:GetService("RunService").Heartbeat

tpwalking = true
local chr = game.Players.LocalPlayer.Character
local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
while tpwalking and hb:Wait() and chr and hum and hum.Parent do
if hum.MoveDirection.Magnitude > 0 then
chr:TranslateBy(hum.MoveDirection)
end
end

end)
end
end
end)
mine.MouseButton1Down:connect(function()
if speeds == 1 then
speed.Text = 'cannot be less than 1'
wait(1)
speed.Text = speeds
else
speeds = speeds - 1
speed.Text = speeds
if nowe == true then
tpwalking = false
for i = 1, speeds do
spawn(function()

local hb = game:GetService("RunService").Heartbeat
tpwalking = true
local chr = game.Players.LocalPlayer.Character
local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
while tpwalking and hb:Wait() and chr and hum and hum.Parent do
if hum.MoveDirection.Magnitude > 0 then
chr:TranslateBy(hum.MoveDirection)
end
end

end)
end
end
end
end)

closebutton.MouseButton1Click:Connect(function()
main:Destroy()
end)

mini.MouseButton1Click:Connect(function()
up.Visible = false
down.Visible = false
onof.Visible = false
plus.Visible = false
speed.Visible = false
mine.Visible = false
mini.Visible = false
mini2.Visible = true
main.Frame.BackgroundTransparency = 1
closebutton.Position = UDim2.new(0, 0, -1, 57)
end)

mini2.MouseButton1Click:Connect(function()
up.Visible = true
down.Visible = true
onof.Visible = true
plus.Visible = true
speed.Visible = true
mine.Visible = true
mini.Visible = true
mini2.Visible = false
main.Frame.BackgroundTransparency = 0
closebutton.Position = UDim2.new(0, 0, -1, 27)
end)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local Lighting = game:GetService("Lighting")

-- Create GUI elements


local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local TitleBar = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local MinimizeButton = Instance.new("TextButton") -- Minimize/Restore button
local MaximizeButton = Instance.new("TextButton") -- Maximize button (appears when
minimized)
local SideScrollFrame = Instance.new("ScrollingFrame")
local AimbotButton = Instance.new("TextButton")
local ESPButton = Instance.new("TextButton")
local TpButton = Instance.new("TextButton") -- Button for "Player"
local TpActivateButton = Instance.new("TextButton") -- Button to activate teleport
mode
local TpTextBox = Instance.new("TextBox") -- Textbox to type the player's name
local MiddleFrame = Instance.new("Frame")
local SoonLabel = Instance.new("TextLabel")

ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Create BlurEffect
local blur = Instance.new("BlurEffect")
blur.Parent = Lighting
blur.Size = 0 -- No blur by default

-- Main Frame (RGB-themed GUI)


MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 255) -- Start color set to blue
MainFrame.Position = UDim2.new(0.7, 0, 0.1, 0)
MainFrame.Size = UDim2.new(0, 400, 0, 500)
MainFrame.BorderSizePixel = 2
MainFrame.BorderColor3 = Color3.fromRGB(40, 40, 40)
MainFrame.Visible = false -- Initially hidden

-- Title Bar
TitleBar.Parent = MainFrame
TitleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
TitleBar.Size = UDim2.new(1, 0, 0, 30)
TitleBar.Position = UDim2.new(0, 0, 0, 0)
TitleBar.BorderSizePixel = 0

-- Title Text
Title.Parent = TitleBar
Title.BackgroundTransparency = 1
Title.Position = UDim2.new(0, 10, 0, 0)
Title.Size = UDim2.new(1, -20, 1, 0)
Title.Text = "HexWare"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 18

-- Minimize Button
MinimizeButton.Parent = TitleBar
MinimizeButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) -- Slightly darker
button
MinimizeButton.Size = UDim2.new(0, 50, 0, 30)
MinimizeButton.Position = UDim2.new(1, -50, 0, 0)
MinimizeButton.Text = "Minimize"
MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeButton.TextSize = 14

-- Maximize Button (Appears when minimized)


MaximizeButton.Parent = ScreenGui
MaximizeButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) -- Slightly darker
button
MaximizeButton.Size = UDim2.new(0, 150, 0, 50)
MaximizeButton.Position = UDim2.new(0.7, 0, 0.9, -50) -- Positioned bottom-right
MaximizeButton.Text = "Maximize"
MaximizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MaximizeButton.TextSize = 14

-- Side Scrolling Frame for Aimbot/Lock, ESP, and Tp buttons


SideScrollFrame.Parent = MainFrame
SideScrollFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
SideScrollFrame.Position = UDim2.new(0, 10, 0, 40)
SideScrollFrame.Size = UDim2.new(0, 120, 0, 450)
SideScrollFrame.CanvasSize = UDim2.new(0, 0, 0, 100)
SideScrollFrame.ScrollBarThickness = 8

-- Aimbot/Lock Button
AimbotButton.Parent = SideScrollFrame
AimbotButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) -- Slightly darker
button
AimbotButton.Size = UDim2.new(0, 100, 0, 50)
AimbotButton.Position = UDim2.new(0, 10, 0, 10)
AimbotButton.Text = "Aimbot/Lock"
AimbotButton.TextColor3 = Color3.fromRGB(255, 255, 255)
AimbotButton.TextSize = 14

-- ESP Button
ESPButton.Parent = SideScrollFrame
ESPButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) -- Slightly darker button
ESPButton.Size = UDim2.new(0, 100, 0, 50)
ESPButton.Position = UDim2.new(0, 10, 0, 70)
ESPButton.Text = "ESP"
ESPButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ESPButton.TextSize = 14

-- "Player" Button (On the side)


TpButton.Parent = SideScrollFrame
TpButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) -- Slightly darker button
TpButton.Size = UDim2.new(0, 100, 0, 50)
TpButton.Position = UDim2.new(0, 10, 0, 130)
TpButton.Text = "Player"
TpButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TpButton.TextSize = 14

-- Tp Activate Button (to toggle the teleport mode in the middle)


TpActivateButton.Parent = MiddleFrame
TpActivateButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) -- Slightly darker
button
TpActivateButton.Size = UDim2.new(0, 150, 0, 50)
TpActivateButton.Position = UDim2.new(0.5, -75, 0.2, -25) -- Adjusted higher
position
TpActivateButton.Text = "Activate TP"
TpActivateButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TpActivateButton.TextSize = 14

-- Add TextBox to type the player's username


TpTextBox.Parent = MiddleFrame
TpTextBox.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
TpTextBox.Size = UDim2.new(0, 200, 0, 40)
TpTextBox.Position = UDim2.new(0.5, -100, 0.2, 25) -- Adjusted higher position
TpTextBox.Text = ""
TpTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TpTextBox.TextSize = 14
TpTextBox.PlaceholderText = "Enter Player Name"
-- Middle Frame for dynamic content
MiddleFrame.Parent = MainFrame
MiddleFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
MiddleFrame.Position = UDim2.new(0, 140, 0, 40)
MiddleFrame.Size = UDim2.new(0, 250, 0, 450)

-- "SOON" Label (Visible when ESP is selected)


SoonLabel.Parent = MiddleFrame
SoonLabel.BackgroundTransparency = 1
SoonLabel.Size = UDim2.new(1, 0, 1, 0)
SoonLabel.Position = UDim2.new(0, 0, 0, 0)
SoonLabel.Text = "SOON"
SoonLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
SoonLabel.TextSize = 32
SoonLabel.TextScaled = true
SoonLabel.Visible = false

-- Variables for the teleport functionality


local isTpActivated = false
local selectedMode = "Aimbot/Lock"
local targetPosition = nil
local isMinimized = false -- Track the minimized state

-- Maximize Logic
MaximizeButton.MouseButton1Click:Connect(function()
MainFrame.Visible = true
MaximizeButton.Visible = false -- Hide the maximize button
isMinimized = false
blur.Size = 25 -- Strong blur when maximized
end)

-- Minimize Button Logic


MinimizeButton.MouseButton1Click:Connect(function()
MainFrame.Visible = false
MaximizeButton.Visible = true -- Show maximize button when minimized
isMinimized = true
blur.Size = 0 -- No blur when minimized
end)

-- TpButton Mouse Button Click Logic


TpButton.MouseButton1Click:Connect(function()
TpTextBox.Visible = true
TpActivateButton.Visible = true
SoonLabel.Visible = false
end)

-- Reset the TpTextBox and hide when pressing Aimbot or ESP


AimbotButton.MouseButton1Click:Connect(function()
TpTextBox.Visible = false
TpActivateButton.Visible = false
SoonLabel.Visible = false
end)

ESPButton.MouseButton1Click:Connect(function()
TpTextBox.Visible = false
TpActivateButton.Visible = false
SoonLabel.Visible = true
end)
-- When "Soon" label is clicked, it will disappear
SoonLabel.MouseButton1Click:Connect(function()
SoonLabel.Visible = false
end)

-- Command input for WalkSpeed change


game:GetService("Players").LocalPlayer.Chatted:Connect(function(message)
local args = message:split(" ")
if args[1] == ";walkspeed" and args[2] then
local speed = tonumber(args[2]) -- Get the walk speed from the command
if speed then
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speed -- Set
walk speed
end
end
end)

You might also like