Description

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.

Features

  • + Cant get flinged

Supported Executors

Xeno Potassium

Script

Add Xeno Scripts as a preferred source
-- 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)
Script worked? 🚀 Boost it to #1 so others find it too.

Comments (0)

Log in to add a comment.