Загрузка данных
-- Стандартный LocalScript для Roblox Studio (Чистый UI без инжектов)
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer
-- Создаем основу интерфейса
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "FatalityNativeMenu"
ScreenGui.ResetOnSpawn = false
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
-- Главное окно
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.fromOffset(640, 430)
MainFrame.Position = UDim2.new(0.5, -320, 0.5, -215)
MainFrame.BackgroundColor3 = Color3.fromRGB(8, 8, 10)
MainFrame.BorderSizePixel = 0
MainFrame.Parent = ScreenGui
-- Стилизация бортов (Фирменный бордовый оттенок Fatality)
local UIStroke = Instance.new("UIStroke")
UIStroke.Color = Color3.fromRGB(161, 14, 71)
UIStroke.Thickness = 1.5
UIStroke.Parent = MainFrame
-- Верхний Топ-бар
local TopBar = Instance.new("Frame")
TopBar.Name = "TopBar"
TopBar.Size = UDim2.new(1, 0, 0, 45)
TopBar.BackgroundColor3 = Color3.fromRGB(11, 11, 14)
TopBar.BorderSizePixel = 0
TopBar.Parent = MainFrame
-- Логотип
local Logo = Instance.new("TextLabel")
Logo.Name = "Logo"
Logo.Text = "FATALITY"
Logo.Size = UDim2.new(0, 100, 1, 0)
Logo.Position = UDim2.fromOffset(15, 0)
Logo.BackgroundTransparency = 1
Logo.TextColor3 = Color3.fromRGB(255, 60, 140)
Logo.Font = Enum.Font.FredokaOne
Logo.TextSize = 19
Logo.TextXAlignment = Enum.TextXAlignment.Left
Logo.Parent = TopBar
-- Контейнер для оригинальных табов
local TabContainer = Instance.new("Frame")
TabContainer.Name = "TabContainer"
TabContainer.Size = UDim2.new(1, -260, 1, 0)
TabContainer.Position = UDim2.fromOffset(115, 0)
TabContainer.BackgroundTransparency = 1
TabContainer.Parent = TopBar
local TabLayout = Instance.new("UIListLayout")
TabLayout.FillDirection = Enum.FillDirection.Horizontal
TabLayout.SortOrder = Enum.SortOrder.LayoutOrder
TabLayout.VerticalAlignment = Enum.VerticalAlignment.Center
TabLayout.Padding = UDim.new(0, 14)
TabLayout.Parent = TabContainer
-- Подписка справа
local Watermark = Instance.new("TextLabel")
Watermark.Name = "Watermark"
Watermark.Text = "NEVERLOSE_CC\nEXPIRES: <font color='rgb(255,0,80)'>NEVER</font>"
Watermark.RichText = true
Watermark.Size = UDim2.new(0, 120, 1, 0)
Watermark.Position = UDim2.new(1, -135, 0, 0)
Watermark.BackgroundTransparency = 1
Watermark.TextColor3 = Color3.fromRGB(160, 160, 165)
Watermark.Font = Enum.Font.SourceSansBold
Watermark.TextSize = 11
Watermark.TextXAlignment = Enum.TextXAlignment.Right
Watermark.Parent = TopBar
-- Контентная зона (3 колонки как на скришоте)
local ContentFrame = Instance.new("Frame")
ContentFrame.Name = "ContentFrame"
ContentFrame.Size = UDim2.new(1, 0, 1, -45)
ContentFrame.Position = UDim2.fromOffset(0, 45)
ContentFrame.BackgroundTransparency = 1
ContentFrame.Parent = MainFrame
local Columns = {}
local columnWidths = {UDim2.new(0.3, 0, 1, -20), UDim2.new(0.32, 0, 1, -20), UDim2.new(0.34, 0, 1, -20)}
local columnPositions = {UDim2.new(0, 15, 0, 10), UDim2.new(0.32, 15, 0, 10), UDim2.new(0.66, 10, 0, 10)}
local columnNames = {"WEAPON", "EXTRA", "GENERAL"}
for i = 1, 3 do
local Col = Instance.new("ScrollingFrame")
Col.Name = columnNames[i]
Col.Size = columnWidths[i]
Col.Position = columnPositions[i]
Col.BackgroundTransparency = 1
Col.BorderSizePixel = 0
Col.ScrollBarThickness = 0
Col.CanvasSize = UDim2.new(0, 0, 0, 0)
Col.AutomaticCanvasSize = Enum.AutomaticSize.Y
Col.Parent = ContentFrame
local Title = Instance.new("TextLabel")
Title.Text = columnNames[i]
Title.Size = UDim2.new(1, 0, 0, 25)
Title.BackgroundTransparency = 1
Title.TextColor3 = Color3.fromRGB(240, 240, 245)
Title.Font = Enum.Font.SourceSansBold
Title.TextSize = 14
Title.TextXAlignment = Enum.TextXAlignment.Left
Title.Parent = Col
local List = Instance.new("UIListLayout")
List.Padding = UDim.new(0, 6)
List.SortOrder = Enum.SortOrder.LayoutOrder
List.Parent = Col
Columns[columnNames[i]] = Col
end
-- Вспомогательные функции для сборки элементов управления
local function createCheckbox(column, name, default, callback)
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(1, 0, 0, 24)
Frame.BackgroundTransparency = 1
Frame.Parent = Columns[column]
local Label = Instance.new("TextButton")
Label.Text = name:upper()
Label.Size = UDim2.new(1, -30, 1, 0)
Label.Position = UDim2.fromOffset(0, 0)
Label.BackgroundTransparency = 1
Label.TextColor3 = default and Color3.fromRGB(255, 80, 0) or Color3.fromRGB(170, 170, 175)
Label.Font = Enum.Font.SourceSansBold
Label.TextSize = 13
Label.TextXAlignment = Enum.TextXAlignment.Left
Label.Parent = Frame
local active = default
Label.MouseButton1Click:Connect(function()
active = not active
Label.TextColor3 = active and Color3.fromRGB(255, 80, 0) or Color3.fromRGB(170, 170, 175)
if callback then callback(active) end
end)
end
local function createSlider(column, name, min, max, default, callback)
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(1, -10, 0, 35)
Frame.BackgroundTransparency = 1
Frame.Parent = Columns[column]
local Label = Instance.new("TextLabel")
Label.Text = name:upper()
Label.Size = UDim2.new(0.7, 0, 0, 18)
Label.BackgroundTransparency = 1
Label.TextColor3 = Color3.fromRGB(170, 170, 175)
Label.Font = Enum.Font.SourceSansBold
Label.TextSize = 13
Label.TextXAlignment = Enum.TextXAlignment.Left
Label.Parent = Frame
local ValueLabel = Instance.new("TextLabel")
ValueLabel.Text = tostring(default) .. (name == "Hit-Chance" and "" or "%")
ValueLabel.Size = UDim2.new(0.3, 0, 0, 18)
ValueLabel.Position = UDim2.new(0.7, 0, 0, 0)
ValueLabel.BackgroundTransparency = 1
ValueLabel.TextColor3 = Color3.fromRGB(170, 170, 175)
ValueLabel.Font = Enum.Font.SourceSansBold
ValueLabel.TextSize = 13
ValueLabel.TextXAlignment = Enum.TextXAlignment.Right
ValueLabel.Parent = Frame
end
-- Наполняем вкладку RAGE элементами в точности как на скрипте
createSlider("WEAPON", "Hit-Chance", 0, 100, 64)
createSlider("WEAPON", "Pointscale", 0, 100, 0)
createSlider("WEAPON", "Min-Damage", 0, 100, 85)
createCheckbox("EXTRA", "Autostop", false)
createCheckbox("EXTRA", "Autoscope", false)
createCheckbox("EXTRA", "Ignore Limbs on Moving", false)
createCheckbox("EXTRA", "Autorevolver", false)
createCheckbox("GENERAL", "Aimbot", true)
createCheckbox("GENERAL", "Silent Aim", false)
createCheckbox("GENERAL", "Maximum FOV", false)
createCheckbox("GENERAL", "Autofire", false)
createCheckbox("GENERAL", "Doubletap", true)
-- Добавляем вкладки меню в топ-бар
local tabs = {"RAGE", "LEGIT", "VISUAL", "MISC", "SKINS", "LUA"}
for i, tabName in ipairs(tabs) do
local TabBtn = Instance.new("TextButton")
TabBtn.Text = tabName
TabBtn.Size = UDim2.fromOffset(45, 30)
TabBtn.BackgroundTransparency = 1
TabBtn.TextColor3 = i == 1 and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(130, 130, 135)
TabBtn.Font = Enum.Font.SourceSansBold
TabBtn.TextSize = 13
TabBtn.Parent = TabContainer
end
-- Логика перетаскивания (Drag) интерфейса мышкой на ПК
local dragging, dragInput, dragStart, startPos
TopBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then dragging = false end
end)
end
end)
TopBar.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then dragInput = input end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - dragStart
MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)