Paste Shaver

Text Content

-- [[ SERVICES ]] --
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

-- [[ SETTINGS ]] --
local Config = {
    -- Aimbot & Visuals
    FOV = 50,
    Smoothing = 1,
    Prediction = 0.1,
    L_ROffset = 0,
    U_DOffset = 0,
    
    -- Character
    HipHeight = 2.0,
    SpeedValue = 320.5,
    SpeedEnabled = true, -- Set to true to allow the C-key toggle
    AntiStomp = false,
    
    -- Control
    ToggleKey = Enum.KeyCode.Insert,
    SpeedKey = Enum.KeyCode.C
}

-- [[ UI CONSTRUCTOR ]] --
local ScreenGui = Instance.new("ScreenGui", game:GetService("CoreGui"))
ScreenGui.Name = "333_v2"

local Main = Instance.new("Frame", ScreenGui)
Main.Size = UDim2.new(0, 400, 0, 500)
Main.Position = UDim2.new(0.5, -200, 0.5, -250)
Main.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
Main.BorderSizePixel = 2
Main.BorderColor3 = Color3.fromRGB(255, 105, 180)
Main.Draggable = true
Main.Active = true

local Title = Instance.new("TextLabel", Main)
Title.Size = UDim2.new(1, 0, 0, 30)
Title.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Title.Text = " 333.EXE | AULA EXTERNAL"
Title.TextColor3 = Color3.fromRGB(255, 105, 180)
Title.Font = Enum.Font.RobotoMono
Title.TextSize = 14

local Scroll = Instance.new("ScrollingFrame", Main)
Scroll.Size = UDim2.new(1, -20, 1, -40)
Scroll.Position = UDim2.new(0, 10, 0, 35)
Scroll.BackgroundTransparency = 1
Scroll.CanvasSize = UDim2.new(0, 0, 2, 0)
Scroll.ScrollBarThickness = 2

local Layout = Instance.new("UIListLayout", Scroll)
Layout.Padding = UDim.new(0, 10)

-- [[ COMPONENT: SLIDER ]] --
local function NewSlider(name, min, max, default, callback)
    local Frame = Instance.new("Frame", Scroll)
    Frame.Size = UDim2.new(1, 0, 0, 45)
    Frame.BackgroundTransparency = 1
    
    local Label = Instance.new("TextLabel", Frame)
    Label.Text = name .. ": " .. string.format("%.3f", default)
    Label.Size = UDim2.new(1, 0, 0, 20)
    Label.TextColor3 = Color3.new(1,1,1)
    Label.BackgroundTransparency = 1
    Label.Font = Enum.Font.SourceSans

    local Bar = Instance.new("Frame", Frame)
    Bar.Size = UDim2.new(1, -10, 0, 4)
    Bar.Position = UDim2.new(0, 5, 0, 25)
    Bar.BackgroundColor3 = Color3.fromRGB(40, 40, 40)

    local Knob = Instance.new("TextButton", Bar)
    Knob.Size = UDim2.new(0, 12, 0, 12)
    Knob.Position = UDim2.new((default-min)/(max-min), -6, 0.5, -6)
    Knob.BackgroundColor3 = Color3.fromRGB(255, 105, 180)
    Knob.Text = ""

    local dragging = false
    Knob.MouseButton1Down:Connect(function() dragging = true end)
    UIS.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end)

    RunService.RenderStepped:Connect(function()
        if dragging then
            local percent = math.clamp((UIS:GetMouseLocation().X - Bar.AbsolutePosition.X) / Bar.AbsoluteSize.X, 0, 1)
            Knob.Position = UDim2.new(percent, -6, 0.5, -6)
            local val = min + (max - min) * percent
            Label.Text = name .. ": " .. string.format("%.3f", val)
            callback(val)
        end
    end)
end

-- [[ COMPONENT: TOGGLE ]] --
local function NewToggle(name, configPath)
    local Btn = Instance.new("TextButton", Scroll)
    Btn.Size = UDim2.new(1, 0, 0, 30)
    Btn.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
    Btn.Text = name .. (Config[configPath] and " [ON]" or " [OFF]")
    Btn.TextColor3 = Color3.new(1,1,1)

    Btn.MouseButton1Click:Connect(function()
        Config[configPath] = not Config[configPath]
        Btn.Text = name .. (Config[configPath] and " [ON]" or " [OFF]")
        Btn.TextColor3 = Config[configPath] and Color3.fromRGB(255, 105, 180) or Color3.new(1,1,1)
    end)
end

-- [[ INITIALIZE CONTROLS ]] --
NewSlider("FOV", 10, 1000, 50, function(v) Config.FOV = v end)
NewSlider("Smoothing", 0, 2, 1, function(v) Config.Smoothing = v end)
NewSlider("Prediction", 0, 0.6, 0.1, function(v) Config.Prediction = v end)
NewSlider("L/R Offset", -5, 5, 0, function(v) Config.L_ROffset = v end)
NewSlider("U/D Offset", -5, 5, 0, function(v) Config.U_DOffset = v end)
NewSlider("HipHeight", -10, 10, 2, function(v)
    local h = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
    if h then h.HipHeight = v end
end)
NewSlider("Speed Value", 320.5, 1000, 320.5, function(v) Config.SpeedValue = v end)
NewToggle("Anti Stomp", "AntiStomp")

-- [[ FUNCTIONAL LOGIC ]] --
-- 1. Speed (Hold C)
UIS.InputBegan:Connect(function(i, gpe)
    if not gpe and i.KeyCode == Config.SpeedKey and Config.SpeedEnabled then
        local h = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
        if h then h.WalkSpeed = Config.SpeedValue end
    end
end)
UIS.InputEnded:Connect(function(i)
    if i.KeyCode == Config.SpeedKey then
        local h = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
        if h then h.WalkSpeed = 16 end
    end
end)

-- 2. Anti Stomp
RunService.Heartbeat:Connect(function()
    if Config.AntiStomp and LocalPlayer.Character then
        local h = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
        if h and h.Health > 0 and (h.Health / h.MaxHealth) < 0.01 then
            LocalPlayer.Character:BreakJoints()
        end
    end
end)

-- 3. Menu Toggle (Insert)
UIS.InputBegan:Connect(function(i)
    if i.KeyCode == Config.ToggleKey then Main.Visible = not Main.Visible end
end)