Run it
Copy the script and paste it into your executor.
Neox = (:())()
Window = Neox:({
Title = ,
SubTitle = ,
TabWidth = ,
Size = .(, ),
Acrylic = ,
Theme = ,
MinimizeKey = .KeyCode.Q
})
Tabs = {
Home = Window:({ Title = , Icon = }),
Main = Window:({ Title = , Icon = }),
Autofarm = Window:({ Title = , Icon = }),
Aimbot = Window:({ Title = , Icon = }),
Misc = Window:({ Title = , Icon = }),
Weather = Window:({ Title = , Icon = }),
Performance = Window:({ Title = , Icon = }),
Esp = Window:({ Title = , Icon = }),
Train = Window:({ Title = , Icon = }),
Teleport = Window:({ Title = , Icon = }),
}
Window:()
Section = Tabs.Home:()
Section = Tabs.Home:()
Tabs.Home:({
Title = ,
Description = ,
Callback = ()
inviteLink =
setclipboard
(inviteLink)
()
()
})
Tabs.Home:({
Title = ,
Content =
})
Tabs.Main:({
Title = ,
Content =
})
()
items = {}
itemCounts = {}
runtimeItems = :()
runtimeItems
_, item (runtimeItems:())
item:()
itemCounts[item.Name]
itemCounts[item.Name] =
.(items, item.Name)
itemCounts[item.Name] = itemCounts[item.Name] +
()
i, itemName (items)
count = itemCounts[itemName]
count >
items[i] = itemName .. .. count
items
selectedItemName =
Dropdown = Tabs.Main:(, {
Title = ,
Description = ,
Values = (),
Multi = ,
Default = ,
Callback = (option)
selectedItemName = option
})
Tabs.Main:({
Title = ,
Description = ,
Callback = ()
newItems = ()
Dropdown:(newItems)
Dropdown:()
selectedItemName =
})
Tabs.Main:({
Title = ,
Description = ,
Callback = ()
selectedItemName ==
()
itemName = selectedItemName:() selectedItemName
runtimeItems = :()
runtimeItems
()
selectedItem
_, item (runtimeItems:())
item:() item.Name == itemName
selectedItem = item
selectedItem
(, itemName)
LocalPlayer = :().LocalPlayer
LocalPlayer
()
Character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
HumanoidRootPart = Character:()
selectedItem.PrimaryPart
(selectedItem.Name .. )
selectedItem:(HumanoidRootPart.CFrame + .(, , ))
(, selectedItem.Name)
})
Tabs.Main:({
Title = ,
Description = ,
Callback = ()
runtimeItems = :()
runtimeItems
()
LocalPlayer = :().LocalPlayer
Character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
HumanoidRootPart = Character:()
_, item (runtimeItems:())
item:()
item.PrimaryPart
offset = HumanoidRootPart.CFrame.LookVector *
item:(HumanoidRootPart.CFrame + offset)
(item.Name .. )
})
Tabs.Main:({
Title = ,
Description = ,
Callback = ()
runtimeItems = :()
runtimeItems
()
LocalPlayer = :().LocalPlayer
LocalPlayer
()
Character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
HumanoidRootPart = Character:()
coalCount =
_, item (runtimeItems:())
item:() item.Name ==
item.PrimaryPart
()
offset = .(
.(-, ) * ,
+ (coalCount * ),
.(-, ) *
)
item:(HumanoidRootPart.CFrame + offset)
coalCount = coalCount +
coalCount ==
()
(, coalCount, )
})
Tabs.Main:({
Title = ,
Description = ,
Callback = ()
runtimeItems = :()
runtimeItems
()
LocalPlayer = :().LocalPlayer
LocalPlayer
()
Character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
HumanoidRootPart = Character:()
bandageCount =
_, item (runtimeItems:())
item:() item.Name ==
item.PrimaryPart
()
offset = .(
.(-, ) * ,
+ (bandageCount * ),
.(-, ) *
)
item:(HumanoidRootPart.CFrame + offset)
bandageCount = bandageCount +
bandageCount ==
()
(, bandageCount, )
})
Section = Tabs.Main:()
Players = :()
RunService = :()
ProximityPromptService = :()
Lighting = :()
LocalPlayer = Players.LocalPlayer
nobandagedelay =
ShowTextRuntimeItems =
ApplyGunMods =
AutoHeal =
Fb =
AmbientChanger =
noholddelay =
HealAt =
firerate =
spread =
reloadtime =
XSizeText =
YSizeText =
AmbientColor = .(, , )
RuntimeItems = .Workspace
RunService.RenderStepped:(()
nobandagedelay LocalPlayer.PlayerGui.BandageUse.Enabled LocalPlayer.Character
Bandage = LocalPlayer.Character LocalPlayer.Character:()
Bandage ~=
Bandage.Use:()
ShowTextRuntimeItems
i, v , RuntimeItems:()
v:() v:()
v.ObjectInfo.Enabled =
v.ObjectInfo.StudsOffset = .(, , )
v.ObjectInfo.Size = .(XSizeText, , YSizeText, )
ApplyGunMods LocalPlayer.Character LocalPlayer.Character:()
Tool = LocalPlayer.Character:()
Config = Tool:()
Tool.Name == Tool.Name == Tool.Name == Tool.Name == Tool.Name == Tool.Name ==
Config (Config:() Config:() Config:())
Config.FireDelay.Value = firerate
Config.SpreadAngle.Value = spread
Config.ReloadDuration.Value = reloadtime
AutoHeal LocalPlayer.Character LocalPlayer.Character.Humanoid LocalPlayer.Character.Humanoid.Health < HealAt
Bandage = :().LocalPlayer.Backpack:()
Bandage ~=
Bandage.Use:()
Fb
Lighting.ClockTime =
Lighting.Brightness =
AmbientChanger
Lighting.Ambient = AmbientColor
)
ProximityPromptService.PromptButtonHoldBegan:((prompt)
noholddelay
prompt.HoldDuration =
)
AutoHealAt = Tabs.Main:(, {
Title = ,
Description = ,
Default = ,
Min = ,
Max = ,
Rounding = ,
Callback = (Value)
HealAt = Value
})
AutoHealToggle = Tabs.Main:(, {
Title = ,
Description = ,
Default = ,
Callback = (Value)
AutoHeal = Value
})
NoPromptHold = Tabs.Main:(, {
Title = ,
Description = ,
Default = ,
Callback = (Value)
noholddelay = Value
})
NoBandageDelay = Tabs.Main:(, {
Title = ,
Description = ,
Default = ,
Callback = (Value)
nobandagedelay = Value
})
FirerateChanger = Tabs.Aimbot:(, {
Title = ,
Description = ,
Default = ,
Min = ,
Max = ,
Rounding = ,
Callback = (Value)
firerate = Value
})
SpreadChanger = Tabs.Aimbot:(, {
Title = ,
Description = ,
Default = ,
Min = ,
Max = ,
Rounding = ,
Callback = (Value)
spread = Value
})
ReloadTimeChanger = Tabs.Aimbot:(, {
Title = ,
Description = ,
Default = ,
Min = ,
Max = ,
Rounding = ,
Callback = (Value)
reloadtime = Value
})
ApplyGunModsToggle = Tabs.Aimbot:(, {
Title = ,
Description = ,
Default = ,
Callback = (Value)
ApplyGunMods = Value
})
Players = :()
RunService = :()
Lighting = :()
LocalPlayer = Players.LocalPlayer
Fb =
AmbientChanger =
AmbientColor = .(, , )
RunService.RenderStepped:(()
Fb
Lighting.ClockTime =
Lighting.Brightness =
AmbientChanger
Lighting.Ambient = AmbientColor
)
originalSettings =
Toggle = Tabs.Weather:(,
{
Title = ,
Description = ,
Default = ,
Callback = (state)
lighting = :()
state
originalSettings = {
Brightness = lighting.Brightness,
GlobalShadows = lighting.GlobalShadows,
FogEnd = lighting.FogEnd,
FogStart = lighting.FogStart,
Ambient = lighting.Ambient,
OutdoorAmbient = lighting.OutdoorAmbient,
ShadowSoftness = lighting.ShadowSoftness,
ClockTime = lighting.ClockTime
}
lighting.Brightness =
lighting.GlobalShadows =
lighting.FogEnd =
lighting.FogStart =
lighting.Ambient = .(, , )
lighting.OutdoorAmbient = .(, , )
lighting.ShadowSoftness =
lighting.ClockTime =
lighting:()
lighting.Atmosphere:()
sunRays = lighting:() .()
sunRays.Intensity =
sunRays.Spread =
sunRays.Parent = lighting
lighting:()
lighting.ColorCorrection:()
()
originalSettings
lighting.Brightness = originalSettings.Brightness
lighting.GlobalShadows = originalSettings.GlobalShadows
lighting.FogEnd = originalSettings.FogEnd
lighting.FogStart = originalSettings.FogStart
lighting.Ambient = originalSettings.Ambient
lighting.OutdoorAmbient = originalSettings.OutdoorAmbient
lighting.ShadowSoftness = originalSettings.ShadowSoftness
lighting.ClockTime = originalSettings.ClockTime
})
Tabs.Weather:({
Title = ,
Description = ,
Callback = ()
= :()
terrain = .Terrain
terrain:()
terrain.Clouds:()
()
()
})
Tabs.Weather:({
Title = ,
Description = ,
Callback = ()
replicatedStorage = :()
sharedFolder = replicatedStorage:()
dataBanksFolder = sharedFolder sharedFolder:()
lightingPresets = dataBanksFolder dataBanksFolder:()
lightingPresets
lightingPresets:()
()
dataBanksFolder
()
sharedFolder
()
()
})
AmbientChangerToggle = Tabs.Weather:(, {
Title = ,
Description = ,
Default = ,
Callback = (Value)
AmbientChanger = Value
Value
Lighting.Ambient = .(, , )
})
AmbientColorPicker = Tabs.Weather:(, {
Title = ,
Description = ,
Default = .(, , ),
Callback = (Value)
AmbientColor = Value
})
Players = :()
Workspace = :()
CoreGui = :()
LocalPlayer = Players.LocalPlayer
Character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
HumanoidRootPart = Character:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = CoreGui
enemyLabel = .()
enemyLabel.Parent = screenGui
enemyLabel.Size = .(, , , )
enemyLabel.Position = .(, -, , )
enemyLabel.BackgroundTransparency =
enemyLabel.Text =
enemyLabel.TextColor3 = .(, , )
enemyLabel.TextSize =
enemyLabel.Font = .Font.SourceSansBold
enemyLabel.TextStrokeTransparency =
distanceLabel = .()
distanceLabel.Parent = screenGui
distanceLabel.Size = .(, , , )
distanceLabel.Position = .(, -, , )
distanceLabel.BackgroundTransparency =
distanceLabel.Text =
distanceLabel.TextColor3 = .(, , )
distanceLabel.TextSize =
distanceLabel.Font = .Font.SourceSans
distanceLabel.TextStrokeTransparency =
detectionEnabled =
()
detectionEnabled
enemyLabel.Text =
distanceLabel.Text =
HumanoidRootPart HumanoidRootPart.Parent
enemyLabel.Text =
distanceLabel.Text =
closestDistance = .huge
enemyCount =
success, err = (()
_, obj (Workspace:())
humanoid = obj:()
rootPart = obj:()
humanoid humanoid.Health > obj ~= Character Players:(obj.Parent)
targetPos = rootPart rootPart.Position humanoid:().Position
distance = (HumanoidRootPart.Position - targetPos).Magnitude
distance <= distance >
enemyCount = enemyCount +
distance < closestDistance
closestDistance = distance
)
success
( .. err)
enemyLabel.Text =
distanceLabel.Text =
enemyCount >
enemyLabel.Text = .. enemyCount
distanceLabel.Text = .(, closestDistance)
enemyLabel.Text =
distanceLabel.Text =
LocalPlayer.CharacterAdded:((newChar)
Character = newChar
HumanoidRootPart = Character:(, )
detectionEnabled
()
)
LocalPlayer.CharacterRemoving:(()
)
.(()
success, err = (checkEnemies)
success
( .. err)
enemyLabel.Text =
distanceLabel.Text =
.()
)
EnemyDetection = Tabs.Main:(, {
Title = ,
Description = ,
Default = ,
Callback = (Value)
detectionEnabled = Value
Value
enemyLabel.Text =
distanceLabel.Text =
})
.Destroying:(()
screenGui
screenGui:()
)
folder = .Workspace.RandomBuildings
CoreGui = :()
StarterGui = :()
isMonitoring =
connection =
(modelName)
player = .Players.LocalPlayer
playerGui = player:()
spawnedgui = .()
spawnedgui.Name =
spawnedgui.ZIndexBehavior = .ZIndexBehavior.Sibling
spawnedgui.ResetOnSpawn =
main = .()
main.Name =
main.Parent = spawnedgui
main.BackgroundColor3 = .(, , )
main.BackgroundTransparency =
main.BorderColor3 = .(, , )
main.BorderSizePixel =
main.Position = .(, , , )
main.Size = .(, , , )
main.Font = .Font.Highway
main.Text = modelName ..
main.TextColor3 = .(, , )
main.TextScaled =
main.TextSize =
main.TextStrokeTransparency =
main.TextWrapped =
spawnedgui.Parent = CoreGui
(()
()
i = ,
main.TextTransparency = i/
main.TextStrokeTransparency = i/ +
()
spawnedgui:()
)
(state)
state
isMonitoring
isMonitoring =
previousChildren = {}
_, child (folder:())
child:()
previousChildren[child] =
RunService = :()
connection = RunService.Heartbeat:(()
_, child (folder:())
child:() previousChildren[child]
(child.Name)
previousChildren[child] =
child (previousChildren)
child.Parent
previousChildren[child] =
)
player = .Players.LocalPlayer
player.CharacterAdded:(()
isMonitoring
_, child (folder:())
child:() previousChildren[child]
(child.Name)
previousChildren[child] =
)
isMonitoring connection
connection:()
connection =
isMonitoring =
Toggle = Tabs.Main:(,
{
Title = ,
Description = ,
Default = ,
Callback = (state)
(state)
})
Tabs.Main:({
Title = ,
Description = ,
Callback = ()
randomBuildings = .Workspace:()
_, child (randomBuildings:())
child:()
colorWall = child:()
colorWall colorWall:()
colorWall.Transparency =
()
})
Tabs.Main:({
Title = ,
Description = ,
Callback = ()
:().LocalPlayer.CameraMaxZoomDistance =
:().LocalPlayer.CameraMode = .CameraMode.Classic
})
Section = Tabs.Aimbot:()
Players = :()
Workspace = :()
ReplicatedStorage = :()
LocalPlayer = Players.LocalPlayer
aimbotEnabled =
.AutoSwingEnabled =
.AutoSwingTask =
MeleeKillAura = Tabs.Aimbot:(, {
Title = ,
Description = ,
Default = ,
Callback = (state)
state
Character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
Humanoid = Character:()
HumanoidRootPart = Character:()
()
_, tool (Character:())
tool:() tool:() tool.Parent == Character
tool
()
tool = ()
Humanoid.Health <= tool
RemoteEvent = tool:()
RemoteEvent tool.Parent ~= Character
_, obj (Workspace:())
humanoid, rootPart = obj:(), obj:()
humanoid humanoid.Health > Players:(obj)
targetPos = rootPart rootPart.Position humanoid.Position
(HumanoidRootPart.Position - targetPos).Magnitude <=
RemoteEvent:(targetPos)
.AutoSwingTask = .(()
.()
.AutoSwingEnabled
()
)
.AutoSwingEnabled =
.AutoSwingEnabled =
.AutoSwingTask
.(.AutoSwingTask)
.AutoSwingTask =
})
AutoAimShoot = Tabs.Aimbot:(, {
Title = ,
Description = ,
Default = ,
Callback = (value)
aimbotEnabled = value
aimbotEnabled
(()
Character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
HumanoidRootPart = Character:(, )
utility = {}
utility.()
_, tool (Character:())
tool:() tool:()
tool
utility.(maxDistance)
closestNPC, minDist = , maxDistance
_, obj (Workspace:())
root = obj:()
humanoid = obj:()
root humanoid humanoid.Health > Players:(obj)
distance = (HumanoidRootPart.Position - root.Position).Magnitude
distance < minDist
closestNPC, minDist = humanoid, distance
closestNPC
utility.(weapon, state)
ammo = state:()
ammo ammo.Value == state.IsReloading.Value
ReplicatedStorage.Remotes.Weapon.Reload:(Workspace:(), weapon)
.() ammo.Value >
utility.(npc, weapon, state)
npc weapon state
ammo = state:()
ammo ammo.Value >
ReplicatedStorage.Remotes.Weapon.Shoot:(Workspace:(), weapon, HumanoidRootPart.CFrame, { [] = npc })
aimbotEnabled .()
npc = utility.()
weapon = utility.()
weapon
state = weapon:()
state
utility.(weapon, state)
utility.(npc, weapon, state)
)
})
Tabs.Aimbot:({
Title = ,
Description = ,
Callback = ()
Players = :()
RunService = :()
UserInputService = :()
Workspace = :()
StarterGui = :()
player = Players.LocalPlayer
player.CameraMode = .CameraMode.Classic
cam = Workspace.CurrentCamera
camlockEnabled =
camlockConnection
targetESP =
hitboxToggleEnabled =
npcLock =
lastTarget =
toggleLoop
defaultHRPValues = {}
trackedNPCs = {}
_, obj (Workspace:())
obj:()
obj:()
obj:()
Players:(obj)
hrp = obj.HumanoidRootPart
humanoid = obj.Humanoid
defaultHRPValues[hrp] ==
defaultHRPValues[hrp] = {
Size = hrp.Size,
Transparency = hrp.Transparency,
CanCollide = hrp.CanCollide
}
humanoid.Died:(()
.()
defaults = defaultHRPValues[hrp]
defaults
hrp.Size = defaults.Size
hrp.Transparency = defaults.Transparency
hrp.CanCollide = defaults.CanCollide
)
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.AnchorPoint = .(, )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BackgroundTransparency =
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Draggable =
mainFrame.Parent = screenGui
uicorner = .()
uicorner.CornerRadius = .(, )
uicorner.Parent = mainFrame
uiStroke = .()
uiStroke.Thickness =
uiStroke.Color = .(, , )
uiStroke.Transparency =
uiStroke.Parent = mainFrame
headerFrame = .()
headerFrame.Size = .(, , , )
headerFrame.BackgroundColor3 = .(, , )
headerFrame.BorderSizePixel =
headerFrame.Parent = mainFrame
headerCorner = .()
headerCorner.CornerRadius = .(, )
headerCorner.Parent = headerFrame
headerLabel = .()
headerLabel.Size = .(, , , )
headerLabel.Position = .(, , , -)
headerLabel.BackgroundTransparency =
headerLabel.Text =
headerLabel.TextColor3 = .(, , )
headerLabel.Font = .Font.GothamBold
headerLabel.TextSize =
headerLabel.Parent = headerFrame
minimizeButton = .()
minimizeButton.Size = .(, , , )
minimizeButton.Position = .(, -, , -)
minimizeButton.BackgroundColor3 = .(, , )
minimizeButton.Text =
minimizeButton.TextColor3 = .(, , )
minimizeButton.Font = .Font.Gotham
minimizeButton.TextSize =
minimizeButton.Parent = headerFrame
minCorner = .()
minCorner.CornerRadius = .(, )
minCorner.Parent = minimizeButton
toggleButton = .()
toggleButton.Size = .(, , , )
toggleButton.Position = .(, , , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.Text =
toggleButton.TextColor3 = .(, , )
toggleButton.Font = .Font.GothamSemibold
toggleButton.TextSize =
toggleButton.Parent = mainFrame
uicorner2 = .()
uicorner2.CornerRadius = .(, )
uicorner2.Parent = toggleButton
toggleStroke = .()
toggleStroke.Thickness =
toggleStroke.Color = .(, , )
toggleStroke.Transparency =
toggleStroke.Parent = toggleButton
toggleHitboxButton = .()
toggleHitboxButton.Size = .(, , , )
toggleHitboxButton.Position = .(, , , )
toggleHitboxButton.BackgroundColor3 = .(, , )
toggleHitboxButton.Text =
toggleHitboxButton.TextColor3 = .(, , )
toggleHitboxButton.Font = .Font.GothamSemibold
toggleHitboxButton.TextSize =
toggleHitboxButton.Parent = mainFrame
uicorner3 = .()
uicorner3.CornerRadius = .(, )
uicorner3.Parent = toggleHitboxButton
hitboxStroke = .()
hitboxStroke.Thickness =
hitboxStroke.Color = .(, , )
hitboxStroke.Transparency =
hitboxStroke.Parent = toggleHitboxButton
npcLockButton = .()
npcLockButton.Size = .(, , , )
npcLockButton.Position = .(, , , )
npcLockButton.BackgroundColor3 = .(, , )
npcLockButton.Text =
npcLockButton.TextColor3 = .(, , )
npcLockButton.Font = .Font.GothamSemibold
npcLockButton.TextSize =
npcLockButton.Parent = mainFrame
uicorner4 = .()
uicorner4.CornerRadius = .(, )
uicorner4.Parent = npcLockButton
npcLockStroke = .()
npcLockStroke.Thickness =
npcLockStroke.Color = .(, , )
npcLockStroke.Transparency =
npcLockStroke.Parent = npcLockButton
separatorLine = .()
separatorLine.Size = .(, , , )
separatorLine.Position = .(, , , )
separatorLine.BackgroundColor3 = .(, , )
separatorLine.BorderSizePixel =
separatorLine.Parent = mainFrame
discordButton = .()
discordButton.Size = .(, , , )
discordButton.Position = .(, , , )
discordButton.BackgroundColor3 = .(, , )
discordButton.Text =
discordButton.TextColor3 = .(, , )
discordButton.Font = .Font.GothamSemibold
discordButton.TextSize =
discordButton.Parent = mainFrame
uicorner5 = .()
uicorner5.CornerRadius = .(, )
uicorner5.Parent = discordButton
discordStroke = .()
discordStroke.Thickness =
discordStroke.Color = .(, , )
discordStroke.Transparency =
discordStroke.Parent = discordButton
creditLabel = .()
creditLabel.Size = .(, , , )
creditLabel.Position = .(, , , -)
creditLabel.BackgroundTransparency =
creditLabel.Text =
creditLabel.TextColor3 = .(, , )
creditLabel.Font = .Font.Gotham
creditLabel.TextSize =
creditLabel.Parent = mainFrame
mainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.Touch
UserInputService.MouseBehavior = .MouseBehavior.Default
)
mainFrame.InputEnded:((input)
input.UserInputType == .UserInputType.Touch
UserInputService.MouseBehavior = .MouseBehavior.LockCenter
)
minimized =
minimizeButton.MouseButton1Click:(()
minimized = minimized
minimized
mainFrame.Size = .(, , , )
minimizeButton.Text =
mainFrame.Size = .(, , , )
minimizeButton.Text =
toggleButton.Visible = minimized
toggleHitboxButton.Visible = minimized
npcLockButton.Visible = minimized
separatorLine.Visible = minimized
discordButton.Visible = minimized
creditLabel.Visible = minimized
)
discordButton.MouseButton1Click:(()
()
discordButton.Text =
.()
discordButton.Text =
)
(target)
target target.Parent
targetESP targetESP:()
targetESP = .()
targetESP.FillTransparency =
targetESP.OutlineColor = .(, , )
targetESP.OutlineTransparency =
targetESP.Parent = target.Parent
()
targetESP
targetESP:()
targetESP =
(targetHead)
origin = cam.CFrame.Position
direction = (targetHead.Position - origin).unit * (targetHead.Position - origin).Magnitude
raycastParams = RaycastParams.()
raycastParams.FilterType = .RaycastFilterType.Blacklist
raycastParams.FilterDescendantsInstances = {player.Character}
result = Workspace:(origin, direction, raycastParams)
result == result.Instance:(targetHead.Parent)
()
character = player.Character
character character:()
closestNPCHead =
shortestDistance = .huge
npc, _ (trackedNPCs)
npc npc.Parent
humanoid = npc:()
head = npc:()
humanoid head
distance = (head.Position - character.HumanoidRootPart.Position).Magnitude
distance <=
humanoid.Health >
humanoid:() ~= .HumanoidStateType.Dead
distance < shortestDistance
(head)
shortestDistance = distance
closestNPCHead = head
trackedNPCs[npc] =
closestNPCHead
targetHead =
lastTargetUpdate =
targetUpdateInterval =
()
camlockConnection = RunService.RenderStepped:(()
currentTime = ()
currentTime - lastTargetUpdate >= targetUpdateInterval
targetHead = ()
lastTargetUpdate = currentTime
targetHead
distance = (targetHead.Position - cam.CFrame.Position).Magnitude
distance >
()
heightCompensation = .(distance * , , )
headPos = targetHead.Position + .(, targetHead.Size.Y / - heightCompensation, )
camPos = cam.CFrame.Position
direction = (headPos - camPos).unit
newCF = .(camPos, camPos + direction)
cam.CFrame = newCF
(targetHead)
()
)
()
camlockConnection
camlockConnection:()
camlockConnection =
()
toggleButton.MouseButton1Click:(()
camlockEnabled = camlockEnabled
camlockEnabled
toggleButton.Text =
toggleButton.BackgroundColor3 = .(, , )
toggleButton.TextColor3 = .(, , )
()
toggleButton.Text =
toggleButton.BackgroundColor3 = .(, , )
toggleButton.TextColor3 = .(, , )
()
)
()
player.Character
highlight = player.Character:()
highlight
highlight = .()
highlight.Name =
highlight.FillColor = .(, , )
highlight.OutlineColor = .(, , )
highlight.FillTransparency =
highlight.OutlineTransparency =
highlight.Parent = player.Character
()
player.Character player.Character:()
player.Character.PlayerHighlightESP:()
()
closestNPC =
closestDistance = .huge
_, object (Workspace:())
object:()
humanoid = object:() object:()
hrp = object:() object.PrimaryPart
humanoid hrp humanoid.Health > object.Name ~=
isPlayer =
_, pl (Players:())
pl.Character == object
isPlayer =
isPlayer
distance = (hrp.Position - player.Character.HumanoidRootPart.Position).Magnitude
distance < closestDistance
closestDistance = distance
closestNPC = object
closestNPC
()
npcLock = npcLock
npcLock
npcLockButton.Text =
npcLockButton.BackgroundColor3 = .(, , )
npcLockButton.TextColor3 = .(, , )
toggleLoop = RunService.RenderStepped:(()
npc = ()
npc npc:()
npcHumanoid = npc:()
npcHumanoid.Health >
cam.CameraSubject = npcHumanoid
lastTarget = npc
()
StarterGui:(, {
Title = ,
Text = npc.Name,
Duration =
})
lastTarget =
()
player.Character player.Character:()
cam.CameraSubject = player.Character:()
player.Character player.Character:()
cam.CameraSubject = player.Character:()
lastTarget =
()
)
npcLockButton.Text =
npcLockButton.BackgroundColor3 = .(, , )
npcLockButton.TextColor3 = .(, , )
toggleLoop
toggleLoop:()
toggleLoop =
()
player.Character player.Character:()
cam.CameraSubject = player.Character:()
npcLockButton.MouseButton1Click:(toggleNPCLock)
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed input.KeyCode == .KeyCode.X
()
)
(npc)
npc:() npc:() npc:()
Players:(npc) npc.Name ==
humanoid = npc.Humanoid
hrp = npc.HumanoidRootPart
defaultHRPValues[hrp] ==
defaultHRPValues[hrp] = {
Size = hrp.Size,
Transparency = hrp.Transparency,
CanCollide = hrp.CanCollide
}
humanoid.Health <=
defaults = defaultHRPValues[hrp]
defaults
hrp.Size = defaults.Size
hrp.Transparency = defaults.Transparency
hrp.CanCollide = defaults.CanCollide
hitboxToggleEnabled
hrp.Size = .(, , )
hrp.Transparency =
hrp.CanCollide =
defaults = defaultHRPValues[hrp]
defaults
hrp.Size = defaults.Size
hrp.Transparency = defaults.Transparency
hrp.CanCollide = defaults.CanCollide
()
_, obj (Workspace:())
obj:()
obj:()
obj:()
Players:(obj)
(obj)
toggleHitboxButton.MouseButton1Click:(()
hitboxToggleEnabled = hitboxToggleEnabled
hitboxToggleEnabled
toggleHitboxButton.Text =
toggleHitboxButton.BackgroundColor3 = .(, , )
toggleHitboxButton.TextColor3 = .(, , )
toggleHitboxButton.Text =
toggleHitboxButton.BackgroundColor3 = .(, , )
toggleHitboxButton.TextColor3 = .(, , )
()
)
Workspace.DescendantAdded:((obj)
obj:()
humanoid = obj:() obj:(, )
humanoid
hrp = obj:() obj:(, )
hrp Players:(obj)
defaultHRPValues[hrp] ==
defaultHRPValues[hrp] = {
Size = hrp.Size,
Transparency = hrp.Transparency,
CanCollide = hrp.CanCollide
}
humanoid.Died:(()
.()
defaults = defaultHRPValues[hrp]
defaults
hrp.Size = defaults.Size
hrp.Transparency = defaults.Transparency
hrp.CanCollide = defaults.CanCollide
)
.()
(obj)
)
(npc)
npc:()
npc:()
npc:()
Players:(npc)
npc.Name ~=
trackedNPCs[npc] =
_, obj (Workspace:())
obj:()
obj:()
obj:()
Players:(obj)
npc.Name ~=
(obj)
Workspace.DescendantAdded:((obj)
obj:()
.()
(obj)
)
Workspace.DescendantRemoving:((obj)
trackedNPCs[obj]
trackedNPCs[obj] =
)
(()
.()
npc, _ (trackedNPCs)
npc npc.Parent
humanoid = npc:()
hrp = npc:()
humanoid hrp humanoid.Health <=
defaults = defaultHRPValues[hrp]
defaults
hrp.Size = defaults.Size
hrp.Transparency = defaults.Transparency
hrp.CanCollide = defaults.CanCollide
trackedNPCs[npc] =
)
})
ESPHandles = {}
ESPEnabled =
Players = :()
RunService = :()
TweenService = :()
LocalPlayer = Players.LocalPlayer
ESPConfig = {
Colors = {
Items = {.(, , ), .(, , )},
Animals = {.(, , ), .(, , )},
NightEnemies = {.(, , ), .(, , )},
Zombies = {.(, , ), .(, , )}
},
Settings = {
OutlineTransparency = ,
FillTransparency = ,
TextSize = ,
BillboardSize = .(, , , ),
MaxDistance = ,
PulseSpeed = ,
PulseRange = ,
UpdateInterval = ,
StackOffsets = {, , },
ProximityThreshold =
}
}
(object, colorPair, category)
object object.PrimaryPart
highlight = .()
highlight.Name =
highlight.Adornee = object
highlight.FillColor = colorPair[]
highlight.OutlineColor = colorPair[]
highlight.FillTransparency = ESPConfig.Settings.FillTransparency
highlight.OutlineTransparency = ESPConfig.Settings.OutlineTransparency
highlight.Parent = object
billboard = .()
billboard.Name =
billboard.Adornee = object.PrimaryPart
billboard.Size = ESPConfig.Settings.BillboardSize
billboard.StudsOffset = .(, , )
billboard.AlwaysOnTop =
billboard.LightInfluence =
billboard.Parent = object
textLabel = .()
textLabel.Text = object.Name ..
textLabel.Size = .(, , , )
textLabel.TextColor3 = colorPair[]
textLabel.BackgroundTransparency =
textLabel.TextSize = ESPConfig.Settings.TextSize
textLabel.Font = .Font.GothamBlack
textLabel.TextStrokeTransparency =
textLabel.TextStrokeColor3 = .(, , )
textLabel.Parent = billboard
tweenInfo = TweenInfo.(
ESPConfig.Settings.PulseSpeed,
.EasingStyle.Sine,
.EasingDirection.InOut,
-,
)
pulseTween = TweenService:(highlight, tweenInfo, {
FillTransparency = ESPConfig.Settings.FillTransparency - ESPConfig.Settings.PulseRange
})
pulseTween:Play()
ESPHandles[object] = {
Highlight = highlight,
Billboard = billboard,
TextLabel = textLabel,
PulseTween = pulseTween
}
end
local function ClearESP()
for obj, handles in pairs(ESPHandles) do
if handles.PulseTween then handles.PulseTween:Cancel() end
if handles.Highlight then handles.Highlight:Destroy() end
if handles.Billboard then handles.Billboard:Destroy() end
end
ESPHandles = {}
end
local function UpdateESP()
for obj, handles in pairs(ESPHandles) do
if not obj or not obj.Parent or not obj.PrimaryPart then
if handles.PulseTween then handles.PulseTween:Cancel() end
for _, instance in pairs(handles) do
if instance:IsA("Instance") then instance:Destroy() end
end
ESPHandles[obj] = nil
end
end
local function ProcessCategory(parent, colorPair, category)
if parent then
for _, obj in ipairs(parent:GetDescendants()) do
if obj:IsA("Model") and obj.PrimaryPart and not ESPHandles[obj] then
CreateESP(obj, colorPair, category)
end
end
end
end
ProcessCategory(workspace:FindFirstChild("RuntimeItems"), ESPConfig.Colors.Items, "Items")
local baseplates = workspace:FindFirstChild("Baseplates")
if baseplates and #baseplates:GetChildren() >= 2 then
local animals = baseplates:GetChildren()[2]:FindFirstChild("CenterBaseplate"):FindFirstChild("Animals")
ProcessCategory(animals, ESPConfig.Colors.Animals, "Animals")
end
ProcessCategory(workspace:FindFirstChild("NightEnemies"), ESPConfig.Colors.NightEnemies, "NightEnemies")
local destroyedHouse = workspace:FindFirstChild("RandomBuildings") and workspace.RandomBuildings:FindFirstChild("DestroyedHouse")
local zombies = destroyedHouse and destroyedHouse:FindFirstChild("StandaloneZombiePart"):FindFirstChild("Zombies")
ProcessCategory(zombies, ESPConfig.Colors.Zombies, "Zombies")
end
local function UpdateDistanceAndStacking()
local character = LocalPlayer.Character
local rootPart = character and character:FindFirstChild("HumanoidRootPart")
if not rootPart then
for _, handles in pairs(ESPHandles) do
if handles.TextLabel then handles.TextLabel.Text = handles.TextLabel.Text:match("^.+%s") .. "[N/A]" end
handles.Billboard.StudsOffset = Vector3.new(0, 3, 0)
end
return
end
local playerPos = rootPart.Position
local objects = {}
for obj, handles in pairs(ESPHandles) do
if not obj or not obj.Parent or not obj.PrimaryPart then
ESPHandles[obj] = nil
else
local targetPos = obj.PrimaryPart.Position
local distance = (playerPos - targetPos).Magnitude
handles.TextLabel.Text = string.format("%s [%d]", obj.Name, math.floor(distance))
handles.Billboard.Enabled = (distance <= ESPConfig.Settings.MaxDistance)
if handles.Billboard.Enabled then
table.insert(objects, {Obj = obj, Pos = targetPos, Handles = handles})
end
end
end
local processed = {}
for _, entry in ipairs(objects) do
local obj = entry.Obj
if not processed[obj] then
local nearby = {entry}
processed[obj] = true
for _, otherEntry in ipairs(objects) do
local otherObj = otherEntry.Obj
if otherObj ~= obj and not processed[otherObj] then
local dist = (entry.Pos - otherEntry.Pos).Magnitude
if dist < ESPConfig.Settings.ProximityThreshold then
table.insert(nearby, otherEntry)
processed[otherObj] = true
end
end
end
for i, item in ipairs(nearby) do
local offsetIndex = (i - 1) % 3 + 1
local offsetY = ESPConfig.Settings.StackOffsets[offsetIndex]
item.Handles.Billboard.StudsOffset = Vector3.new(0, offsetY, 0)
end
end
end
end
local function AutoUpdateESP()
local distanceConnection
local updateConnection
distanceConnection = RunService.RenderStepped:Connect(function()
if not ESPEnabled then
distanceConnection:Disconnect()
if updateConnection then updateConnection:Disconnect() end
ClearESP()
return
end
UpdateDistanceAndStacking()
end)
spawn(function()
while ESPEnabled do
UpdateESP()
task.wait(ESPConfig.Settings.UpdateInterval)
end
end)
end
local Toggle = Tabs.Esp:AddToggle("ESP_Toggle", {
Title = "All In One ESP",
Description = "Vivid highlights, compact tags",
Default = false,
Callback = function(Value)
ESPEnabled = Value
if Value then
AutoUpdateESP()
else
ClearESP()
end
end
})
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local espEnabled = false
local function hideDefaultNameTag(character)
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
end
end
local function createHealthDisplay(player)
if not player.Character then return end
local character = player.Character
local head = character:FindFirstChild("Head")
if not head then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
hideDefaultNameTag(character)
local billboardGui = Instance.new("BillboardGui")
billboardGui.Size = UDim2.new(4, 0, 2, 0)
billboardGui.Adornee = head
billboardGui.StudsOffset = Vector3.new(0, 2.5, 0)
billboardGui.MaxDistance = math.huge
billboardGui.Parent = head
billboardGui.AlwaysOnTop = true
local nameLabel = Instance.new("TextLabel")
nameLabel.Size = UDim2.new(1, 0, 0.3, 0)
nameLabel.Position = UDim2.new(0, 0, 0, 0)
nameLabel.BackgroundTransparency = 1
nameLabel.TextScaled = true
nameLabel.Font = Enum.Font.GothamBold
nameLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
nameLabel.TextStrokeTransparency = 0.2
nameLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
nameLabel.Text = player.Name
nameLabel.Parent = billboardGui
local leaderstatsLabel = Instance.new("TextLabel")
leaderstatsLabel.Size = UDim2.new(1, 0, 0.3, 0)
leaderstatsLabel.Position = UDim2.new(0, 0, 0.35, 0)
leaderstatsLabel.BackgroundTransparency = 1
leaderstatsLabel.TextScaled = true
leaderstatsLabel.Font = Enum.Font.GothamBold
leaderstatsLabel.TextColor3 = Color3.fromRGB(0, 255, 255)
leaderstatsLabel.TextStrokeTransparency = 0.2
leaderstatsLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
leaderstatsLabel.Text = ""
leaderstatsLabel.Parent = billboardGui
local healthText = Instance.new("TextLabel")
healthText.Size = UDim2.new(1, 0, 0.3, 0)
healthText.Position = UDim2.new(0, 0, 0.7, 0)
healthText.BackgroundTransparency = 1
healthText.TextScaled = true
healthText.Font = Enum.Font.GothamBold
healthText.TextColor3 = Color3.fromRGB(255, 255, 255)
healthText.TextStrokeTransparency = 0.2
healthText.TextStrokeColor3 = Color3.new(0, 0, 0)
healthText.Parent = billboardGui
local function updateDisplay()
if humanoid and humanoid.Health > 0 then
healthText.Text = tostring(math.floor(humanoid.Health)) .. " HP"
else
billboardGui:Destroy()
return
end
local leaderstats = player:FindFirstChild("leaderstats")
if leaderstats then
local statsText = ""
for _, stat in pairs(leaderstats:GetChildren()) do
if stat:IsA("IntValue") or stat:IsA("StringValue") or stat:IsA("NumberValue") then
statsText = statsText .. stat.Name .. ": " .. tostring(stat.Value) .. " "
end
end
leaderstatsLabel.Text = statsText
else
leaderstatsLabel.Text = ""
end
end
local connection
connection = RunService.Heartbeat:Connect(function()
if not espEnabled or not player or not player.Parent or not character.Parent then
billboardGui:Destroy()
connection:Disconnect()
return
end
updateDisplay()
end)
updateDisplay()
end
local function onPlayerAdded(player)
local function onCharacterAdded(character)
task.wait(0.5)
if espEnabled then
hideDefaultNameTag(character)
createHealthDisplay(player)
end
end
player.CharacterAdded:Connect(onCharacterAdded)
if player.Character then
onCharacterAdded(player.Character)
end
end
local function onPlayerRemoving(player)
if player.Character then
local head = player.Character:FindFirstChild("Head")
if head then
local billboardGui = head:FindFirstChildOfClass("BillboardGui")
if billboardGui then
billboardGui:Destroy()
end
end
end
end
local Toggle = Tabs.Esp:AddToggle("ESP_Toggle", {
Title = "Player ESP",
Description = "Show Player Health, Name, and Money",
Default = false,
Callback = function(state)
espEnabled = state
if state then
for _, player in ipairs(Players:GetPlayers()) do
if player ~= Players.LocalPlayer then
if player.Character then
createHealthDisplay(player)
end
end
end
else
for _, player in ipairs(Players:GetPlayers()) do
if player.Character then
local head = player.Character:FindFirstChild("Head")
if head then
local billboardGui = head:FindFirstChildOfClass("BillboardGui")
if billboardGui then
billboardGui:Destroy()
end
end
end
end
end
end
})
for _, player in ipairs(Players:GetPlayers()) do
onPlayerAdded(player)
end
Players.PlayerAdded:Connect(onPlayerAdded)
Players.PlayerRemoving:Connect(onPlayerRemoving)
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local DayOnlyLoop
local NightOnlyLoop
local DayToggle = Tabs.Weather:AddToggle("OnlyDay_Toggle", {
Title = "Only Day",
Description = "",
Default = false,
Callback = function(Value)
if Value then
DayOnlyLoop = RunService.Heartbeat:Connect(function()
Lighting.TimeOfDay = "12:00:00"
end)
else
if DayOnlyLoop then
DayOnlyLoop:Disconnect()
DayOnlyLoop = nil
end
end
end
})
local NightToggle = Tabs.Weather:AddToggle("OnlyNight_Toggle", {
Title = "Only Night",
Description = "",
Default = false,
Callback = function(Value)
if Value then
NightOnlyLoop = RunService.Heartbeat:Connect(function()
Lighting.TimeOfDay = "22:00:00"
end)
else
if NightOnlyLoop then
NightOnlyLoop:Disconnect()
NightOnlyLoop = nil
end
end
end
})
local FogToggle = Tabs.Weather:AddToggle("RemoveFog_Toggle", {
Title = "Remove Fog",
Description = "",
Default = false,
Callback = function(Value)
if Value then
local sky = Lighting:FindFirstChild("GrayCloudSky")
if sky then
sky.Parent = Lighting.Bloom
end
else
local skyInBloom = Lighting.Bloom:FindFirstChild("GrayCloudSky")
if skyInBloom then
skyInBloom.Parent = Lighting
end
end
end
})
Tabs.Misc:AddButton({
Title = "Anti AFK",
Description = "",
Callback = function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/leakerbro43/neox/refs/heads/main/antiafk"))();
end
})
Tabs.Misc:AddButton({
Title = "Infiniteyield Reborn",
Description = "",
Callback = function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/leakerbro43/neox/refs/heads/main/infiniteyieldreborn"))()
end
})
local Section = Tabs.Misc:AddSection("Character")
local TeleportToggle = Tabs.Misc:AddToggle("TeleportToggle",
{
Title = "T + Left Click Teleport",
Description = "",
Default = false,
Callback = function(Value)
if not hasUserToggled and not isTeleportEnabled then
hasUserToggled = true
isTeleportEnabled = Value
return
end
isTeleportEnabled = Value
if Value then
if not connection then
connection = game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed and isTeleportEnabled and input.UserInputType == Enum.UserInputType.MouseButton1 then
if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.T) then
local player = game:GetService("Players").LocalPlayer
local mouse = player:GetMouse()
player.Character:MoveTo(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
end
end
end)
end
else
if connection then
connection:Disconnect()
connection = nil
end
end
end
})
local InfiniteJumpToggle = Tabs.Misc:AddToggle("InfiniteJumpToggle",
{
Title = "Infinite Jumps",
Description = "",
Default = false,
Callback = function(Value)
_G.infinjump = Value
end
})
if not _G.infinJumpStarted then
_G.infinJumpStarted = true
_G.infinjump = false
local plr = game:GetService('Players').LocalPlayer
local m = plr:GetMouse()
m.KeyDown:Connect(function(key)
if _G.infinjump then
if key:byte() == 32 then
local humanoid = plr.Character and plr.Character:FindFirstChildOfClass('Humanoid')
if humanoid then
humanoid:ChangeState('Jumping')
wait()
humanoid:ChangeState('Seated')
end
end
end
end)
end
local Noclip = nil
local Clip = true
function noclip()
Clip = false
local function Nocl()
if Clip == false and game.Players.LocalPlayer.Character ~= nil then
for _, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
if v:IsA('BasePart') and v.CanCollide and v.Name ~= floatName then
v.CanCollide = false
end
end
end
wait(0.21)
end
Noclip = game:GetService('RunService').Stepped:Connect(Nocl)
end
function clip()
if Noclip then
Noclip:Disconnect()
end
Clip = true
if game.Players.LocalPlayer.Character then
for _, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
if v:IsA('BasePart') and v.CanCollide == false then
v.CanCollide = true
end
end
end
end
local Toggle = Tabs.Misc:AddToggle("MyToggle", {
Title = "Noclip",
Description = "",
Default = false,
Callback = function(state)
if state then
noclip()
else
clip()
end
end
})
local Slider = Tabs.Misc:AddSlider("SpeedSlider",
{
Title = "WalkSpeed",
Description = "",
Default = 16,
Min = 16,
Max = 500,
Rounding = 1,
Callback = function(Value)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
end
})
local Slider = Tabs.Misc:AddSlider("JumpSlider",
{
Title = "Jump Power",
Description = "",
Default = 50,
Min = 50,
Max = 500,
Rounding = 1,
Callback = function(Value)
game.Players.LocalPlayer.Character.Humanoid.JumpPower = (Value)
end
})
local Input = Tabs.Misc:AddInput("FOVInput",
{
Title = "Change FOV",
Description = "",
Default = "70",
Placeholder = "Enter FOV value",
Numeric = true,
Finished = true,
Callback = function(Value)
local fov = tonumber(Value)
if fov then
game.Workspace.Camera.FieldOfView = fov
print("FOV set to:", fov)
else
warn("Invalid fpv valuee")
end
end
})
Tabs.Performance:AddButton({
Title = "Enable FPS Counter & Boost",
Description = "",
Callback = function()
if not gethui then
warn("incompatible executor: unavailable")
return
end
local runService = game:GetService("RunService")
local lighting = game:GetService("Lighting")
local fpsCounterGui = Instance.new("ScreenGui", gethui())
local fpsLabel = Instance.new("TextLabel", fpsCounterGui)
fpsCounterGui.Name = "FpsCounterGui"
fpsCounterGui.IgnoreGuiInset = true
fpsLabel.Name = "FpsLabel"
fpsLabel.BackgroundTransparency = 1
fpsLabel.Position = UDim2.new(1, -100, 0, 0)
fpsLabel.Size = UDim2.new(0, 100, 0, 30)
fpsLabel.Text = ""
fpsLabel.TextSize = 16
fpsLabel.TextStrokeTransparency = 0.6
fpsLabel.Draggable = true
local function GetFPS(delay)
local startTime = tick()
local frames = 0
local heartbeatConnection = runService.Heartbeat:Connect(function()
frames = frames + 1
end)
task.wait(delay)
heartbeatConnection:Disconnect()
local elapsedTime = tick() - startTime
local fps = frames / elapsedTime
return math.ceil(fps)
end
task.spawn(function()
while true do
local fps = GetFPS(0.5)
if fps >= 60 then
fpsLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
elseif fps <= 59 and fps > 50 then
fpsLabel.TextColor3 = Color3.fromRGB(255, 170, 0)
elseif fps <= 49 and fps > 30 then
fpsLabel.TextColor3 = Color3.fromRGB(255, 85, 0)
elseif fps <= 29 then
fpsLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
end
fpsLabel.Text = tostring(fps) .. " FPS"
end
end)
lighting.GlobalShadows = false
lighting.FogEnd = 9e9
lighting.EnvironmentDiffuseScale = 0.5
lighting.EnvironmentSpecularScale = 0.5
for _, descendant in ipairs(game:GetDescendants()) do
if descendant:IsA("BasePart") then
descendant.CastShadow = false
descendant.Material = Enum.Material.SmoothPlastic
descendant.Reflectance = 0
if descendant:IsA("MeshPart") then
descendant.CollisionFidelity = Enum.CollisionFidelity.Box
end
end
if descendant:IsA("Decal") or descendant:IsA("Texture") then
if descendant.Transparency > 0.25 then
descendant.Transparency = 0.25
end
end
if descendant:IsA("ParticleEmitter") or descendant:IsA("Trail") then
descendant.Lifetime = NumberRange.new(0)
end
end
end
})
Tabs.Train:AddButton({
Title = "Tp To Train",
Description = "Make Sure No One Is Sitting On Seat",
Callback = function()
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local hrp = Character:WaitForChild("HumanoidRootPart")
local conductorSeatModel = workspace:WaitForChild("Train"):WaitForChild("TrainControls"):WaitForChild("ConductorSeat")
local modelCFrame = conductorSeatModel:GetBoundingBox()
local teleportPosition = modelCFrame.Position + Vector3.new(0, 3, 0)
hrp.CFrame = CFrame.new(teleportPosition)
end
})
local VirtualInputManager = game:GetService("VirtualInputManager")
local isHoldingW = false
Tabs.Train:AddToggle("AutoRunTrain", {
Title = "Auto Run Train",
Description = "",
Default = false,
Callback = function(state)
isHoldingW = state
if isHoldingW then
task.spawn(function()
while isHoldingW do
VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.W, false, game)
task.wait(0.1)
end
end)
else
VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.W, false, game)
end
end
})
getgenv().esptrain = false
local runService = game:GetService("RunService")
local trainFolder = workspace:FindFirstChild("Train")
local function addTrainESP(train)
if not train:FindFirstChild("ESP_Highlight") then
pcall(function()
local highlight = Instance.new("Highlight")
highlight.Name = "ESP_Highlight"
highlight.FillColor = Color3.fromRGB(255, 255, 255)
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
highlight.FillTransparency = 0.5
highlight.OutlineTransparency = 0
highlight.Adornee = train
highlight.Parent = train
end)
end
end
local function removeTrainESP(train)
if train:FindFirstChild("ESP_Highlight") then
train.ESP_Highlight:Destroy()
end
end
runService.RenderStepped:Connect(function()
if trainFolder then
for _, train in ipairs(trainFolder:GetChildren()) do
if getgenv().esptrain then
addTrainESP(train)
else
removeTrainESP(train)
end
end
end
end)
local Toggle = Tabs.Train:AddToggle("MyToggle",
{
Title = "Train ESP",
Description = "",
Default = false,
Callback = function(state)
getgenv().esptrain = state
end
})
local textLabel1 = game.Workspace.Train.TrainControls.DistanceDial.SurfaceGui.TextLabel
local textLabel2 = game.Workspace.Train.TrainControls.TimeDial.SurfaceGui.TextLabel
local meterGui, timeGui = nil, nil
local function createDisplayGui(state, guiType)
local CoreGui = game:GetService("CoreGui")
if guiType == "meter" then
if state then
if not meterGui then
meterGui = Instance.new("ScreenGui")
meterGui.Name = "DistanceDisplay"
meterGui.Parent = CoreGui
meterGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local distanceLabel = Instance.new("TextLabel")
distanceLabel.Name = "Distance"
distanceLabel.Parent = meterGui
distanceLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
distanceLabel.BackgroundTransparency = 1
distanceLabel.BorderSizePixel = 0
distanceLabel.Position = UDim2.new(0.0102, 0, 0.5585, 0)
distanceLabel.Size = UDim2.new(0.0961, 0, 0.0832, 0)
distanceLabel.Font = Enum.Font.SourceSansBold
distanceLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
distanceLabel.TextScaled = true
distanceLabel.TextStrokeTransparency = 0
distanceLabel.TextWrapped = true
distanceLabel.TextXAlignment = Enum.TextXAlignment.Left
local function updateDistance()
distanceLabel.Text = textLabel1.Text
end
updateDistance()
textLabel1:GetPropertyChangedSignal("Text"):Connect(updateDistance)
end
meterGui.Enabled = true
else
if meterGui then
meterGui.Enabled = false
end
end
elseif guiType == "time" then
if state then
if not timeGui then
timeGui = Instance.new("ScreenGui")
timeGui.Name = "TimeDisplay"
timeGui.Parent = CoreGui
timeGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local timeLabel = Instance.new("TextLabel")
timeLabel.Name = "Time"
timeLabel.Parent = timeGui
timeLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
timeLabel.BackgroundTransparency = 1
timeLabel.BorderSizePixel = 0
timeLabel.Position = UDim2.new(0.0102, 0, 0.6406, 0)
timeLabel.Size = UDim2.new(0.0961, 0, 0.0832, 0)
timeLabel.Font = Enum.Font.SourceSansBold
timeLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
timeLabel.TextScaled = true
timeLabel.TextStrokeTransparency = 0
timeLabel.TextWrapped = true
timeLabel.TextXAlignment = Enum.TextXAlignment.Left
local function updateTime()
timeLabel.Text = textLabel2.Text
end
updateTime()
textLabel2:GetPropertyChangedSignal("Text"):Connect(updateTime)
end
timeGui.Enabled = true
else
if timeGui then
timeGui.Enabled = false
end
end
end
end
local DistanceToggle = Tabs.Train:AddToggle("DistanceToggle", {
Title = "Distance Display",
Description = "",
Default = false,
Callback = function(state)
createDisplayGui(state, "meter")
end
})
local TimeToggle = Tabs.Train:AddToggle("TimeToggle", {
Title = "Time Display",
Description = "",
Default = false,
Callback = function(state)
createDisplayGui(state, "time")
end
})
local CoreGui = game:GetService("CoreGui")
local FuelGui = Instance.new("ScreenGui")
FuelGui.Name = "FuelDisplay"
FuelGui.Parent = CoreGui
FuelGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
FuelGui.Enabled = false
local FuelLabel = Instance.new("TextLabel")
FuelLabel.Name = "FuelIndicator"
FuelLabel.Parent = FuelGui
FuelLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
FuelLabel.BackgroundTransparency = 1
FuelLabel.BorderSizePixel = 0
FuelLabel.Position = UDim2.new(0.0102, 0, 0.3421, 0)
FuelLabel.Size = UDim2.new(0.0961, 0, 0.0832, 0)
FuelLabel.Font = Enum.Font.Cartoon
FuelLabel.TextColor3 = Color3.fromRGB(255, 0, 4)
FuelLabel.TextScaled = true
FuelLabel.TextStrokeTransparency = 0
FuelLabel.TextWrapped = true
FuelLabel.TextXAlignment = Enum.TextXAlignment.Left
local function updateFuelDisplay()
local train = game.Workspace:FindFirstChild("Train")
local fuelValue = train and train:FindFirstChild("Fuel")
if fuelValue and fuelValue:IsA("IntValue") then
FuelLabel.Text = string.format("Fuel: %d", fuelValue.Value)
else
FuelLabel.Text = "Fuel unavailable"
end
end
updateFuelDisplay()
local train = game.Workspace:FindFirstChild("Train")
local fuel = train and train:FindFirstChild("Fuel")
if fuel then
fuel.Changed:Connect(updateFuelDisplay)
end
local FuelToggle = Tabs.Train:AddToggle("FuelToggle", {
Title = "Fuel Display",
Description = "",
Default = false,
Callback = function(state)
FuelGui.Enabled = state
end
})
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local player = Players.LocalPlayer
local train = Workspace:FindFirstChild("Train")
if not train then
warn("train not found")
return
end
local trainPart = train.PrimaryPart or train:FindFirstChildWhichIsA("BasePart")
if not trainPart then
warn("part not found in train")
return
end
local traindistance = Instance.new("ScreenGui")
traindistance.Name = "TrainDistance"
traindistance.Parent = game:GetService("CoreGui")
traindistance.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local TutorialText = Instance.new("TextLabel")
TutorialText.Name = "TutorialText"
TutorialText.Parent = traindistance
TutorialText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TutorialText.BackgroundTransparency = 1.000
TutorialText.BorderColor3 = Color3.fromRGB(0, 0, 0)
TutorialText.BorderSizePixel = 0
TutorialText.Position = UDim2.new(0.882562518, 0, 0.465028077, 0)
TutorialText.Size = UDim2.new(0.117042422, 0, 0.0666883513, 0)
TutorialText.Font = Enum.Font.Highway
TutorialText.Text = "Train Distance: 999999 Studs"
TutorialText.TextColor3 = Color3.fromRGB(251, 255, 0)
TutorialText.TextScaled = true
TutorialText.TextSize = 14.000
TutorialText.TextStrokeTransparency = 0.000
TutorialText.TextWrapped = true
TutorialText.Visible = false
local toggleActive = false
local Toggle = Tabs.Train:AddToggle("MyToggle", {
Title = "Train Distance GUI",
Description = "",
Default = false,
Callback = function(state)
toggleActive = state
TutorialText.Visible = state
end
})
RunService.Heartbeat:Connect(function()
if toggleActive and player.Character and player.Character.PrimaryPart then
local playerPos = player.Character.PrimaryPart.Position
local trainPos = trainPart.Position
local distance = (playerPos - trainPos).Magnitude
TutorialText.Text = "Train Distance: " .. math.floor(distance) .. " Studs"
end
end)
local clickDetector = game.Workspace.Train.TrainControls.Lever.HitBox.ClickDetector
Tabs.Train:AddButton({
Title = "Honk Train",
Description = "Also Has A Keybind (Press H)",
Callback = function()
if clickDetector then
fireclickdetector(clickDetector)
print("triggered")
else
warn("not found")
end
end
})
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed and input.KeyCode == Enum.KeyCode.H then
if clickDetector then
fireclickdetector(clickDetector)
print("triggered")
else
warn("not found")
end
end
end)
Tabs.Teleport:AddButton({
Title = "Teleport To Fort",
Description = "",
Callback = function()
loadstring(game:HttpGet('https://raw.githubusercontent.com/leakerbro43/neox/refs/heads/main/tptofort'))()
end
})
Tabs.Teleport:AddButton({
Title = "Teleport To Tesla Lab",
Description = "",
Callback = function()
loadstring(game:HttpGet('https://raw.githubusercontent.com/leakerbro43/neox/refs/heads/main/tptoteslalab'))()
end
})
Tabs.Teleport:AddButton({
Title = "Teleport To Castle",
Description = "",
Callback = function()
loadstring(game:HttpGet('https://raw.githubusercontent.com/leakerbro43/neox/refs/heads/main/tptocastle'))()
end
})
local Players = game:GetService("Players")
local ProximityPromptService = game:GetService("ProximityPromptService")
local Workspace = game:GetService("Workspace")
local VirtualInputManager = game:GetService("VirtualInputManager")
local player = Players.LocalPlayer
local character = player.Character
local humanoidRootPart = nil
local runtimeItems = nil
local moneybag = nil
local bandage = nil
local bond = nil
local promptConnection = nil
local isRunning = false
local moneybagToggle = false
local bandageToggle = false
local bondToggle = false
local isHoldingE = false
local eKeyTask = nil
local function updateCharacter(newCharacter)
character = newCharacter
humanoidRootPart = character and character:FindFirstChild("HumanoidRootPart")
end
local function setupPromptListener()
if promptConnection then return end
local success, err = pcall(function()
promptConnection = ProximityPromptService.PromptButtonHoldBegan:Connect(function(prompt)
local noholddelay = true
if noholddelay and prompt:IsA("ProximityPrompt") then
prompt.HoldDuration = 0
end
end)
end)
end
local function cleanupPromptListener()
if promptConnection then
pcall(function()
promptConnection:Disconnect()
promptConnection = nil
end)
end
end
local function stopEKey()
if eKeyTask then
isHoldingE = false
VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.E, false, game)
eKeyTask = nil
end
end
local function startDetectionLoop()
if isRunning then return end
isRunning = true
while isRunning do
if not (moneybagToggle or bandageToggle or bondToggle) then
stopEKey()
cleanupPromptListener()
task.wait(0.5)
else
if not runtimeItems then
local success, err = pcall(function()
runtimeItems = Workspace:WaitForChild("RuntimeItems", 5)
end)
if not success or not runtimeItems then
break
end
end
moneybag = moneybagToggle and runtimeItems:FindFirstChild("Moneybag") or nil
bandage = bandageToggle and runtimeItems:FindFirstChild("Bandage") or nil
bond = bondToggle and runtimeItems:FindFirstChild("Bond") or nil
if moneybag or bandage or bond then
setupPromptListener()
if not eKeyTask and (moneybagToggle or bandageToggle or bondToggle) then
isHoldingE = true
eKeyTask = task.spawn(function()
while isHoldingE do
VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.E, false, game)
task.wait(0.1)
end
VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.E, false, game)
end)
end
task.wait(0.1)
else
stopEKey()
cleanupPromptListener()
task.wait(0.5)
end
end
end
isRunning = false
stopEKey()
cleanupPromptListener()
end
if character then
updateCharacter(character)
end
player.CharacterAdded:Connect(function(newCharacter)
updateCharacter(newCharacter)
end)
player.CharacterRemoving:Connect(function()
character = nil
humanoidRootPart = nil
end)
coroutine.wrap(startDetectionLoop)()
local MoneybagToggle = Tabs.Autofarm:AddToggle("MoneybagCollect",
{
Title = "Auto Collect Cash",
Description = "",
Default = false,
Callback = function(state)
moneybagToggle = state
if not state then
stopEKey()
end
end
})
local BandageToggle = Tabs.Autofarm:AddToggle("BandageCollect",
{
Title = "Auto Pickup Bandage",
Description = "",
Default = false,
Callback = function(state)
bandageToggle = state
if not state then
stopEKey()
end
end
})
local BondToggle = Tabs.Autofarm:AddToggle("BondCollect",
{
Title = "Auto Collect Bond(near)",
Description = "",
Default = false,
Callback = function(state)
bondToggle = state
if not state then
stopEKey()
end
end
})
local teleporting = false
local Toggle = Tabs.Autofarm:AddToggle("MyToggle", {
Title = "Tp To End",
Description = "Make sure to buy a gun and eliminate the outlaw. Then, turn off the toggle. If it teleports you back, keep turning the toggle off and on—it will eventually teleport you - also need (10min) gameplay to turn on bridge",
Default = false,
Callback = function(Value)
teleporting = Value
if teleporting then
task.spawn(function()
while teleporting do
if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-423.951904296875, 27.18777847290039, -49039.640625)
end
task.wait(0)
end
end)
end
end
})
Tabs.Autofarm:AddButton({
Title = "Start (10min) Timer",
Description = "",
Callback = function()
local player = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "TimerGUI"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 120, 0, 36)
frame.Position = UDim2.new(0.5, 0, 0.02, 0)
frame.AnchorPoint = Vector2.new(0.5, 0)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BackgroundTransparency = 0.1
frame.BorderSizePixel = 0
local corner = Instance.new("UICorner", frame)
corner.CornerRadius = UDim.new(1, 0)
local label = Instance.new("TextLabel", frame)
label.Size = UDim2.new(1, 0, 1, 0)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.TextStrokeTransparency = 0.8
label.TextScaled = true
label.Font = Enum.Font.GothamBold
label.Text = "10:00"
local totalTime = 600
spawn(function()
while totalTime >= 0 do
local minutes = math.floor(totalTime / 60)
local seconds = totalTime % 60
label.Text = string.format("%02d:%02d", minutes, seconds)
if totalTime < 60 then
label.TextColor3 = Color3.fromRGB(255, 80, 80)
end
wait(1)
totalTime -= 1
end
for i = 1, 10 do
frame.BackgroundTransparency += 0.05
label.TextTransparency += 0.1
label.TextStrokeTransparency += 0.1
wait(0.05)
end
gui:Destroy()
end)
end
})
Tabs.Esp:AddButton({
Title = "Buildings ESP + Zombies Count In Building",
Description = "Sometimes, it may display 0 zombies even when there are zombies present. If this happens, please click the button again to refresh the count. If it still shows 0 after pressing the button, then there are truly no zombies. However, to confirm, always click the button when it shows 0 zombies",
Callback = function()
local buildingsFolder = game.Workspace:FindFirstChild("RandomBuildings")
if not buildingsFolder then
warn("folder not found")
return
end
local function ensurePrimaryPart(model)
if not model.PrimaryPart then
for _, part in ipairs(model:GetChildren()) do
if part:IsA("BasePart") then
model.PrimaryPart = part
break
end
end
end
end
local function countZombies(model)
local zombiePart = model:FindFirstChild("StandaloneZombiePart")
if not zombiePart then
return 0
end
local zombieFolder = zombiePart:FindFirstChild("Zombies")
if not zombieFolder then
return 0
end
local count = 0
for _, item in ipairs(zombieFolder:GetChildren()) do
if item:IsA("Model") then
count = count + 1
end
end
return count
end
local function createBillboard(model, text, offset, name)
local primaryPart = model.PrimaryPart
if not primaryPart then return nil end
local oldGui = model:FindFirstChild(name)
if oldGui then oldGui:Destroy() end
local billboardGui = Instance.new("BillboardGui")
billboardGui.Name = name
billboardGui.Size = UDim2.new(50, 0, 15, 0)
billboardGui.StudsOffset = Vector3.new(0, offset, 0)
billboardGui.Adornee = primaryPart
billboardGui.AlwaysOnTop = true
billboardGui.Parent = model
local textLabel = Instance.new("TextLabel")
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1
textLabel.TextScaled = true
textLabel.TextColor3 = Color3.new(1, 1, 0)
textLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
textLabel.TextStrokeTransparency = 0
textLabel.Font = Enum.Font.GothamBlack
textLabel.Text = text
textLabel.Parent = billboardGui
return billboardGui
end
local function updateZombieCount(model)
local zombieGui = model:FindFirstChild("ZombieCounter")
if zombieGui then
local textLabel = zombieGui:FindFirstChildOfClass("TextLabel")
if textLabel then
local count = countZombies(model)
textLabel.Text = "Zombies: " .. count
return count
end
end
return 0
end
local function setupModel(model)
if not model:IsA("Model") then return end
ensurePrimaryPart(model)
local zombieCount = countZombies(model)
local zombieGui = createBillboard(model, "Zombies: " .. zombieCount, 50, "ZombieCounter")
createBillboard(model, model.Name, 65, "ModelName")
task.spawn(function()
local attempts = 0
local maxAttempts = 5
local lastCount = 0
while attempts < maxAttempts do
local currentCount = updateZombieCount(model)
if currentCount > 0 and currentCount == lastCount then
break
end
lastCount = currentCount
attempts = attempts + 1
task.wait(0.5)
end
end)
local zombiePart = model:FindFirstChild("StandaloneZombiePart")
if zombiePart then
local zombieFolder = zombiePart:FindFirstChild("Zombies")
if zombieFolder then
zombieFolder.ChildAdded:Connect(function()
if zombieGui then
updateZombieCount(model)
end
end)
zombieFolder.ChildRemoved:Connect(function()
if zombieGui then
updateZombieCount(model)
end
end)
end
end
model:GetPropertyChangedSignal("Name"):Connect(function()
local nameGui = model:FindFirstChild("ModelName")
if nameGui then
local textLabel = nameGui:FindFirstChildOfClass("TextLabel")
if textLabel then
textLabel.Text = model.Name
end
end
end)
end
local function cleanupModels()
for _, child in ipairs(buildingsFolder:GetChildren()) do
if child:IsA("BillboardGui") then
if not child.Parent or not child.Parent:IsA("Model") then
child:Destroy()
end
end
end
end
local function refreshModels()
cleanupModels()
for _, model in ipairs(buildingsFolder:GetChildren()) do
setupModel(model)
end
end
refreshModels()
buildingsFolder.ChildAdded:Connect(function(model)
task.wait(0.1)
setupModel(model)
end)
buildingsFolder.ChildRemoved:Connect(function()
task.wait(0.1)
cleanupModels()
end)
end
})
Tabs.Esp:AddButton({
Title = "Ores ESP",
Description = "",
Callback = function()
local oreFolder = workspace:FindFirstChild("Ore")
local runService = game:GetService("RunService")
local camera = workspace.CurrentCamera
local player = game.Players.LocalPlayer
local espData = {}
local function createESP(model)
if not model.PrimaryPart then return end
local highlight = Instance.new("Highlight")
highlight.Parent = model
highlight.FillColor = Color3.fromRGB(255, 128, 0)
highlight.FillTransparency = 0.3
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
highlight.OutlineTransparency = 0
local text = Drawing.new("Text")
text.Size = 22
text.Color = Color3.fromRGB(0, 255, 204)
text.Outline = true
text.OutlineColor = Color3.fromRGB(10, 10, 10)
text.Center = true
text.Font = 3
espData[model] = {highlight = highlight, text = text}
end
local function removeESP(model)
if espData[model] then
espData[model].highlight:Destroy()
espData[model].text:Remove()
espData[model] = nil
end
end
local function updateESP()
for model, data in pairs(espData) do
if model and model.PrimaryPart then
local screenPosition, onScreen = camera:WorldToViewportPoint(model.PrimaryPart.Position)
if onScreen then
local char = player.Character
local charPart = char and char:FindFirstChild("HumanoidRootPart")
local distance = charPart and math.floor((charPart.Position - model.PrimaryPart.Position).Magnitude) or 0
if distance < 50 then
data.text.Color = Color3.fromRGB(255, 80, 80)
data.text.Size = 24
elseif distance < 150 then
data.text.Color = Color3.fromRGB(255, 190, 0)
data.text.Size = 22
else
data.text.Color = Color3.fromRGB(0, 255, 204)
data.text.Size = 20
end
data.text.Text = string.format("%s [%d Studs]", model.Name:upper(), distance)
data.text.Position = Vector2.new(screenPosition.X, screenPosition.Y - 30)
data.text.Visible = true
else
data.text.Visible = false
end
else
removeESP(model)
end
end
end
local function refreshESP()
if oreFolder then
for _, model in pairs(oreFolder:GetChildren()) do
if model:IsA("Model") and not espData[model] and model.PrimaryPart then
createESP(model)
end
end
for model in pairs(espData) do
if not model.Parent then
removeESP(model)
end
end
end
end
runService.RenderStepped:Connect(function()
refreshESP()
updateESP()
end)
end
})
local fov = 136
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Cam = workspace.CurrentCamera
local Player = game:GetService("Players").LocalPlayer
local FOVring = Drawing.new("Circle")
FOVring.Visible = false
FOVring.Thickness = 2
FOVring.Color = Color3.fromRGB(128, 0, 128)
FOVring.Filled = false
FOVring.Radius = fov
FOVring.Position = Cam.ViewportSize / 2
local isAiming = false
local validNPCs = {}
local raycastParams = RaycastParams.new()
raycastParams.FilterType = Enum.RaycastFilterType.Blacklist
local Toggle = Tabs.Aimbot:AddToggle("MyToggle",
{
Title = "Aimbot + FOV Circle",
Description = "Also Has A Keybind (Press L)",
Default = false,
Callback = function(value)
isAiming = value
FOVring.Visible = value
end
})
local function isNPC(obj)
return obj:IsA("Model")
and obj:FindFirstChild("Humanoid")
and obj.Humanoid.Health > 0
and obj:FindFirstChild("Head")
and obj:FindFirstChild("HumanoidRootPart")
and not game:GetService("Players"):GetPlayerFromCharacter(obj)
end
local function updateNPCs()
local tempTable = {}
for _, obj in ipairs(workspace:GetDescendants()) do
if isNPC(obj) then
tempTable[obj] = true
end
end
for i = #validNPCs, 1, -1 do
if not tempTable[validNPCs[i]] then
table.remove(validNPCs, i)
end
end
for obj in pairs(tempTable) do
if not table.find(validNPCs, obj) then
table.insert(validNPCs, obj)
end
end
end
local function handleDescendant(descendant)
if isNPC(descendant) then
table.insert(validNPCs, descendant)
local humanoid = descendant:WaitForChild("Humanoid")
humanoid.Destroying:Connect(function()
for i = #validNPCs, 1, -1 do
if validNPCs[i] == descendant then
table.remove(validNPCs, i)
break
end
end
end)
end
end
workspace.DescendantAdded:Connect(handleDescendant)
local function updateDrawings()
FOVring.Position = Cam.ViewportSize / 2
FOVring.Radius = fov * (Cam.ViewportSize.Y / 1080)
end
local function predictPos(target)
local rootPart = target:FindFirstChild("HumanoidRootPart")
local head = target:FindFirstChild("Head")
if not rootPart or not head then
return head and head.Position or rootPart and rootPart.Position
end
local velocity = rootPart.Velocity
local predictionTime = 0.02
local basePosition = rootPart.Position + velocity * predictionTime
local headOffset = head.Position - rootPart.Position
return basePosition + headOffset
end
local function getTarget()
local nearest = nil
local minDistance = math.huge
local viewportCenter = Cam.ViewportSize / 2
raycastParams.FilterDescendantsInstances = {Player.Character}
for _, npc in ipairs(validNPCs) do
local predictedPos = predictPos(npc)
local screenPos, visible = Cam:WorldToViewportPoint(predictedPos)
if visible and screenPos.Z > 0 then
local ray = workspace:Raycast(
Cam.CFrame.Position,
(predictedPos - Cam.CFrame.Position).Unit * 1000,
raycastParams
)
if ray and ray.Instance:IsDescendantOf(npc) then
local distance = (Vector2.new(screenPos.X, screenPos.Y) - viewportCenter).Magnitude
if distance < minDistance and distance < fov then
minDistance = distance
nearest = npc
end
end
end
end
return nearest
end
local function aim(targetPosition)
local currentCF = Cam.CFrame
local targetDirection = (targetPosition - currentCF.Position).Unit
local smoothFactor = 0.581
local newLookVector = currentCF.LookVector:Lerp(targetDirection, smoothFactor)
Cam.CFrame = CFrame.new(currentCF.Position, currentCF.Position + newLookVector)
end
local heartbeat = RunService.Heartbeat
local lastUpdate = 0
local UPDATE_INTERVAL = 0.4
heartbeat:Connect(function(dt)
updateDrawings()
lastUpdate = lastUpdate + dt
if lastUpdate >= UPDATE_INTERVAL then
updateNPCs()
lastUpdate = 0
end
if isAiming then
local target = getTarget()
if target then
local predictedPosition = predictPos(target)
aim(predictedPosition)
end
end
end)
UserInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.L then
isAiming = not isAiming
FOVring.Visible = isAiming
Toggle:SetValue(isAiming)
end
end)
updateNPCs()
workspace.DescendantRemoved:Connect(function(descendant)
if isNPC(descendant) then
for i = #validNPCs, 1, -1 do
if validNPCs[i] == descendant then
table.remove(validNPCs, i)
break
end
end
end
end)
game:GetService("Players").PlayerRemoving:Connect(function()
FOVring:Remove()
end)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, discord.gg.
Happy skidding, Emplic decompiled ts - go thank emplic!!! https://scriptblox.com/u/Emplic

Dead Rails