
KeylessUniversal

-- ====================================================================
-- ЧАСТЬ 1: СЕРВИСЫ И ЭКРАН ПРИВЕТСТВИЯ
-- ====================================================================
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Teams = game:GetService("Teams")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Workspace = game:GetService("Workspace")
if CoreGui:FindFirstChild("NPCorDie_Hack") then
CoreGui["NPCorDie_Hack"]:Destroy()
end
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "NPCorDie_Hack"
ScreenGui.Parent = CoreGui
ScreenGui.ResetOnSpawn = false
local WelcomeFrame = Instance.new("Frame")
WelcomeFrame.Name = "WelcomeFrame"
WelcomeFrame.Size = UDim2.new(1, 0, 1, 0)
WelcomeFrame.Position = UDim2.new(0, 0, 0, 0)
WelcomeFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
WelcomeFrame.ZIndex = 99999
WelcomeFrame.Parent = ScreenGui
local UIGradient = Instance.new("UIGradient")
UIGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(5, 5, 10)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(20, 20, 30)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(5, 5, 10))
})
UIGradient.Rotation = 0
UIGradient.Parent = WelcomeFrame
local welcomeActive = true
task.spawn(function()
while welcomeActive do
for i = 0, 360, 2 do
if not welcomeActive then break end
UIGradient.Rotation = i
task.wait(0.01)
end
end
end)
local HelloLabel = Instance.new("TextLabel")
HelloLabel.Size = UDim2.new(1, 0, 0, 50)
HelloLabel.Position = UDim2.new(0, 0, 0.4, -40)
HelloLabel.Text = "Hello, " .. Players.LocalPlayer.Name .. "!"
HelloLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
HelloLabel.Font = Enum.Font.GothamBold
HelloLabel.TextSize = 36
HelloLabel.BackgroundTransparency = 1
HelloLabel.ZIndex = 100000
HelloLabel.Parent = WelcomeFrame
-- ====================================================================
-- ЧАСТЬ 2: КНОПКИ ВЫБОРА ЯЗЫКА И ЗАКРЫТИЕ ПРИВЕТСТВИЯ
-- ====================================================================
local LangAskLabel = Instance.new("TextLabel")
LangAskLabel.Size = UDim2.new(1, 0, 0, 30)
LangAskLabel.Position = UDim2.new(0, 0, 0.4, 15)
LangAskLabel.Text = "What language?"
LangAskLabel.TextColor3 = Color3.fromRGB(200, 200, 210)
LangAskLabel.Font = Enum.Font.GothamMedium
LangAskLabel.TextSize = 20
LangAskLabel.BackgroundTransparency = 1
LangAskLabel.ZIndex = 100000
LangAskLabel.Parent = WelcomeFrame
local LangWelcomeContainer = Instance.new("Frame")
LangWelcomeContainer.Size = UDim2.new(0, 400, 0, 45)
LangWelcomeContainer.Position = UDim2.new(0.5, -200, 0.4, 60)
LangWelcomeContainer.BackgroundTransparency = 1
LangWelcomeContainer.ZIndex = 100000
LangWelcomeContainer.Parent = WelcomeFrame
local LWList = Instance.new("UIListLayout")
LWList.FillDirection = Enum.FillDirection.Horizontal
LWList.HorizontalAlignment = Enum.HorizontalAlignment.Center
LWList.Padding = UDim.new(0, 15)
LWList.Parent = LangWelcomeContainer
local MainFrame = Instance.new("Frame")
local currentLang = "RU"
local ApplyTheme
local Themes
local function closeWelcome(selectedLang)
currentLang = selectedLang
welcomeActive = false
pcall(function()
_G.UpdateMenuLanguage()
_G.HitBindBtn.Text = _G.Localization[currentLang].KeyText .. _G.currentHitKey.Name
_G.HideBindBtn.Text = _G.Localization[currentLang].KeyText .. _G.currentHideKey.Name
end)
TweenService:Create(WelcomeFrame, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = 1}):Play()
TweenService:Create(HelloLabel, TweenInfo.new(0.4), {TextTransparency = 1}):Play()
TweenService:Create(LangAskLabel, TweenInfo.new(0.4), {TextTransparency = 1}):Play()
for _, child in pairs(LangWelcomeContainer:GetChildren()) do
if child:IsA("TextButton") then
TweenService:Create(child, TweenInfo.new(0.4), {TextTransparency = 1, BackgroundTransparency = 1}):Play()
local stroke = child:FindFirstChildOfClass("UIStroke")
if stroke then TweenService:Create(stroke, TweenInfo.new(0.4), {Transparency = 1}):Play() end
end
end
task.wait(0.6)
WelcomeFrame:Destroy()
if ApplyTheme and Themes then
ApplyTheme(Themes.Dark, 0)
end
MainFrame.Visible = true
MainFrame.Size = UDim2.new(0, 0, 0, 0)
MainFrame.BackgroundTransparency = 1
TweenService:Create(MainFrame, TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
Size = UDim2.new(0, 450, 0, 300),
BackgroundTransparency = Themes.Dark.MainTrans
}):Play()
end
local function CreateWelcomeLangBtn(text, langCode)
local Btn = Instance.new("TextButton")
Btn.Size = UDim2.new(0, 110, 1, 0)
Btn.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
Btn.Text = text
Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
Btn.Font = Enum.Font.GothamBold
Btn.TextSize = 13
Btn.ZIndex = 100001
Btn.Parent = LangWelcomeContainer
local BCor = Instance.new("UICorner")
BCor.CornerRadius = UDim.new(0, 6)
BCor.Parent = Btn
local BStroke = Instance.new("UIStroke")
BStroke.Color = Color3.fromRGB(60, 60, 75)
BStroke.Thickness = 1
BStroke.Parent = Btn
Btn.MouseEnter:Connect(function()
TweenService:Create(Btn, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(45, 45, 60)}):Play()
end)
Btn.MouseLeave:Connect(function()
TweenService:Create(Btn, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(30, 30, 40)}):Play()
end)
Btn.MouseButton1Click:Connect(function()
closeWelcome(langCode)
end)
end
CreateWelcomeLangBtn("Русский", "RU")
CreateWelcomeLangBtn("English", "EN")
CreateWelcomeLangBtn("Morse", "MORSE")
-- ====================================================================
-- ЧАСТЬ 3: ГЛАВНЫЙ ИНТЕРФЕЙС И СТРАНИЦЫ
-- ====================================================================
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.new(0, 450, 0, 300)
MainFrame.Position = UDim2.new(0.5, -225, 0.5, -150)
MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 30)
MainFrame.BorderSizePixel = 0
MainFrame.ClipsDescendants = true
MainFrame.Visible = false
MainFrame.Parent = ScreenGui
local UICorner = Instance.new("UICorner")
local UIStroke = Instance.new("UIStroke")
UICorner.CornerRadius = UDim.new(0, 10)
UICorner.Parent = MainFrame
UIStroke.Thickness = 1.5
UIStroke.Color = Color3.fromRGB(45, 45, 55)
UIStroke.Parent = MainFrame
local TitleBar = Instance.new("Frame")
TitleBar.Size = UDim2.new(1, 0, 0, 40)
TitleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 38)
TitleBar.BorderSizePixel = 0
TitleBar.ZIndex = 10
TitleBar.Parent = MainFrame
local TBCorner = Instance.new("UICorner")
TBCorner.CornerRadius = UDim.new(0, 10)
TBCorner.Parent = TitleBar
local TitleText = Instance.new("TextLabel")
TitleText.Size = UDim2.new(0, 200, 1, 0)
TitleText.Position = UDim2.new(0, 15, 0, 0)
TitleText.Text = "NPC or Die Menu"
TitleText.TextColor3 = Color3.fromRGB(240, 240, 250)
TitleText.Font = Enum.Font.GothamBold
TitleText.TextSize = 16
TitleText.TextXAlignment = Enum.TextXAlignment.Left
TitleText.BackgroundTransparency = 1
TitleText.ZIndex = 11
TitleText.Parent = TitleBar
local MenuButton = Instance.new("TextButton")
MenuButton.Size = UDim2.new(0, 40, 0, 40)
MenuButton.Position = UDim2.new(1, -45, 0, 0)
MenuButton.Text = "•••"
MenuButton.TextColor3 = Color3.fromRGB(180, 180, 190)
MenuButton.Font = Enum.Font.GothamBold
MenuButton.TextSize = 18
MenuButton.BackgroundTransparency = 1
MenuButton.ZIndex = 11
MenuButton.Parent = TitleBar
local function CreateNotify(text)
local Notif = Instance.new("TextLabel")
Notif.Size = UDim2.new(0, 220, 0, 40)
Notif.Position = UDim2.new(1, 10, 1, -50)
Notif.BackgroundColor3 = Color3.fromRGB(180, 40, 40)
Notif.Text = text
Notif.TextColor3 = Color3.fromRGB(255, 255, 255)
Notif.Font = Enum.Font.GothamBold
Notif.TextSize = 12
Notif.Parent = ScreenGui
local NC = Instance.new("UICorner")
NC.CornerRadius = UDim.new(0, 6)
NC.Parent = Notif
local openTween = TweenService:Create(Notif, TweenInfo.new(0.3), {Position = UDim2.new(1, -230, 1, -50)})
openTween:Play()
task.delay(3, function()
local closeTween = TweenService:Create(Notif, TweenInfo.new(0.3), {Position = UDim2.new(1, 10, 1, -50)})
closeTween:Play()
task.wait(0.3)
Notif:Destroy()
end)
end
local TabMenu = Instance.new("Frame")
TabMenu.Size = UDim2.new(0, 0, 1, -40)
TabMenu.Position = UDim2.new(1, 0, 0, 40)
TabMenu.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
TabMenu.BorderSizePixel = 0
TabMenu.ZIndex = 8
TabMenu.ClipsDescendants = true
TabMenu.Parent = MainFrame
-- ====================================================================
-- ЧАСТЬ 4: КОНТЕЙНЕРЫ И СИСТЕМА ЛОКАЛИЗАЦИИ
-- ====================================================================
local TabMenuStroke = Instance.new("UIStroke")
TabMenuStroke.Thickness = 1
TabMenuStroke.Color = Color3.fromRGB(40, 40, 50)
TabMenuStroke.Parent = TabMenu
local TabListLayout = Instance.new("UIListLayout")
TabListLayout.SortOrder = Enum.SortOrder.LayoutOrder
TabListLayout.Padding = UDim.new(0, 6)
TabListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
TabListLayout.Parent = TabMenu
local ContentContainer = Instance.new("Frame")
ContentContainer.Size = UDim2.new(1, -20, 1, -55)
ContentContainer.Position = UDim2.new(0, 10, 0, 45)
ContentContainer.BackgroundTransparency = 1
ContentContainer.ZIndex = 2
ContentContainer.Parent = MainFrame
local function createPage(canvasH, show)
local frame = Instance.new("ScrollingFrame")
frame.Size = UDim2.new(1, 0, 1, 0)
frame.BackgroundTransparency = 1
frame.CanvasSize = UDim2.new(0, 0, 0, canvasH)
frame.ScrollBarThickness = 2
frame.Visible = show
frame.ZIndex = 3
frame.Parent = ContentContainer
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 8)
layout.Parent = frame
return frame
end
local VisualsPage = createPage(240, true)
local CombatPage = createPage(120, false)
local FastFuncPage = createPage(220, false)
local SettingsPage = createPage(350, false)
local Localization = {
RU = {
VisualsTab = "1 - Визуалы", CombatTab = "2 - Бой", FastFuncTab = "3 - Функции", SettingsTab = "4 - Настройки",
AutoHit = "Авто-удар (Бесконечный спам)", HitBind = "Бинд на удар", KeyText = "Клавиша: ", PressKey = "[Нажмите клавишу...]",
Noclip = "Noclip (Сквозь стены)", Fly = "Fly (Полет на WASD)", ObbyFarm = "Авто-телепорт (Обби фарм 60с)",
MainESP = "Включить ESP (Highlight)", Tracers = "Трейсеры (Линии до целей)", Boxes = "2D Боксы (Рамки целей)",
DelGUI = "Удалить GUI полностью", LangDrop = "Выбрать язык меню", HideBind = "Бинд скрытия GUI", AlreadyBound = "Кейбинд уже занят!"
},
EN = {
VisualsTab = "1 - Visuals", CombatTab = "2 - Combat", FastFuncTab = "3 - Fast-Func", SettingsTab = "4 - Settings",
AutoHit = "Auto-Hit (Infinite Spam)", HitBind = "Hit Bind", KeyText = "Key: ", PressKey = "[Press a key...]",
Noclip = "Noclip (Walk Through Walls)", Fly = "Fly (Move Keys Direction)", ObbyFarm = "Auto-TP (Obby Farm 60s)",
MainESP = "Enable ESP (Highlight)", Tracers = "Tracers (Lines to targets)", Boxes = "2D Boxes (Target Frames)",
DelGUI = "Delete GUI Completely", LangDrop = "Select Menu Language", HideBind = "UI Toggle Bind", AlreadyBound = "Keybind already bound!"
},
MORSE = {
VisualsTab = ".---- / -... .. --..", CombatTab = "..--- / -... --- .---", FastFuncTab = "...-- / ..-. ..- -. -.-", SettingsTab = "....- / -. .- ... - .-. --- .. -.- ..",
AutoHit = ".- ...- - --- / ..- -.. .- .-. / ... .--. .- --", HitBind = "-... .. -. -..", KeyText = "-.- .-.. .- ...- .. ... .... .- : ", PressKey = "[... -- ...]",
Noclip = "-. --- -..-. -.-.", Fly = "..-. .-.. -.--", ObbyFarm = ".- ...- - --- / - .--. / ----. ----- ...",
MainESP = " . ... .--. ", Tracers = " - .-. -.-. ", Boxes = "..--- -.. / -... -..-",
DelGUI = "--- -.. .- .-.. .. - -..-", LangDrop = ".-.- --.. -.-- -.-", HideBind = ".... .. -.. .", AlreadyBound = "--- -.-. ..- .--. .. . -.."
}
}
_G.Localization = Localization
-- ====================================================================
-- ЧАСТЬ 5: СИСТЕМА ТЕМ И ПЕРЕКЛЮЧЕНИЯ ЯЗЫКОВ
-- ====================================================================
local updatableElements = {}
local allToggles = {}
local tabButtonsList = {}
local currentActiveTheme = nil
Themes = {
Dark = {
MainBG = Color3.fromRGB(25, 25, 30), MainTrans = 0, TitleBG = Color3.fromRGB(30, 30, 38), TabBG = Color3.fromRGB(20, 20, 25),
ElementBG = Color3.fromRGB(32, 32, 38), Stroke = Color3.fromRGB(45, 45, 55), Text = Color3.fromRGB(240, 240, 250), SubText = Color3.fromRGB(180, 180, 190)
},
White = {
MainBG = Color3.fromRGB(240, 240, 245), MainTrans = 0, TitleBG = Color3.fromRGB(220, 220, 230), TabBG = Color3.fromRGB(230, 230, 235),
ElementBG = Color3.fromRGB(255, 255, 255), Stroke = Color3.fromRGB(200, 200, 210), Text = Color3.fromRGB(30, 30, 35), SubText = Color3.fromRGB(80, 80, 90)
},
Transparent = {
MainBG = Color3.fromRGB(25, 25, 30), MainTrans = 0.7, TitleBG = Color3.fromRGB(30, 30, 38), TabBG = Color3.fromRGB(20, 20, 25),
ElementBG = Color3.fromRGB(32, 32, 38), Stroke = Color3.fromRGB(70, 70, 90), Text = Color3.fromRGB(240, 240, 250), SubText = Color3.fromRGB(180, 180, 190)
}
}
currentActiveTheme = Themes.Dark
ApplyTheme = function(theme, speed)
local tSpeed = speed or 0.25
local function tw(obj, prop, val)
TweenService:Create(obj, TweenInfo.new(tSpeed), {[prop] = val}):Play()
end
tw(MainFrame, "BackgroundColor3", theme.MainBG)
tw(MainFrame, "BackgroundTransparency", theme.MainTrans)
tw(TitleBar, "BackgroundColor3", theme.TitleBG)
tw(TabMenu, "BackgroundColor3", theme.TabBG)
tw(UIStroke, "Color", theme.Stroke)
tw(TabMenuStroke, "Color", theme.Stroke)
tw(TitleText, "TextColor3", theme.Text)
tw(MenuButton, "TextColor3", theme.SubText)
for _, item in pairs(allToggles) do
if item.Frame then tw(item.Frame, "BackgroundColor3", theme.ElementBG) end
if item.Label then tw(item.Label, "TextColor3", theme.Text) end
end
for _, btn in pairs(tabButtonsList) do
tw(btn.Button, "BackgroundColor3", theme.ElementBG)
tw(btn.Button, "TextColor3", theme.Text)
tw(btn.Stroke, "Color", theme.Stroke)
end
end
local function UpdateMenuLanguage()
local t = Localization[currentLang]
for key, element in pairs(updatableElements) do
if t[key] then element.Text = t[key] end
end
end
_G.UpdateMenuLanguage = UpdateMenuLanguage
-- ====================================================================
-- ЧАСТЬ 6: КНОПКИ ВКЛАДОК И ТОГГЛЫ
-- ====================================================================
local function CreateTabButton(name, layoutOrder, targetPage, langKey)
local Button = Instance.new("TextButton")
Button.Size = UDim2.new(1, -12, 0, 30)
Button.BackgroundColor3 = Color3.fromRGB(32, 32, 38)
Button.Text = name
Button.TextColor3 = Color3.fromRGB(220, 220, 230)
Button.Font = Enum.Font.GothamMedium
Button.TextSize = 12
Button.LayoutOrder = layoutOrder
Button.ZIndex = 9
Button.Parent = TabMenu
local BCorn = Instance.new("UICorner")
BCorn.CornerRadius = UDim.new(0, 5)
BCorn.Parent = Button
local Stroke = Instance.new("UIStroke")
Stroke.Thickness = 1
Stroke.Color = Color3.fromRGB(50, 50, 60)
Stroke.Parent = Button
table.insert(tabButtonsList, {Button = Button, Stroke = Stroke})
updatableElements[langKey] = Button
Button.MouseButton1Click:Connect(function()
VisualsPage.Visible = false
CombatPage.Visible = false
FastFuncPage.Visible = false
SettingsPage.Visible = false
targetPage.Visible = true
menuOpen = false
local targetSize = UDim2.new(0, 0, 1, -40)
local targetPos = UDim2.new(1, 0, 0, 40)
TweenService:Create(TabMenu, TweenInfo.new(0.25, Enum.EasingStyle.Quad), {Size = targetSize, Position = targetPos}):Play()
end)
end
CreateTabButton("1 - Визуалы", 1, VisualsPage, "VisualsTab")
CreateTabButton("2 - Бой", 2, CombatPage, "CombatTab")
CreateTabButton("3 - Функции", 3, FastFuncPage, "FastFuncTab")
CreateTabButton("4 - Настройки", 999, SettingsPage, "SettingsTab")
local menuOpen = false
MenuButton.MouseButton1Click:Connect(function()
menuOpen = not menuOpen
local targetSize = menuOpen and UDim2.new(0, 130, 1, -40) or UDim2.new(0, 0, 1, -40)
local targetPos = menuOpen and UDim2.new(1, -130, 0, 40) or UDim2.new(1, 0, 0, 40)
TweenService:Create(TabMenu, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = targetSize, Position = targetPos}):Play()
end)
-- ====================================================================
-- ЧАСТЬ 7: КОНСТРУКТОР ТОГГЛОВ И КНОПКИ ТЕМ
-- ====================================================================
local function CreateToggle(parent, text, langKey, callback)
local ToggleFrame = Instance.new("Frame")
ToggleFrame.Size = UDim2.new(1, -5, 0, 42)
ToggleFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
ToggleFrame.ZIndex = 4
ToggleFrame.Parent = parent
local TBCor = Instance.new("UICorner")
TBCor.CornerRadius = UDim.new(0, 6)
TBCor.Parent = ToggleFrame
local Label = Instance.new("TextLabel")
Label.Size = UDim2.new(1, -65, 1, 0)
Label.Position = UDim2.new(0, 12, 0, 0)
Label.Text = text
Label.TextColor3 = Color3.fromRGB(230, 230, 240)
Label.Font = Enum.Font.Gotham
Label.TextSize = 13
Label.TextXAlignment = Enum.TextXAlignment.Left
Label.BackgroundTransparency = 1
Label.ZIndex = 5
Label.Parent = ToggleFrame
updatableElements[langKey] = Label
local CheckBox = Instance.new("TextButton")
CheckBox.Size = UDim2.new(0, 42, 0, 24)
CheckBox.Position = UDim2.new(1, -52, 0, 9)
CheckBox.BackgroundColor3 = Color3.fromRGB(48, 48, 54)
CheckBox.Text = ""
CheckBox.ZIndex = 5
CheckBox.Parent = ToggleFrame
local CBCor = Instance.new("UICorner")
CBCor.CornerRadius = UDim.new(1, 0)
CBCor.Parent = CheckBox
local Circle = Instance.new("Frame")
Circle.Size = UDim2.new(0, 18, 0, 18)
Circle.Position = UDim2.new(0, 3, 0, 3)
Circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Circle.ZIndex = 6
Circle.Parent = CheckBox
local CCor = Instance.new("UICorner")
CCor.CornerRadius = UDim.new(1, 0)
CCor.Parent = Circle
table.insert(allToggles, {Frame = ToggleFrame, Label = Label})
local enabled = false
CheckBox.MouseButton1Click:Connect(function()
enabled = not enabled
local targetColor = enabled and Color3.fromRGB(0, 180, 110) or Color3.fromRGB(48, 48, 54)
local targetPos = enabled and UDim2.new(0, 21, 0, 3) or UDim2.new(0, 3, 0, 3)
TweenService:Create(CheckBox, TweenInfo.new(0.2), {BackgroundColor3 = targetColor}):Play()
TweenService:Create(Circle, TweenInfo.new(0.2), {Position = targetPos}):Play()
callback(enabled)
end)
return ToggleFrame
end
-- ====================================================================
-- ЧАСТЬ 8: ИНИЦИАЛИЗАЦИЯ ИНТЕРФЕЙСА ТЕМ
-- ====================================================================
local ThemeContainer = Instance.new("Frame")
ThemeContainer.Size = UDim2.new(1, -5, 0, 45)
ThemeContainer.BackgroundTransparency = 1
ThemeContainer.Parent = SettingsPage
local TCList = Instance.new("UIListLayout")
TCList.FillDirection = Enum.FillDirection.Horizontal
TCList.Padding = UDim.new(0, 6)
TCList.Parent = ThemeContainer
local function CreateThemeBtn(text, themeConfig, order)
local Btn = Instance.new("TextButton")
Btn.Size = UDim2.new(0.33, -4, 1, 0)
Btn.BackgroundColor3 = themeConfig.ElementBG
Btn.Text = text
Btn.TextColor3 = themeConfig.Text
Btn.Font = Enum.Font.GothamBold
Btn.TextSize = 11
Btn.LayoutOrder = order
Btn.Parent = ThemeContainer
local BCor = Instance.new("UICorner")
BCor.CornerRadius = UDim.new(0, 6)
BCor.Parent = Btn
local stroke = Instance.new("UIStroke")
stroke.Color = themeConfig.Stroke
stroke.Parent = Btn
Btn.MouseEnter:Connect(function() ApplyTheme(themeConfig, 0.15) end)
Btn.MouseLeave:Connect(function() ApplyTheme(currentActiveTheme, 0.2) end)
Btn.MouseButton1Click:Connect(function() currentActiveTheme = themeConfig ApplyTheme(themeConfig, 0.1) end)
end
CreateThemeBtn("Dark", Themes.Dark, 1)
CreateThemeBtn("White", Themes.White, 2)
CreateThemeBtn("Glass", Themes.Transparent, 3)
-- ====================================================================
-- ЧАСТЬ 9: АВТО-АТАКА И ИНСТРУМЕНТЫ БОЯ
-- ====================================================================
local autoHitEnabled = false
local currentHitKey = Enum.KeyCode.E
local currentHideKey = Enum.KeyCode.K
local isBindingHit = false local isBindingHide = false
_G.currentHitKey = currentHitKey
_G.currentHideKey = currentHideKey
local useToolEvent = ReplicatedStorage:WaitForChild("Communication")
:WaitForChild("Tools"):WaitForChild("UseTool")
task.spawn(function()
while true do task.wait(0)
if autoHitEnabled then pcall(function() useToolEvent:FireServer() end) end
end
end)
CreateToggle(CombatPage, "Авто-удар (Бесконечный спам)", "AutoHit", function(state) autoHitEnabled = state end)
-- ====================================================================
-- ЧАСТЬ 10: КОНСТРУКТОР ГОРЯЧИХ КЛАВИШ
-- ====================================================================
local function CreateBindRow(parent, labelText, langKey, defaultKeyName, clickCallback)
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(1, -5, 0, 42)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
Frame.Parent = parent
local FC = Instance.new("UICorner") FC.CornerRadius = UDim.new(0, 6) table.insert(allToggles, {Frame = Frame})
local Lbl = Instance.new("TextLabel") Lbl.Size = UDim2.new(0, 200, 1, 0) Lbl.Position = UDim2.new(0, 12, 0, 0)
Lbl.Text = labelText Lbl.TextColor3 = Color3.fromRGB(230, 230, 240) Lbl.Font = Enum.Font.Gotham
Lbl.TextSize = 13 Lbl.TextXAlignment = Enum.TextXAlignment.Left Lbl.BackgroundTransparency = 1 Lbl.Parent = Frame
updatableElements[langKey] = Lbl
local Btn = Instance.new("TextButton") Btn.Size = UDim2.new(0, 140, 0, 26) Btn.Position = UDim2.new(1, -150, 0, 8)
Btn.BackgroundColor3 = Color3.fromRGB(50, 50, 60) Btn.Text = "Клавиша: " .. defaultKeyName
Btn.TextColor3 = Color3.fromRGB(255, 255, 255) Btn.Font = Enum.Font.GothamBold Btn.TextSize = 12 Btn.Parent = Frame
local BC = Instance.new("UICorner") BC.CornerRadius = UDim.new(0, 4) BC.Parent = Btn
Btn.MouseButton1Click:Connect(function() clickCallback(Btn) end)
return Btn
end
local HitBindBtn = CreateBindRow(CombatPage, "Бинд на удар", "HitBind", "E", function(b)
isBindingHit = true b.Text = Localization[currentLang].PressKey
end)
_G.HitBindBtn = HitBindBtn
local HideBindBtn = CreateBindRow(SettingsPage, "Бинд скрытия GUI", "HideBind", "K", function(b)
isBindingHide = true b.Text = Localization[currentLang].PressKey
end)
_G.HideBindBtn = HideBindBtn
-- ====================================================================
-- ЧАСТЬ 11: ОБРАБОТЧИК КЛАВИАТУРЫ
-- ====================================================================
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.UserInputType ~= Enum.UserInputType.Keyboard then return end
if isBindingHit then
if input.KeyCode == currentHideKey then CreateNotify(Localization[currentLang].AlreadyBound) isBindingHit = false HitBindBtn.Text = Localization[currentLang].KeyText .. currentHitKey.Name return end
currentHitKey = input.KeyCode HitBindBtn.Text = Localization[currentLang].KeyText .. input.KeyCode.Name isBindingHit = false _G.currentHitKey = currentHitKey
elseif isBindingHide then
if input.KeyCode == currentHitKey then CreateNotify(Localization[currentLang].AlreadyBound) isBindingHide = false HideBindBtn.Text = Localization[currentLang].KeyText .. currentHideKey.Name return end
currentHideKey = input.KeyCode HideBindBtn.Text = Localization[currentLang].KeyText .. input.KeyCode.Name isBindingHide = false _G.currentHideKey = currentHideKey
elseif not gameProcessed and input.KeyCode == currentHitKey then
pcall(function() useToolEvent:FireServer() end)
end
end)
-- ====================================================================
-- ЧАСТЬ 12: ДРОПДАУН СМЕНЫ ЯЗЫКА
-- ====================================================================
local LangMasterFrame = Instance.new("Frame")
LangMasterFrame.Size = UDim2.new(1, -5, 0, 42)
LangMasterFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
LangMasterFrame.ClipsDescendants = true
LangMasterFrame.Parent = SettingsPage
local LMFCor = Instance.new("UICorner") LMFCor.CornerRadius = UDim.new(0, 6) LMFCor.Parent = LangMasterFrame table.insert(allToggles, {Frame = LangMasterFrame})
local LDropArrow = Instance.new("TextButton") LDropArrow.Size = UDim2.new(0, 30, 0, 42) LDropArrow.Position = UDim2.new(0, 5, 0, 0) LDropArrow.Text = "▼" LDropArrow.TextColor3 = Color3.fromRGB(150, 150, 160) LDropArrow.Font = Enum.Font.GothamBold LDropArrow.TextSize = 12 LDropArrow.BackgroundTransparency = 1 LDropArrow.Parent = LangMasterFrame
local LLabel = Instance.new("TextLabel") LLabel.Size = UDim2.new(1, -40, 0, 42) LLabel.Position = UDim2.new(0, 35, 0, 0) LLabel.Text = "Выбрать язык меню" LLabel.TextColor3 = Color3.fromRGB(230, 230, 240) LLabel.Font = Enum.Font.Gotham LLabel.TextSize = 13 LLabel.TextXAlignment = Enum.TextXAlignment.Left LLabel.BackgroundTransparency = 1 LLabel.Parent = LangMasterFrame
updatableElements["LangDrop"] = LLabel
local SubLangFrame = Instance.new("Frame") SubLangFrame.Size = UDim2.new(1, -10, 0, 110) SubLangFrame.Position = UDim2.new(0, 5, 0, 45) SubLangFrame.BackgroundTransparency = 1 SubLangFrame.Parent = LangMasterFrame
local SLFList = Instance.new("UIListLayout") SLFList.Padding = UDim.new(0, 5) SLFList.Parent = SubLangFrame
local function CreateLangSelectorBtn(text, langCode)
local LBtn = Instance.new("TextButton") LBtn.Size = UDim2.new(1, 0, 0, 30) LBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 48) LBtn.Text = text LBtn.TextColor3 = Color3.fromRGB(230, 230, 240) LBtn.Font = Enum.Font.GothamMedium LBtn.TextSize = 12 LBtn.Parent = SubLangFrame
local LBCor = Instance.new("UICorner") LBCor.CornerRadius = UDim.new(0, 4) LBCor.Parent = LBtn
LBtn.MouseButton1Click:Connect(function() currentLang = langCode UpdateMenuLanguage() HitBindBtn.Text = Localization[currentLang].KeyText .. currentHitKey.Name HideBindBtn.Text = Localization[currentLang].KeyText .. currentHideKey.Name end)
end
CreateLangSelectorBtn("1 - Русский", "RU") CreateLangSelectorBtn("2 - English", "EN") CreateLangSelectorBtn("3 - Азбука Морзе (Morse)", "MORSE")
local lIsDropped = false LDropArrow.MouseButton1Click:Connect(function() lIsDropped = not lIsDropped
local targetHeight = lIsDropped and 155 or 42 local targetRotation = lIsDropped and 180 or 0
TweenService:Create(LangMasterFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad), {Size = UDim2.new(1, -5, 0, targetHeight)}):Play() TweenService:Create(LDropArrow, TweenInfo.new(0.3), {Rotation = targetRotation}):Play()
end)
-- ====================================================================
-- ЧАСТЬ 13: ФУНКЦИИ ПЕРЕДВИЖЕНИЯ И АВТО-ФАРМ
-- ====================================================================
local noclipEnabled = false local flyEnabled = false local obbyFarmEnabled = false local savedPos = nil
CreateToggle(FastFuncPage, "Noclip (Сквозь стены)", "Noclip", function(state) noclipEnabled = state end)
CreateToggle(FastFuncPage, "Fly (Полет на WASD)", "Fly", function(state) flyEnabled = state end)
CreateToggle(FastFuncPage, "Авто-телепорт (Обби фарм 60с)", "ObbyFarm", function(state) obbyFarmEnabled = state
local char = Players.LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart")
if state and hrp then savedPos = hrp.CFrame elseif not state and hrp and savedPos then hrp.CFrame = savedPos savedPos = nil end
end)
task.spawn(function()
while true do task.wait(60) if obbyFarmEnabled then pcall(function()
local hrp = Players.LocalPlayer.Character and Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
local hardObby = Workspace:FindFirstChild("HardObbyEndPart", true) local normalObby = Workspace:FindFirstChild("ObbyEndPart", true)
if hrp and (hardObby or normalObby) then
if hardObby and hardObby:IsA("BasePart") then hrp.CFrame = hardObby.CFrame + Vector3.new(0,3,0) task.wait(0.15) end
if normalObby and normalObby:IsA("BasePart") then hrp.CFrame = normalObby.CFrame + Vector3.new(0,3,0) task.wait(0.15) end
end
end) end end
end)
-- ====================================================================
-- ЧАСТЬ 14: ЦИКЛ ОБРАБОТКИ ФИЗИКИ (FLY/NOCLIP)
-- ====================================================================
local cam = Workspace.CurrentCamera
RunService.Stepped:Connect(function()
local char = Players.LocalPlayer.Character if not char then return end
for _, p in pairs(char:GetDescendants()) do if p:IsA("BasePart") then
if noclipEnabled or flyEnabled then p.CanCollide = false end
end end
local hrp = char:FindFirstChild("HumanoidRootPart") local hum = char:FindFirstChildOfClass("Humanoid")
if flyEnabled and hrp and hum then hum.PlatformStand = true local lv = cam.CFrame.LookVector local rv = cam.CFrame.RightVector local dir = Vector3.new(0,0,0)
if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir = dir + lv end if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir = dir - lv end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir = dir + rv end if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir = dir - rv end
if UserInputService:IsKeyDown(Enum.KeyCode.Space) then dir = dir + Vector3.new(0,1,0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then dir = dir - Vector3.new(0,1,0) end
hrp.Velocity = dir.Magnitude > 0 and dir.Unit * 50 or Vector3.new(0,0,0)
elseif not flyEnabled and hum and hum.PlatformStand then hum.PlatformStand = false end
end)
-- ====================================================================
-- ЧАСТЬ 15: НАСТРОЙКИ ВИЗУАЛОВ И ESP ПОДМЕНЮ
-- ====================================================================
local VisualsMasterFrame = Instance.new("Frame") VisualsMasterFrame.Size = UDim2.new(1, -5, 0, 42) VisualsMasterFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) VisualsMasterFrame.ClipsDescendants = true VisualsMasterFrame.Parent = VisualsPage
local VMFCor = Instance.new("UICorner") VMFCor.CornerRadius = UDim.new(0, 6) VMFCor.Parent = VisualsMasterFrame table.insert(allToggles, {Frame = VisualsMasterFrame})
local VDropArrow = Instance.new("TextButton") VDropArrow.Size = UDim2.new(0, 30, 0, 42) VDropArrow.Position = UDim2.new(0, 5, 0, 0) VDropArrow.Text = "▼" VDropArrow.TextColor3 = Color3.fromRGB(150, 150, 160) VDropArrow.Font = Enum.Font.GothamBold VDropArrow.TextSize = 12 VDropArrow.BackgroundTransparency = 1 VDropArrow.Parent = VisualsMasterFrame
local VLabel = Instance.new("TextLabel") VLabel.Size = UDim2.new(1, -85, 0, 42) VLabel.Position = UDim2.new(0, 35, 0, 0) VLabel.Text = "Включить ESP (Highlight)" VLabel.TextColor3 = Color3.fromRGB(230, 230, 240) VLabel.Font = Enum.Font.Gotham VLabel.TextSize = 13 VLabel.TextXAlignment = Enum.TextXAlignment.Left VLabel.BackgroundTransparency = 1 VLabel.Parent = VisualsMasterFrame
updatableElements["MainESP"] = VLabel
local VCheckBox = Instance.new("TextButton") VCheckBox.Size = UDim2.new(0, 42, 0, 24) VCheckBox.Position = UDim2.new(1, -52, 0, 9) VCheckBox.BackgroundColor3 = Color3.fromRGB(48, 48, 54) VCheckBox.Text = "" VCheckBox.Parent = VisualsMasterFrame
local VMBCor = Instance.new("UICorner") VMBCor.CornerRadius = UDim.new(1, 0) VMBCor.Parent = VCheckBox
local VCircle = Instance.new("Frame") VCircle.Size = UDim2.new(0, 18, 0, 18) VCircle.Position = UDim2.new(0, 3, 0, 3) VCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) VCircle.Parent = VCheckBox
local VCCor = Instance.new("UICorner") VCCor.CornerRadius = UDim.new(1, 0) VCCor.Parent = VCircle
local espEnabled = false local tracersEnabled = false local boxesEnabled = false
VCheckBox.MouseButton1Click:Connect(function() espEnabled = not espEnabled
local targetColor = espEnabled and Color3.fromRGB(0, 180, 110) or Color3.fromRGB(48, 48, 54) local targetPos = espEnabled and UDim2.new(0, 21, 0, 3) or UDim2.new(0, 3, 0, 3)
TweenService:Create(VCheckBox, TweenInfo.new(0.2), {BackgroundColor3 = targetColor}):Play() TweenService:Create(VCircle, TweenInfo.new(0.2), {Position = targetPos}):Play()
end)
local SubVisualsFrame = Instance.new("Frame") SubVisualsFrame.Size = UDim2.new(1, -10, 0, 90) SubVisualsFrame.Position = UDim2.new(0, 5, 0, 45) SubVisualsFrame.BackgroundTransparency = 1 SubVisualsFrame.Parent = VisualsMasterFrame
local SVFList = Instance.new("UIListLayout") SVFList.Padding = UDim.new(0, 5) SVFList.Parent = SubVisualsFrame
local T1 = CreateToggle(SubVisualsFrame, "Трейсеры (Линии до целей)", "Tracers", function(state) tracersEnabled = state end)
local T2 = CreateToggle(SubVisualsFrame, "2D Боксы (Рамки целей)", "Boxes", function(state) boxesEnabled = state end)
T1.Size = UDim2.new(1,0,0,40) T2.Size = UDim2.new(1,0,0,40)
local vIsDropped = false VDropArrow.MouseButton1Click:Connect(function() vIsDropped = not vIsDropped
local targetHeight = vIsDropped and 140 or 42 local targetRotation = vIsDropped and 180 or 0
TweenService:Create(VisualsMasterFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad), {Size = UDim2.new(1, -5, 0, targetHeight)}):Play() TweenService:Create(VDropArrow, TweenInfo.new(0.3), {Rotation = targetRotation}):Play()
end)
-- ====================================================================
-- ЧАСТЬ 16: ЦИКЛ РЕНДЕРА ВИЗУАЛОВ (ESP / DRAWING)
-- ====================================================================
local espContainer = Instance.new("Folder", CoreGui) espContainer.Name = "NPCorDie_ESP_Storage" local drawings = {}
local function clearDrawings() for _, d in pairs(drawings) do pcall(function() d:Remove() end) end drawings = {} end
RunService.RenderStepped:Connect(function()
if not espEnabled then espContainer:ClearAllChildren() clearDrawings() return end clearDrawings()
for _, team in pairs(Teams:GetTeams()) do for _, player in pairs(team:GetPlayers()) do if player ~= Players.LocalPlayer then
local char = player.Character or Workspace:FindFirstChild(player.Name)
if char and char:FindFirstChild("HumanoidRootPart") then
local hName = player.Name .. "_ESP" local existing = espContainer:FindFirstChild(hName)
if not existing then
local hl = Instance.new("Highlight") hl.Name = hName hl.FillColor = Color3.fromRGB(255, 0, 50) hl.FillTransparency = 0.5 hl.OutlineColor = Color3.fromRGB(255, 255, 255) hl.Adornee = char hl.Parent = espContainer
elseif existing.Adornee ~= char then existing.Adornee = char end
local hrp = char.HumanoidRootPart local screenPos, onScreen = cam:WorldToViewportPoint(hrp.Position)
if onScreen and Drawing then
if tracersEnabled then
local line = Drawing.new("Line") line.To = Vector2.new(screenPos.X, screenPos.Y) line.From = Vector2.new(cam.ViewportSize.X / 2, cam.ViewportSize.Y) line.Color = Color3.fromRGB(255, 0, 50) line.Thickness = 1 line.Transparency = 1 line.Visible = true table.insert(drawings, line)
end
if boxesEnabled then
local topPos = cam:WorldToViewportPoint(hrp.Position + Vector3.new(0, 3, 0)) local bottomPos = cam:WorldToViewportPoint(hrp.Position - Vector3.new(0, 3.5, 0)) local boxHeight = math.abs(topPos.Y - bottomPos.Y) local boxWidth = boxHeight / 1.5
local box = Drawing.new("Square") box.Size = Vector2.new(boxWidth, boxHeight) box.Position = Vector2.new(screenPos.X - boxWidth / 2, screenPos.Y - boxHeight / 2) box.Color = Color3.fromRGB(255, 255, 255) box.Thickness = 1 box.Filled = false box.Transparency = 1 box.Visible = true table.insert(drawings, box)
end
end
end
end end end
end)
-- ====================================================================
-- ЧАСТЬ 17: ДРАГ-СИСТЕМА, ДЕСТРУКТОР И ЗАПУСК скрипта
-- ====================================================================
local DelBtn = Instance.new("TextButton") DelBtn.Size = UDim2.new(1, -5, 0, 42) DelBtn.BackgroundColor3 = Color3.fromRGB(180, 40, 40) DelBtn.Text = "Удалить GUI полностью" DelBtn.TextColor3 = Color3.fromRGB(255, 255, 255) DelBtn.Font = Enum.Font.GothamBold DelBtn.TextSize = 13 DelBtn.Parent = SettingsPage
local DBCor = Instance.new("UICorner") DBCor.CornerRadius = UDim.new(0, 6) DBCor.Parent = DelBtn
updatableElements["DelGUI"] = DelBtn
local dragConnect TitleBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
local initialMousePos = UserInputService:GetMouseLocation() local initialFramePos = MainFrame.Position if dragConnect then dragConnect:Disconnect() end
dragConnect = RunService.RenderStepped:Connect(function() if UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then local currentMousePos = UserInputService:GetMouseLocation() local delta = currentMousePos - initialMousePos MainFrame.Position = UDim2.new(initialFramePos.X.Scale, initialFramePos.X.Offset + delta.X, initialFramePos.Y.Scale, initialFramePos.Y.Offset + delta.Y) else dragConnect:Disconnect() end end)
end
end)
DelBtn.MouseButton1Click:Connect(function() if dragConnect then dragConnect:Disconnect() end welcomeActive = false espEnabled = false tracersEnabled = false boxesEnabled = false autoHitEnabled = false noclipEnabled = false flyEnabled = false obbyFarmEnabled = false clearDrawings() local char = Players.LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.PlatformStand = false end espContainer:Destroy() pcall(function() WelcomeFrame:Destroy() end) ScreenGui:Destroy() end)
local guiVisible = true UserInputService.InputBegan:Connect(function(input, gameProcessed) if not gameProcessed and input.KeyCode == _G.currentHideKey then guiVisible = not guiVisible MainFrame.Visible = guiVisible end end)
UpdateMenuLanguage()No comments yet for this script.

