Загрузка данных
-- language: Lua, game: Tower of Hell, executor: Delta
-- *меню: 7 тем + korblox leg (визуальный, client-side). переживает респавн*
local Lighting = game:GetService("Lighting")
local Players = game:GetService("Players")
local LP = Players.LocalPlayer
-- === ТЕМЫ ===
local themes = {
["Default"] = {Ambient=Color3.fromRGB(128,128,128), OutdoorAmbient=Color3.fromRGB(128,128,128), FogColor=Color3.fromRGB(192,192,192), FogEnd=1000, ClockTime=14, Tint=Color3.fromRGB(255,255,255), Saturation=0, Bloom=0},
["Soft Pink"] = {Ambient=Color3.fromRGB(255,235,242), OutdoorAmbient=Color3.fromRGB(250,225,235), FogColor=Color3.fromRGB(255,220,235), FogEnd=1000, ClockTime=16, Tint=Color3.fromRGB(255,240,248), Saturation=0.1, Bloom=0.3},
["Deep Pink"] = {Ambient=Color3.fromRGB(255,200,220), OutdoorAmbient=Color3.fromRGB(255,180,210), FogColor=Color3.fromRGB(255,150,190), FogEnd=800, ClockTime=17, Tint=Color3.fromRGB(255,220,235), Saturation=0.2, Bloom=0.6},
["Lavender"] = {Ambient=Color3.fromRGB(235,220,255), OutdoorAmbient=Color3.fromRGB(225,210,255), FogColor=Color3.fromRGB(220,200,255), FogEnd=900, ClockTime=17.5, Tint=Color3.fromRGB(240,230,255), Saturation=0.15, Bloom=0.4},
["Cyber Blue"]= {Ambient=Color3.fromRGB(180,220,255), OutdoorAmbient=Color3.fromRGB(160,210,255), FogColor=Color3.fromRGB(120,180,255), FogEnd=700, ClockTime=22, Tint=Color3.fromRGB(200,230,255), Saturation=0.25, Bloom=0.7},
["Sunset"] = {Ambient=Color3.fromRGB(255,200,160), OutdoorAmbient=Color3.fromRGB(255,180,140), FogColor=Color3.fromRGB(255,160,120), FogEnd=850, ClockTime=18, Tint=Color3.fromRGB(255,220,190), Saturation=0.2, Bloom=0.5},
["Night"] = {Ambient=Color3.fromRGB(40,40,60), OutdoorAmbient=Color3.fromRGB(30,30,50), FogColor=Color3.fromRGB(20,20,40), FogEnd=500, ClockTime=0, Tint=Color3.fromRGB(180,180,220), Saturation=-0.1, Bloom=0.2},
}
local currentTheme = "Soft Pink"
local korbloxOn = false
local korbloxColor = Color3.fromRGB(245, 245, 245)
-- === ТЕМА ===
local function applyTheme(name)
local t = themes[name]
if not t then return end
currentTheme = name
Lighting.Ambient = t.Ambient
Lighting.OutdoorAmbient = t.OutdoorAmbient
Lighting.FogColor = t.FogColor
Lighting.FogEnd = t.FogEnd
Lighting.ClockTime = t.ClockTime
for _, v in ipairs(Lighting:GetChildren()) do
if v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") then v:Destroy() end
end
local cc = Instance.new("ColorCorrectionEffect")
cc.TintColor = t.Tint
cc.Saturation = t.Saturation
cc.Parent = Lighting
local bloom = Instance.new("BloomEffect")
bloom.Intensity = t.Bloom
bloom.Size = 16
bloom.Threshold = 1
bloom.Parent = Lighting
end
-- === KORBLOX VISUAL ===
local function applyKorblox(char)
if not korbloxOn then return end
local humanoid = char:WaitForChild("Humanoid", 10)
if not humanoid then return end
task.wait(0.3)
if humanoid.RigType == Enum.HumanoidRigType.R15 then
local lower = char:FindFirstChild("RightLowerLeg")
local upper = char:FindFirstChild("RightUpperLeg")
local foot = char:FindFirstChild("RightFoot")
if lower then
lower.Size = Vector3.new(0.4, 1, 0.4)
lower.Color = korbloxColor
lower.Material = Enum.Material.SmoothPlastic
lower.Transparency = 0
end
if upper then
upper.Size = Vector3.new(0.4, 1, 0.4)
upper.Color = korbloxColor
upper.Material = Enum.Material.SmoothPlastic
upper.Transparency = 0
end
if foot then foot.Transparency = 1 end
else
local r = char:FindFirstChild("Right Leg")
if r then
r.Size = Vector3.new(0.4, 2, 0.4)
r.Color = korbloxColor
r.Material = Enum.Material.SmoothPlastic
end
local rfoot = char:FindFirstChild("Right Foot")
if rfoot then rfoot.Transparency = 1 end
end
end
local function removeKorblox(char)
local humanoid = char:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
if humanoid.RigType == Enum.HumanoidRigType.R15 then
local lower = char:FindFirstChild("RightLowerLeg")
local upper = char:FindFirstChild("RightUpperLeg")
local foot = char:FindFirstChild("RightFoot")
if lower then lower.Size = Vector3.new(1, 1, 1); lower.Transparency = 0 end
if upper then upper.Size = Vector3.new(1, 1, 1); upper.Transparency = 0 end
if foot then foot.Transparency = 0 end
else
local r = char:FindFirstChild("Right Leg")
if r then r.Size = Vector3.new(1, 2, 1) end
local rfoot = char:FindFirstChild("Right Foot")
if rfoot then rfoot.Transparency = 0 end
end
end
LP.CharacterAdded:Connect(function(char)
task.wait(0.5)
applyKorblox(char)
end)
if LP.Character then task.spawn(applyKorblox, LP.Character) end
applyTheme(currentTheme)
-- === МЕНЮ ===
local gui = Instance.new("ScreenGui")
gui.Name = "MenuZaury"
gui.ResetOnSpawn = false
gui.Parent = LP:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 220, 0, 400)
frame.Position = UDim2.new(0, 20, 0.5, -200)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
frame.BackgroundTransparency = 0.1
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
frame.Parent = gui
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 10)
corner.Parent = frame
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 40)
title.BackgroundColor3 = Color3.fromRGB(255, 150, 190)
title.BorderSizePixel = 0
title.Text = "Меню Заура"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Font = Enum.Font.GothamBold
title.TextSize = 17
title.Parent = frame
local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 10)
titleCorner.Parent = title
local list = Instance.new("ScrollingFrame")
list.Size = UDim2.new(1, -20, 1, -150)
list.Position = UDim2.new(0, 10, 0, 50)
list.BackgroundTransparency = 1
list.BorderSizePixel = 0
list.ScrollBarThickness = 4
list.CanvasSize = UDim2.new(0, 0, 0, 0)
list.AutomaticCanvasSize = Enum.AutomaticSize.Y
list.Parent = frame
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 6)
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Parent = list
local themeButtons = {}
for name, _ in pairs(themes) do
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(1, 0, 0, 30)
btn.BackgroundColor3 = Color3.fromRGB(50, 50, 65)
btn.BorderSizePixel = 0
btn.Text = name
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.Font = Enum.Font.Gotham
btn.TextSize = 13
btn.Parent = list
local c = Instance.new("UICorner")
c.CornerRadius = UDim.new(0, 6)
c.Parent = btn
themeButtons[name] = btn
btn.MouseButton1Click:Connect(function()
applyTheme(name)
for _, b in pairs(themeButtons) do
b.BackgroundColor3 = Color3.fromRGB(50, 50, 65)
end
btn.BackgroundColor3 = Color3.fromRGB(255, 120, 170)
end)
end
local korbloxBtn = Instance.new("TextButton")
korbloxBtn.Size = UDim2.new(1, -20, 0, 40)
korbloxBtn.Position = UDim2.new(0, 10, 1, -50)
korbloxBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 90)
korbloxBtn.BorderSizePixel = 0
korbloxBtn.Text = "korblox leg: off"
korbloxBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
korbloxBtn.Font = Enum.Font.GothamBold
korbloxBtn.TextSize = 14
korbloxBtn.Parent = frame
local kb = Instance.new("UICorner")
kb.CornerRadius = UDim.new(0, 8)
kb.Parent = korbloxBtn
korbloxBtn.MouseButton1Click:Connect(function()
korbloxOn = not korbloxOn
if korbloxOn then
korbloxBtn.Text = "korblox leg: on"
korbloxBtn.BackgroundColor3 = Color3.fromRGB(255, 120, 170)
if LP.Character then applyKorblox(LP.Character) end
else
korbloxBtn.Text = "korblox leg: off"
korbloxBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 90)
if LP.Character then removeKorblox(LP.Character) end
end
end)
print("[Lokeii] Меню Заура loaded")