Universal Script 📌
913 Views
49 Executions

Freeze And Thaw No Gui

Universal Script 📌
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

thaw and freeze

View Raw
local Players = game:GetService("Players")
local P = Players.LocalPlayer
local C = P.Character or P.CharacterAdded:Wait()
local H = C:WaitForChild("Humanoid")
local Hrp = C:WaitForChild("HumanoidRootPart")

getgenv().Freeze = true

local function Freeze()
	if not Hrp.Anchored then
		Hrp.Anchored = true
	end
end

local function Thaw()
	if Hrp.Anchored then
		Hrp.Anchored = false
	end
end

task.spawn(function()
	while true do
		if getgenv().Freeze then
			Freeze()
		else
			Thaw()
		end
		task.wait(0.1)
	end
end)



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
3.0M
14.6M
3 years ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM - MM2, FTF, Forsaken, etc.

Script hub
54
3
2 days ago
Key System
Script hub
194
8
2 days ago
Universal Script 📌
4.4k
26.6k
4 months ago
Script hub
1.3k
29
4 days ago
Key System