Загрузка данных
--[[
Комбинированный скрипт (с обходом античита Violence District):
• FOV: F1 – увеличить, F2 – уменьшить (локально, применяется каждый кадр, макс. 999)
• Dash: G – рывок вперёд, Delete – переключение дистанции (5 ↔ 10)
• Fullbright: End – включить/выключить (через Lighting + убирает туман и тени)
• Насыщенность: F5 – циклическое переключение (норма → насыщенно → очень насыщенно)
• NoFog: PgUp – включить/выключить (убирает туман, независимо от Fullbright)
• ESP: F8 – включить/выключить подсветку всех игроков (свои – зелёные, враги – красные)
--]]
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local Teams = game:GetService("Teams")
local player = Players.LocalPlayer
-- ===== Параметры FOV (локальные) =====
local step = 5
local minFov = 20
local maxFov = 999
local currentFov = 70
RunService.RenderStepped:Connect(function()
local camera = Workspace.CurrentCamera
if camera and camera.FieldOfView ~= currentFov then
camera.FieldOfView = currentFov
end
end)
local function changeFov(delta)
local camera = Workspace.CurrentCamera
if not camera then return end
currentFov = math.clamp(camera.FieldOfView + delta, minFov, maxFov)
print("FOV:", currentFov)
end
if Workspace.CurrentCamera then
currentFov = Workspace.CurrentCamera.FieldOfView
end
-- ===== Параметры рывка =====
local dashDistance = 5
local dashKey = Enum.KeyCode.G
local function dash()
local character = player.Character
if not character then return end
local rootPart = character:FindFirstChild("HumanoidRootPart")
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not rootPart or not humanoid or humanoid.Health <= 0 then return end
local direction = rootPart.CFrame.LookVector * dashDistance
local newPosition = rootPart.Position + direction
rootPart.CFrame = CFrame.new(newPosition) * (rootPart.CFrame - rootPart.Position)
end
-- ===== Fullbright =====
local fullbrightEnabled = false
local originalLighting = {
Brightness = Lighting.Brightness,
Ambient = Lighting.Ambient,
OutdoorAmbient = Lighting.OutdoorAmbient,
FogEnd = Lighting.FogEnd,
FogStart = Lighting.FogStart,
FogColor = Lighting.FogColor,
GlobalShadows = Lighting.GlobalShadows
}
local function toggleFullbright()
fullbrightEnabled = not fullbrightEnabled
if fullbrightEnabled then
Lighting.Brightness = 2
Lighting.Ambient = Color3.new(1, 1, 1)
Lighting.OutdoorAmbient = Color3.new(1, 1, 1)
Lighting.FogEnd = 9e9
Lighting.FogStart = 0
Lighting.GlobalShadows = false
print("Fullbright включён (туман и тени убраны)")
else
Lighting.Brightness = originalLighting.Brightness
Lighting.Ambient = originalLighting.Ambient
Lighting.OutdoorAmbient = originalLighting.OutdoorAmbient
Lighting.FogEnd = originalLighting.FogEnd
Lighting.FogStart = originalLighting.FogStart
Lighting.FogColor = originalLighting.FogColor
Lighting.GlobalShadows = originalLighting.GlobalShadows
print("Fullbright выключен")
end
end
-- ===== NoFog (отдельное управление туманом) =====
local noFogEnabled = false
local previousFogSettings = {
FogEnd = Lighting.FogEnd,
FogStart = Lighting.FogStart
}
local function toggleNoFog()
noFogEnabled = not noFogEnabled
if noFogEnabled then
previousFogSettings.FogEnd = Lighting.FogEnd
previousFogSettings.FogStart = Lighting.FogStart
Lighting.FogEnd = 9e9
Lighting.FogStart = 0
print("NoFog включён (туман убран)")
else
Lighting.FogEnd = previousFogSettings.FogEnd
Lighting.FogStart = previousFogSettings.FogStart
print("NoFog выключен")
end
end
-- ===== Насыщенность (ColorCorrection) =====
local colorCorrection
local saturationLevels = { 0, 1.5, 3 }
local currentSaturationIndex = 1
local function ensureColorCorrection()
if not colorCorrection or not colorCorrection.Parent then
colorCorrection = Lighting:FindFirstChildOfClass("ColorCorrectionEffect") or Instance.new("ColorCorrectionEffect")
colorCorrection.Name = "SecureColorCorrection"
colorCorrection.Parent = Lighting
end
colorCorrection.Saturation = saturationLevels[currentSaturationIndex]
colorCorrection.Brightness = 0
colorCorrection.Contrast = 0
end
spawn(function()
while true do
task.wait(3)
ensureColorCorrection()
end
end)
local function cycleSaturation()
currentSaturationIndex = currentSaturationIndex + 1
if currentSaturationIndex > #saturationLevels then
currentSaturationIndex = 1
end
ensureColorCorrection()
local names = { "Нормальная", "Насыщенная", "Очень насыщенная" }
print("Насыщенность:", names[currentSaturationIndex])
end
ensureColorCorrection()
-- ===== ESP (подсветка игроков) =====
local espEnabled = false
local espHighlights = {}
local function isAlly(targetPlayer)
if targetPlayer == player then
return true
end
local myTeam = player.Team
local targetTeam = targetPlayer.Team
if myTeam and targetTeam then
return myTeam == targetTeam
else
return false
end
end
local function updatePlayerESP(targetPlayer)
local character = targetPlayer.Character
if not character or targetPlayer == player then
if espHighlights[targetPlayer] then
espHighlights[targetPlayer]:Destroy()
espHighlights[targetPlayer] = nil
end
return
end
local highlight = espHighlights[targetPlayer]
local ally = isAlly(targetPlayer)
local color = ally and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
if not highlight then
highlight = Instance.new("Highlight")
highlight.Name = "ESP_Highlight"
highlight.FillColor = color
highlight.OutlineColor = color
highlight.FillTransparency = 0.5
highlight.OutlineTransparency = 0
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.Parent = character
espHighlights[targetPlayer] = highlight
else
if highlight.FillColor ~= color then
highlight.FillColor = color
highlight.OutlineColor = color
end
if highlight.Parent ~= character then
highlight.Parent = character
end
end
end
local function refreshESP()
if not espEnabled then
for target, highlight in pairs(espHighlights) do
highlight:Destroy()
end
espHighlights = {}
return
end
for _, targetPlayer in ipairs(Players:GetPlayers()) do
updatePlayerESP(targetPlayer)
end
end
local function setupESP()
Players.PlayerAdded:Connect(function(newPlayer)
newPlayer.CharacterAdded:Connect(function()
task.wait(0.5)
updatePlayerESP(newPlayer)
end)
if newPlayer.Character then
task.wait(0.5)
updatePlayerESP(newPlayer)
end
end)
Players.PlayerRemoving:Connect(function(leavingPlayer)
if espHighlights[leavingPlayer] then
espHighlights[leavingPlayer]:Destroy()
espHighlights[leavingPlayer] = nil
end
end)
for _, targetPlayer in ipairs(Players:GetPlayers()) do
targetPlayer:GetPropertyChangedSignal("Team"):Connect(function()
updatePlayerESP(targetPlayer)
end)
end
Players.PlayerAdded:Connect(function(newPlayer)
newPlayer:GetPropertyChangedSignal("Team"):Connect(function()
updatePlayerESP(newPlayer)
end)
end)
player.CharacterAdded:Connect(function()
task.wait(0.5)
refreshESP()
end)
end
setupESP()
refreshESP()
-- ===== Обработчик клавиш =====
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
local key = input.KeyCode
if key == Enum.KeyCode.F1 then
changeFov(step)
elseif key == Enum.KeyCode.F2 then
changeFov(-step)
elseif key == Enum.KeyCode.Delete then
dashDistance = (dashDistance == 5) and 10 or 5
print("Дистанция рывка:", dashDistance, "студий")
elseif key == dashKey then
dash()
elseif key == Enum.KeyCode.End then
toggleFullbright()
elseif key == Enum.KeyCode.F5 then
cycleSaturation()
elseif key == Enum.KeyCode.PageUp then
toggleNoFog()
elseif key == Enum.KeyCode.F8 then
espEnabled = not espEnabled
refreshESP()
print("ESP " .. (espEnabled and "включён" or "выключен"))
end
end)
print("Скрипт загружен. F1/F2 – FOV (макс. 999), G – рывок, Delete – дистанция, End – Fullbright, F5 – насыщенность, PgUp – NoFog, F8 – ESP (свои зелёные, враги красные).")