Run it
Copy the script and paste it into your executor.
.ViolenceDistrictLoaded
()
.ViolenceDistrictLoaded =
()
UserInputService = :()
hasTouchScreen = UserInputService.TouchEnabled
camera = .CurrentCamera
viewportSize = camera camera.ViewportSize .(, )
isSmallScreen = viewportSize.X <= viewportSize.Y <=
hasGyroscope = UserInputService.GyroscopeEnabled UserInputService.AccelerometerEnabled
noKeyboard = UserInputService.KeyboardEnabled
executorName = identifyexecutor ()
isMobileExecutor = executorName:():()
executorName:():()
executorName:():()
executorName:():()
hasTouchScreen (noKeyboard isSmallScreen hasGyroscope isMobileExecutor)
isMobile = ()
executorName = identifyexecutor ()
()
( .. (isMobile ))
( .. executorName)
()
(url)
methods = {}
.HttpGet
.(methods, () :(url) )
.request
.(methods, () .({Url = url, Method = }).Body )
.request
.(methods, () .({Url = url, Method = }).Body )
.(methods, () ({Url = url, Method = }).Body )
.(methods, () ({Url = url, Method = }).Body )
_, method (methods)
success, result = (method)
success result #result >
result
( .. url)
Rayfield
loadSuccess = (()
Rayfield = (())()
)
loadSuccess
()
(()
Rayfield = (())()
)
Rayfield
.ViolenceDistrictLoaded =
()
Players = :()
Workspace = :()
RunService = :()
ReplicatedStorage = :()
UserInputService = :()
LocalPlayer = Players.LocalPlayer
AllConnections = {}
(connection)
connection
.(AllConnections, connection)
connection
()
_, conn (AllConnections)
(()
conn (conn) == conn.Connected
conn:()
)
AllConnections = {}
Config = {
ESP = {
Killer = ,
Survivor = ,
Generator = ,
Gate = ,
Hook = ,
Pallet = ,
Window = ,
Pumpkin = ,
ClosestHook = ,
ShowOnlyClosestHook = ,
ShowDistance = ,
MaxDistance = ,
},
AutoFeatures = {
AutoGenerator = ,
GeneratorMode = ,
AutoLeaveGenerator = ,
LeaveDistance = ,
LeaveKeybind = .KeyCode.Q,
AutoAttack = ,
AttackRange = ,
},
Teleportation = {
TeleportOffset = ,
SafeTeleport = ,
TeleportDelay = ,
},
Performance = {
UpdateRate = ,
UseDistanceCulling = ,
MaxESPObjects = isMobile ,
DisableParticles = ,
LowerGraphics = ,
DisableShadows = ,
ReduceRenderDistance = ,
},
Mobile = {
TouchControlsEnabled = isMobile,
ButtonSize = ,
ButtonTransparency = ,
AutoOptimize = ,
AggressiveOptimization = ,
},
}
Highlights = {}
BillboardGuis = {}
LastUpdate =
UpdateConnection =
LeaveGeneratorConnection =
AutoAttackConnection =
MobileUI =
FPSCounterEnabled =
FPSCounterUI =
FPSHeartbeatConnection =
ScriptRunning =
TeleportDebounce =
(title, content, duration)
ScriptRunning
success = (()
Rayfield:({
Title = title,
Content = content,
Duration = duration ,
Image = ,
})
)
success
(.(, title, content))
(func, ...)
success, result = (func, ...)
success
result
(instance)
instance (instance) == instance.Parent ~=
()
LocalPlayer.Team LocalPlayer.Team.Name ==
()
LocalPlayer.Team LocalPlayer.Team.Name ==
()
char = LocalPlayer.Character
char
char:()
()
Workspace:()
(value, min, max)
.(min, .(max, value))
()
generators = {}
map = ()
map generators
_, obj (map:())
obj:() obj.Name ==
genPart = obj:()
genPart
.(generators, {
model = obj,
part = genPart,
position = genPart.Position,
})
generators
()
hrp = ()
hrp {}
generators = ()
_, gen (generators)
gen.distance = (gen.position - hrp.Position).Magnitude
.(generators, (a, b) a.distance < b.distance )
generators
(targetCFrame, offset)
hrp = ()
hrp
(, , )
offset = offset .(, Config.Teleportation.TeleportOffset, )
Config.Teleportation.SafeTeleport
(()
_, part (LocalPlayer.Character:())
part:()
part.CanCollide =
)
hrp.CFrame = targetCFrame + offset
Config.Teleportation.SafeTeleport
.(, ()
(()
LocalPlayer.Character
_, part (LocalPlayer.Character:())
part:() part.Name ~=
part.CanCollide =
)
)
(targetCFrame, offset)
TeleportDebounce
(, , )
TeleportDebounce =
result = (targetCFrame, offset)
.(, () TeleportDebounce = )
result
()
hrp = ()
hrp , ,
map = ()
map , ,
nearestGen =
nearestDist = .huge
_, obj (map:())
obj:() obj.Name ==
genPart = obj:()
genPart
distance = (genPart.Position - hrp.Position).Magnitude
distance < nearestDist
nearestDist = distance
nearestGen = obj
nearestGen nearestDist <= Config.AutoFeatures.LeaveDistance
, nearestGen, nearestDist
, ,
()
hrp = ()
hrp
isNear, nearestGen, _ = ()
isNear
(, , )
genPart = nearestGen:()
genPart
direction = (hrp.Position - genPart.Position).Unit
escapeDistance = Config.AutoFeatures.LeaveDistance +
escapePosition = hrp.Position + (direction * escapeDistance)
escapeCFrame = .(escapePosition, escapePosition + hrp.CFrame.LookVector)
(escapeCFrame, .(, , ))
(, .(, escapeDistance), )
()
isMobile
lighting = :()
(()
().Rendering.QualityLevel = .QualityLevel.Level01
lighting.GlobalShadows =
lighting.FogEnd =
lighting.Brightness =
_, effect (lighting:())
effect:()
effect.Enabled =
_, obj (Workspace:())
obj:() obj:() obj:()
obj:() obj:() obj:()
obj.Enabled =
(()
Workspace.StreamingEnabled =
Workspace.StreamingMinRadius =
Workspace.StreamingTargetRadius =
)
Workspace:()
(() Workspace.Terrain.Decoration = )
)
()
isMobile
()
(()
(()
().Rendering.QualityLevel = .QualityLevel.Level01
().Rendering.MeshPartDetailLevel = .MeshPartDetailLevel.Level01
)
_, obj (Workspace:())
obj:() obj:()
obj.Transparency =
obj:()
(() obj.Parent = )
Config.Performance.UpdateRate =
Config.Performance.MaxESPObjects =
)
()
lighting = :()
Config.Performance.DisableParticles
(()
_, obj (Workspace:())
obj:() obj:() obj:()
obj.Enabled =
)
Config.Performance.LowerGraphics
(() ().Rendering.QualityLevel = .QualityLevel.Level01 )
Config.Performance.DisableShadows
(()
lighting.GlobalShadows =
lighting.FogEnd =
)
Config.Performance.ReduceRenderDistance
(()
Workspace.StreamingEnabled =
Workspace.StreamingMinRadius =
Workspace.StreamingTargetRadius =
)
()
lighting = :()
(()
_, obj (Workspace:())
obj:() obj:() obj:()
obj.Enabled =
obj:() obj:()
obj.Transparency =
(() ().Rendering.QualityLevel = .QualityLevel.Automatic )
lighting.GlobalShadows =
lighting.FogEnd =
_, effect (lighting:())
effect:()
effect.Enabled =
)
(obj, color)
(obj)
Highlights[obj] (Highlights[obj])
Highlights[obj]
Highlights[obj] =
existingH = obj:()
existingH existingH:()
(()
h = .()
h.Name =
h.Adornee = obj
h.FillColor = color
h.OutlineColor = color
h.FillTransparency =
h.OutlineTransparency =
h.Parent = obj
Highlights[obj] = h
)
(obj)
Highlights[obj]
(()
(Highlights[obj])
Highlights[obj]:()
)
Highlights[obj] =
existingH = obj:()
existingH
(() existingH:() )
(obj, text, color)
(obj)
playerRoot = ()
playerRoot
rootPart = obj:() obj:()
(obj:() obj )
rootPart
distance = (playerRoot.Position - rootPart.Position).Magnitude
Config.Performance.UseDistanceCulling distance > Config.ESP.MaxDistance
BillboardGuis[obj] (BillboardGuis[obj])
(() BillboardGuis[obj]:() )
BillboardGuis[obj] =
BillboardGuis[obj] (BillboardGuis[obj])
textLabel = BillboardGuis[obj]:()
textLabel
textLabel.Text = Config.ESP.ShowDistance
.(, text, distance)
text
BillboardGuis[obj] =
(()
billboard = .()
billboard.Size = .(, , , )
billboard.AlwaysOnTop =
billboard.StudsOffset = .(, , )
billboard.Adornee = rootPart
billboard.Parent = obj
textLabel = .()
textLabel.Size = .(, , , )
textLabel.BackgroundTransparency =
textLabel.TextColor3 = color
textLabel.TextStrokeColor3 = .(, , )
textLabel.TextStrokeTransparency =
textLabel.Font = .Font.GothamBold
textLabel.TextScaled =
textLabel.Text = Config.ESP.ShowDistance
.(, text, distance)
text
textLabel.Parent = billboard
BillboardGuis[obj] = billboard
)
(obj)
BillboardGuis[obj]
(()
(BillboardGuis[obj])
BillboardGuis[obj]:()
)
BillboardGuis[obj] =
()
obj, _ (Highlights)
(obj)
obj, _ (BillboardGuis)
(obj)
Highlights = {}
BillboardGuis = {}
()
_, player (Players:())
player ~= LocalPlayer player.Character player.Team
teamName = player.Team.Name
teamName == Config.ESP.Killer
(player.Character, .(, , ))
(player.Character, player.Name .. , .(, , ))
teamName == Config.ESP.Survivor
(player.Character, .(, , ))
(player.Character, player.Name .. , .(, , ))
(player.Character)
(player.Character)
()
Config.ESP.Generator
map = ()
map
_, obj (map:())
obj:() obj.Name ==
(obj, .(, , ))
(obj, , .(, , ))
()
Config.ESP.Gate
map = ()
map
_, obj (map:())
obj:() obj.Name ==
(obj, .(, , ))
(obj, , .(, , ))
()
Config.ESP.Hook
map = ()
map
Config.ESP.ShowOnlyClosestHook
hrp = ()
hrp
closestHook =
closestDist = .huge
_, obj (map:())
obj:() obj.Name ==
hookPart = obj:()
hookPart
dist = (hookPart.Position - hrp.Position).Magnitude
dist < closestDist
closestDist = dist
closestHook = obj
_, obj (map:())
obj:() obj.Name ==
(obj)
(obj)
obj:()
_, part (obj.Model:())
part:() (part)
closestHook
closestHook:()
_, part (closestHook.Model:())
part:()
(part, .(, , ))
(closestHook, , .(, , ))
_, obj (map:())
obj:() obj.Name ==
obj:()
_, part (obj.Model:())
part:()
(part, .(, , ))
(obj, , .(, , ))
()
Config.ESP.Pallet
map = ()
map
_, obj (map:())
obj:() obj.Name ==
(obj, .(, , ))
(obj, , .(, , ))
()
Config.ESP.Window
_, obj (Workspace:())
obj:() obj.Name ==
(obj, .(, , ))
(obj, , .(, , ))
()
Config.ESP.Pumpkin
map = ()
map
pumpkins = map:()
pumpkins
_, obj (pumpkins:())
obj:() obj.Name:()
(obj, .(, , ))
(obj, , .(, , ))
()
ScriptRunning
currentTime = ()
currentTime - LastUpdate < Config.Performance.UpdateRate
LastUpdate = currentTime
espCount =
obj, h (Highlights)
(obj) (h)
Highlights[obj] =
espCount = espCount +
obj, gui (BillboardGuis)
(obj) (gui)
BillboardGuis[obj] =
espCount >= Config.Performance.MaxESPObjects
(updatePlayerESP)
(updateGeneratorESP)
(updateGateESP)
(updateHookESP)
(updatePalletESP)
(updateWindowESP)
(updatePumpkinESP)
()
UpdateConnection
UpdateConnection = (RunService.Heartbeat:(updateAllESP))
(, , )
()
UpdateConnection
UpdateConnection:()
UpdateConnection =
()
(, , )
()
LeaveGeneratorConnection
isMobile
LeaveGeneratorConnection = (
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.KeyCode == Config.AutoFeatures.LeaveKeybind
()
)
)
(, .(, Config.AutoFeatures.LeaveKeybind.Name), )
(, , )
()
LeaveGeneratorConnection
LeaveGeneratorConnection:()
LeaveGeneratorConnection =
(, , )
()
() ,
hrp = ()
hrp ,
closestPlayer =
closestDist = .huge
_, player (Players:())
player ~= LocalPlayer player.Team player.Team.Name == player.Character
targetHRP = player.Character:()
targetHRP
dist = (targetHRP.Position - hrp.Position).Magnitude
dist < closestDist dist <= Config.AutoFeatures.AttackRange
closestDist = dist
closestPlayer = player
closestPlayer, closestDist
()
()
target, _ = ()
target
(()
remotes = ReplicatedStorage:()
remotes
attacks = remotes:()
attacks
basicAttack = attacks:()
basicAttack
basicAttack:()
)
lastAttackTime =
ATTACK_COOLDOWN =
()
AutoAttackConnection
()
(, , )
AutoAttackConnection = (
RunService.Heartbeat:(()
ScriptRunning
Config.AutoFeatures.AutoAttack
now = ()
now - lastAttackTime < ATTACK_COOLDOWN
lastAttackTime = now
()
)
)
(, .(, Config.AutoFeatures.AttackRange), )
()
AutoAttackConnection
AutoAttackConnection:()
AutoAttackConnection =
(, , )
()
isMobile
MobileUI
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
leaveButton = .()
leaveButton.Name =
leaveButton.Size = .(, Config.Mobile.ButtonSize, , Config.Mobile.ButtonSize)
leaveButton.Position = .(, -, , -)
leaveButton.BackgroundColor3 = .(, , )
leaveButton.BackgroundTransparency = Config.Mobile.ButtonTransparency
leaveButton.Text =
leaveButton.TextColor3 = .(, , )
leaveButton.TextScaled =
leaveButton.Font = .Font.GothamBold
leaveButton.Parent = screenGui
.(, leaveButton).CornerRadius = .(, )
leaveButton.MouseButton1Click:(()
()
)
tpButton = .()
tpButton.Name =
tpButton.Size = .(, Config.Mobile.ButtonSize, , Config.Mobile.ButtonSize)
tpButton.Position = .(, -, , )
tpButton.BackgroundColor3 = .(, , )
tpButton.BackgroundTransparency = Config.Mobile.ButtonTransparency
tpButton.Text =
tpButton.TextColor3 = .(, , )
tpButton.TextScaled =
tpButton.Font = .Font.GothamBold
tpButton.Parent = screenGui
.(, tpButton).CornerRadius = .(, )
tpButton.MouseButton1Click:(()
generators = ()
#generators >
(generators[].part.CFrame)
(, , )
)
success = (()
screenGui.Parent = LocalPlayer:()
)
success
(, , )
MobileUI = screenGui
screenGui:()
()
FPSCounterUI
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
frame = .()
frame.Name =
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
frame.BorderSizePixel =
frame.Parent = screenGui
.(, frame).CornerRadius = .(, )
fpsLabel = .()
fpsLabel.Name =
fpsLabel.Size = .(, , , )
fpsLabel.BackgroundTransparency =
fpsLabel.Text =
fpsLabel.TextColor3 = .(, , )
fpsLabel.TextStrokeTransparency =
fpsLabel.TextStrokeColor3 = .(, , )
fpsLabel.Font = .Font.GothamBold
fpsLabel.TextSize =
fpsLabel.Parent = frame
dragging =
dragInput, mousePos, framePos
(frame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
mousePos = input.Position
framePos = frame.Position
(input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
))
))
(frame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
dragInput = input
))
(UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - mousePos
frame.Position = .(
framePos.X.Scale, framePos.X.Offset + delta.X,
framePos.Y.Scale, framePos.Y.Offset + delta.Y
)
))
lastTime = ()
frameCount =
FPSHeartbeatConnection = (RunService.Heartbeat:(()
FPSCounterEnabled
frameCount = frameCount +
currentTime = ()
deltaTime = currentTime - lastTime
deltaTime >=
fps = .(frameCount / deltaTime)
frameCount =
lastTime = currentTime
fps >=
fpsLabel.TextColor3 = .(, , )
fps >=
fpsLabel.TextColor3 = .(, , )
fpsLabel.TextColor3 = .(, , )
fpsLabel.Text = .(, fps)
))
success = (()
screenGui.Parent = LocalPlayer:()
)
success
FPSCounterUI = screenGui
FPSCounterEnabled =
(, , )
screenGui:()
()
FPSCounterEnabled =
FPSHeartbeatConnection
FPSHeartbeatConnection:()
FPSHeartbeatConnection =
FPSCounterUI
FPSCounterUI:()
FPSCounterUI =
()
ScriptRunning =
.ViolenceDistrictLoaded =
()
()
()
()
()
()
MobileUI
MobileUI:()
MobileUI =
()
(() Rayfield:() )
(, , )
Window = Rayfield:({
Name = ,
LoadingTitle = ,
LoadingSubtitle = .. (isMobile ),
ConfigurationSaving = {
Enabled = ,
FolderName = ,
FileName = ,
},
Discord = {
Enabled = ,
Invite = ,
RememberJoins = ,
},
KeySystem = ,
})
CreditsTab = Window:(, )
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:({
Name = ,
Callback = ()
inviteLink =
success = (() (inviteLink) )
success
(, , )
(, , )
,
})
isMobile
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:( .. (isMobile ))
CreditsTab:( .. executorName)
CreditsTab:()
CreditsTab:()
CreditsTab:({
Title = ,
Content = ,
})
CreditsTab:({
Title = ,
Content = ,
})
ESPTab = Window:(, )
ESPTab:()
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.Killer = Value
Value
()
_, player (Players:())
player ~= LocalPlayer player.Character player.Team player.Team.Name ==
(player.Character)
(player.Character)
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.Survivor = Value
Value
()
_, player (Players:())
player ~= LocalPlayer player.Character player.Team player.Team.Name ==
(player.Character)
(player.Character)
,
})
ESPTab:()
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.Generator = Value
Value
()
map = ()
map
_, obj (map:())
obj:() obj.Name ==
(obj)
(obj)
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.Gate = Value
Value ()
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.Hook = Value
Value
()
map = ()
map
_, obj (map:())
obj:() obj.Name ==
(obj)
(obj)
obj:()
_, part (obj.Model:())
part:() (part)
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.ShowOnlyClosestHook = Value
map = ()
map
_, obj (map:())
obj:() obj.Name ==
(obj)
(obj)
Config.ESP.Hook ()
(, Value , )
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.Pallet = Value
Value ()
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.Window = Value
Value ()
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.ESP.Pumpkin = Value
Value ()
,
})
ESPTab:()
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value) Config.ESP.ShowDistance = Value ,
})
ESPTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value) Config.ESP.MaxDistance = Value ,
})
ESPTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value) Config.Performance.UpdateRate = Value ,
})
ESPTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = isMobile ,
Flag = ,
Callback = (Value) Config.Performance.MaxESPObjects = Value ,
})
GameplayTab = Window:(, )
GameplayTab:()
GameplayTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.AutoFeatures.AutoGenerator = Value
(, Value , Value )
,
})
GameplayTab:({
Name = ,
Options = {, },
CurrentOption = ,
Flag = ,
Callback = (Option)
Config.AutoFeatures.GeneratorMode = (Option == )
,
})
GameplayTab:()
GameplayTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.AutoFeatures.AutoLeaveGenerator = Value
Value () ()
,
})
isMobile
GameplayTab:({
Name = ,
Options = {, , , , , , , },
CurrentOption = ,
Flag = ,
Callback = (Option)
keyMap = {
Q = .KeyCode.Q, E = .KeyCode.E,
F = .KeyCode.F, G = .KeyCode.G,
X = .KeyCode.X, Z = .KeyCode.Z,
V = .KeyCode.V, B = .KeyCode.B,
}
Config.AutoFeatures.LeaveKeybind = keyMap[Option]
Config.AutoFeatures.AutoLeaveGenerator
()
()
(, .. Option, )
,
})
GameplayTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value) Config.AutoFeatures.LeaveDistance = Value ,
})
GameplayTab:({
Name = ,
Callback = () () ,
})
GameplayTab:()
GameplayTab:({
Name = ,
Callback = ()
map = ()
map
(, , )
completed =
(()
remotes = ReplicatedStorage:()
remotes
genRemotes = remotes:()
genRemotes
repairEvent = genRemotes:()
skillCheckEvent = genRemotes:()
repairEvent skillCheckEvent
_, obj (map:())
obj:() obj.Name ==
_, point (obj:())
point.Name:()
(()
i = ,
repairEvent:(point, )
skillCheckEvent:(, , obj, point)
completed = completed +
)
)
(completed > ,
completed > .(, completed) ,
completed > )
,
})
GameplayTab:()
GameplayTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.AutoFeatures.AutoAttack = Value
Value () ()
,
})
GameplayTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value) Config.AutoFeatures.AttackRange = Value ,
})
GameplayTab:({
Name = ,
Callback = ()
(()
remotes = ReplicatedStorage:()
remotes
killerRemotes = remotes:()
killerRemotes
killerFolder = killerRemotes:()
killerFolder
activatePower = killerFolder:()
activatePower
activatePower:()
(, , )
)
,
})
GameplayTab:({
Name = ,
Callback = ()
(()
remotes = ReplicatedStorage:()
remotes
attacks = remotes:()
attacks
basicAttack = attacks:()
basicAttack
basicAttack:()
(, , )
)
,
})
TeleportTab = Window:(, )
TeleportTab:()
TeleportTab:({
Name = ,
Callback = ()
generators = ()
#generators ==
(, , )
closest = generators[]
(closest.part.CFrame)
(, .(, closest.distance), )
,
})
TeleportTab:({
Name = ,
Callback = ()
generators = ()
#generators ==
(, , )
farthest = generators[#generators]
(farthest.part.CFrame)
(, .(, farthest.distance), )
,
})
TeleportTab:({
Name = ,
Callback = ()
generators = ()
#generators ==
(, , )
(, .(, #generators), )
.(()
i, gen (generators)
ScriptRunning ()
(gen.part.CFrame)
( .. i, .(, i, #generators, gen.distance), )
.(Config.Teleportation.TeleportDelay)
(, , )
)
,
})
TeleportTab:({
Name = ,
Callback = ()
generators = ()
#generators ==
(, , )
()
i, gen (generators)
(.(, i, gen.distance, (gen.position)))
()
(, .(, #generators), )
,
})
TeleportTab:()
TeleportTab:({
Name = ,
Callback = ()
hrp = ()
hrp
(, , )
map = ()
map
(, , )
nearestGate =
nearestDist = .huge
_, obj (map:())
obj:() obj.Name ==
gatePart = obj:()
gatePart
dist = (gatePart.Position - hrp.Position).Magnitude
dist < nearestDist
nearestGate = gatePart
nearestDist = dist
nearestGate
(nearestGate.CFrame)
(, .(, nearestDist), )
(, , )
,
})
TeleportTab:()
TeleportTab:({
Name = ,
Callback = ()
()
(, , )
hrp = ()
hrp
(, , )
map = ()
map
(, , )
gate =
_, obj (map:())
obj:() obj.Name ==
gate = obj
gate
(, , )
escapeZone = gate:() gate:()
escapeZone
(escapeZone.CFrame, .(, , ))
.()
(()
remotes = ReplicatedStorage:()
remotes
gateRemote = remotes:()
gateRemote
escapeEvent = gateRemote:()
escapeEvent escapeEvent:()
)
(, , )
(, , )
,
})
TeleportTab:()
TeleportTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value) Config.Teleportation.TeleportOffset = Value ,
})
TeleportTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value) Config.Teleportation.TeleportDelay = Value ,
})
TeleportTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value) Config.Teleportation.SafeTeleport = Value ,
})
SettingsTab = Window:(, )
SettingsTab:()
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Performance.DisableParticles = Value
()
(, Value , )
,
})
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Performance.LowerGraphics = Value
()
(, Value , )
,
})
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Performance.DisableShadows = Value
()
(, Value , )
,
})
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Performance.ReduceRenderDistance = Value
()
(, Value , )
,
})
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Performance.UseDistanceCulling = Value
(, Value , )
,
})
SettingsTab:({
Name = ,
Callback = ()
Config.Performance.DisableParticles =
Config.Performance.LowerGraphics =
Config.Performance.DisableShadows =
Config.Performance.ReduceRenderDistance =
Config.Performance.UseDistanceCulling =
()
(, , )
,
})
SettingsTab:({
Name = ,
Callback = ()
Config.Performance.DisableParticles =
Config.Performance.LowerGraphics =
Config.Performance.DisableShadows =
Config.Performance.ReduceRenderDistance =
()
(, , )
,
})
isMobile
SettingsTab:()
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Mobile.TouchControlsEnabled = Value
Value MobileUI
()
Value MobileUI
MobileUI:()
MobileUI =
,
})
SettingsTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Mobile.ButtonSize = Value
MobileUI
MobileUI:()
MobileUI =
()
,
})
SettingsTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Mobile.ButtonTransparency = Value
MobileUI
_, button (MobileUI:())
button:()
button.BackgroundTransparency = Value
,
})
SettingsTab:()
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Mobile.AutoOptimize = Value
Value
()
(, , )
()
(, , )
,
})
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
Config.Mobile.AggressiveOptimization = Value
Value
()
(, , )
()
Config.Mobile.AutoOptimize ()
(, , )
,
})
SettingsTab:({
Name = ,
Callback = ()
Config.Performance.DisableParticles =
Config.Performance.LowerGraphics =
Config.Performance.DisableShadows =
Config.Performance.ReduceRenderDistance =
Config.Performance.UseDistanceCulling =
Config.Performance.UpdateRate =
Config.Performance.MaxESPObjects =
()
(, m mobile performance applied! 🚀", 5)
end,
})
SettingsTab:CreateButton({
Name = "Reset All Optimizations",
Callback = function()
Config.Performance.DisableParticles = false
Config.Performance.LowerGraphics = false
Config.Performance.DisableShadows = false
Config.Performance.ReduceRenderDistance = false
Config.Performance.UpdateRate = 0.5
Config.Performance.MaxESPObjects = 50
Config.Mobile.AutoOptimize = false
Config.Mobile.AggressiveOptimization = false
resetPerformanceSettings()
notify("Reset Complete", "All settings restored to default", 3)
end,
})
end
SettingsTab:CreateSection("Display Options")
SettingsTab:CreateToggle({
Name = "Show FPS Counter",
CurrentValue = false,
Flag = "FPSCounter",
Callback = function(Value)
if Value then
createFPSCounter()
else
removeFPSCounter()
notify("FPS Counter", "Disabled", 2)
end
end,
})
SettingsTab:CreateSection("Script Controls")
SettingsTab:CreateButton({
Name = "Clear All ESP",
Callback = function()
clearAllESP()
notify("Cleared", "All ESP cleared", 2)
end,
})
SettingsTab:CreateButton({
Name = "Refresh ESP",
Callback = function()
clearAllESP()
LastUpdate = 0
updateAllESP()
notify("Refreshed", "ESP refreshed", 2)
end,
})
SettingsTab:CreateButton({
Name = "Unload Script",
Callback = function()
unloadScript()
end,
})
task.spawn(function()
while ScriptRunning do
task.wait(0.2)
if not ScriptRunning then break end
if Config.AutoFeatures.AutoGenerator then
safeCall(function()
local remotes = ReplicatedStorage:FindFirstChild("Remotes")
if not remotes then return end
local genRemotes = remotes:FindFirstChild("Generator")
if not genRemotes then return end
local repairEvent = genRemotes:FindFirstChild("RepairEvent")
local skillCheckEvent = genRemotes:FindFirstChild("SkillCheckResultEvent")
if not repairEvent or not skillCheckEvent then return end
local map = getMap()
if not map then return end
for _, obj in ipairs(map:GetDescendants()) do
if not ScriptRunning then break end
if obj:IsA("Model") and obj.Name == "Generator" then
for _, point in ipairs(obj:GetChildren()) do
if point.Name:find("GeneratorPoint") then
pcall(function()
repairEvent:FireServer(point, true)
local result = Config.AutoFeatures.GeneratorMode == "great" and "success" or "neutral"
local value = Config.AutoFeatures.GeneratorMode == "great" and 1 or 0
skillCheckEvent:FireServer(result, value, obj, point)
end)
end
end
end
end
end)
end
end
end)
if isMobile then
task.wait(1)
createMobileControls()
if Config.Mobile.AutoOptimize then
task.wait(0.5)
applyMobileOptimizations()
notify("Mobile Mode", "Auto-optimizations applied for better FPS!", 4)
end
end
notify("Script Loaded!", "Violence District v2.3 by goldgoldgoldblazn", 4)
print("=== Violence District Golds Easy Hub v2.3 ===")
print("Developer: goldgoldgoldblazn")
print("Discord: https://discord.gg/CnNqEVFxh6")
print("Platform: " .. (isMobile and "Mobile" or "PC"))
print("Executor: " .. executorName)
print("")
print("v2.3 Changes:")
print("- ✅ Fixed duplicate tab creation (GameplayTab, TeleportTab, SettingsTab)")
print("- ✅ Fixed global function leaks (leaveGenerator, safeTeleport, etc.)")
print("- ✅ Fixed memory leaks from orphaned ESP objects")
print("- ✅ Fixed unload not stopping auto-generator loop")
print("- ✅ Added connection tracking for proper cleanup")
print("- ✅ Added double-initialization guard")
print("- ✅ Added teleport debounce to prevent spam")
print("- ✅ Added auto-attack cooldown")
print("- ✅ Improved error resilience across all features")
print("==============================================")
Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: sirius.menu, raw.githubusercontent.com, discord.gg.

Universal