Heaviness Changer Gui Script
Key RequiredUniversal

Heaviness Changer Gui Script

Universal ScriptKyeliszKyelisz 679 views 212 executesUpdated Mar 24, 2026
Unrated
00
Lua Script•191 lines (6452 chars)
-- Heavy Weight Changer with TextBox (0.1 - 1,000,000)
-- For Xeno Executor - Paste and Execute

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local screenGui = Instance.new("ScreenGui")
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 360, 0, 300)
mainFrame.Position = UDim2.new(0.5, -180, 0.5, -150)
mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = screenGui

Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 12)

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 45)
title.BackgroundTransparency = 1
title.Text = "Heavy Weight Changer"
title.TextColor3 = Color3.fromRGB(255, 80, 80)
title.TextScaled = true
title.Font = Enum.Font.GothamBold
title.Parent = mainFrame

-- TextBox for heaviness
local heavinessLabel = Instance.new("TextLabel")
heavinessLabel.Size = UDim2.new(1, -20, 0, 30)
heavinessLabel.Position = UDim2.new(0, 10, 0, 55)
heavinessLabel.BackgroundTransparency = 1
heavinessLabel.Text = "Heaviness Value (0.1 - 1,000,000):"
heavinessLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
heavinessLabel.TextScaled = true
heavinessLabel.Font = Enum.Font.Gotham
heavinessLabel.Parent = mainFrame

local textBox = Instance.new("TextBox")
textBox.Size = UDim2.new(0.7, 0, 0, 40)
textBox.Position = UDim2.new(0.05, 0, 0, 90)
textBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
textBox.Text = "10"
textBox.TextColor3 = Color3.fromRGB(255, 255, 255)
textBox.TextScaled = true
textBox.Font = Enum.Font.Gotham
textBox.PlaceholderText = "Enter number..."
textBox.Parent = mainFrame

Instance.new("UICorner", textBox).CornerRadius = UDim.new(0, 8)

local applyBtn = Instance.new("TextButton")
applyBtn.Size = UDim2.new(0.2, 0, 0, 40)
applyBtn.Position = UDim2.new(0.78, 0, 0, 90)
applyBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
applyBtn.Text = "Apply"
applyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
applyBtn.TextScaled = true
applyBtn.Font = Enum.Font.GothamBold
applyBtn.Parent = mainFrame

Instance.new("UICorner", applyBtn).CornerRadius = UDim.new(0, 8)

-- Heavy Mode Toggle
local heavyModeBtn = Instance.new("TextButton")
heavyModeBtn.Size = UDim2.new(0.9, 0, 0, 50)
heavyModeBtn.Position = UDim2.new(0.05, 0, 0, 150)
heavyModeBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
heavyModeBtn.Text = "Heavy Mode: OFF"
heavyModeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
heavyModeBtn.TextScaled = true
heavyModeBtn.Font = Enum.Font.GothamBold
heavyModeBtn.Parent = mainFrame

Instance.new("UICorner", heavyModeBtn).CornerRadius = UDim.new(0, 10)

-- Status label
local statusLabel = Instance.new("TextLabel")
statusLabel.Size = UDim2.new(1, -20, 0, 30)
statusLabel.Position = UDim2.new(0, 10, 0, 210)
statusLabel.BackgroundTransparency = 1
statusLabel.Text = "Current: 10x"
statusLabel.TextColor3 = Color3.fromRGB(100, 255, 100)
statusLabel.TextScaled = true
statusLabel.Font = Enum.Font.Gotham
statusLabel.Parent = mainFrame

local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 35, 0, 35)
closeBtn.Position = UDim2.new(1, -40, 0, 5)
closeBtn.BackgroundColor3 = Color3.fromRGB(180, 40, 40)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.TextScaled = true
closeBtn.Font = Enum.Font.GothamBold
closeBtn.Parent = mainFrame
Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(0, 8)

-- Variables
local currentHeaviness = 10
local heavyMode = false
local forceConnection = nil
local originalJump = humanoid.JumpPower

local function applyHeaviness(value)
    currentHeaviness = math.clamp(tonumber(value) or 10, 0.1, 1000000)
    textBox.Text = tostring(currentHeaviness)
    statusLabel.Text = "Current: " .. currentHeaviness .. "x"

    if not character then return end

    for _, part in ipairs(character:GetDescendants()) do
        if part:IsA("BasePart") then
            part.Massless = false
            part.CustomPhysicalProperties = PhysicalProperties.new(
                currentHeaviness,  -- Density (this is what you wanted to go super high)
                0.3, 0.5, 1, 1
            )
        end
    end

    -- Update jump power so you don't jump like a feather when super heavy
    humanoid.JumpPower = originalJump * math.max(0.3, 3 / math.sqrt(currentHeaviness))
end

local function startHeavyForce()
    if forceConnection then forceConnection:Disconnect() end

    forceConnection = RunService.Heartbeat:Connect(function()
        if not heavyMode or not character then return end
        local root = character:FindFirstChild("HumanoidRootPart")
        if root and humanoid.Health > 0 then
            local extraDown = -currentHeaviness * 2500   -- very strong downward force
            root:ApplyImpulse(Vector3.new(0, extraDown * 0.016, 0))
        end
    end)
end

-- Apply button + Enter key
local function onApply()
    applyHeaviness(textBox.Text)
    if heavyMode then startHeavyForce() end
end

applyBtn.MouseButton1Click:Connect(onApply)
textBox.FocusLost:Connect(function(enterPressed)
    if enterPressed then onApply() end
end)

-- Heavy Mode toggle
heavyModeBtn.MouseButton1Click:Connect(function()
    heavyMode = not heavyMode
    if heavyMode then
        heavyModeBtn.Text = "Heavy Mode: ON"
        heavyModeBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
        startHeavyForce()
    else
        heavyModeBtn.Text = "Heavy Mode: OFF"
        heavyModeBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
        if forceConnection then forceConnection:Disconnect() end
    end
    applyHeaviness(currentHeaviness)
end)

closeBtn.MouseButton1Click:Connect(function()
    if forceConnection then forceConnection:Disconnect() end
    screenGui:Destroy()
end)

-- Respawn support
player.CharacterAdded:Connect(function(newChar)
    character = newChar
    humanoid = newChar:WaitForChild("Humanoid")
    originalJump = humanoid.JumpPower
    wait(1.5)
    applyHeaviness(currentHeaviness)
    if heavyMode then startHeavyForce() end
end)

-- Initial setup
wait(1)
originalJump = humanoid.JumpPower
applyHeaviness(10)

Features & Information

change your KG or sum

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts