Modern Character Freeze / Anchor Script
press ' to activate anchor mode! and it will freeze the character or anchor it in the game. also its an open source so it will work with most of the executors.
-- Modern Character Freeze / Anchor Script
-- Toggle Key: ' (Single Quote)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
-- Configuration
local TOGGLE_KEY = Enum.KeyCode.Quote
-- Core State
local isFrozen = false
-- Function to Toggle Freeze State
local function toggleFreeze()
local char = player.Character
if not char then return end
local hrp = char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("Torso")
local humanoid = char:FindFirstChildOfClass("Humanoid")
isFrozen = not isFrozen
if hrp then
-- Anchoring Root Part stops all physical movement and knockback
hrp.Anchored = isFrozen
end
if humanoid then
-- Disable jump while frozen to prevent animation glitches
humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, not isFrozen)
end
end
-- Keybind Listener
UserInputService.InputBegan:Connect(function(input, processed)
-- Skip if actively typing in chat or a menu textbox
if processed then return end
if input.KeyCode == TOGGLE_KEY then
toggleFreeze()
end
end)
-- Unfreeze if character respawns
player.CharacterAdded:Connect(function()
isFrozen = false
end)
Use Copy to open this script's copy page in a new tab.
Universal
Universal
Universal
Universal
Universal
Universal
Boosting rockets this script to #1 on the homepage. A free account takes 30 seconds.
Log inGrab boosts and rocket your favorite scripts to the top — plus join the booster wall with the RGB ring.
⚡ Go Pro — 10 boosts/month + zero adsIt jumps to #1 in Recent Scripts and your avatar joins the booster wall.
Comments (0)
Log in to add a comment.