#freeze character

1 messages · Page 1 of 1 (latest)

brave oxide
#

hey guys i made this simple ui for my menu but i want to make sure you cant move while in the menu can someone help me do that please

normal jacinth
#

or anchor hrpr ig

brave oxide
#

where can i get hrp from workspace

#

like game.workspace.something

south onyx
#

HRP is in the player character

brave oxide
#

This doesn't work anyone can help

rich goblet
#

instead of wait do local char = player.Character or player.CharacterAdded:Wait()

brave oxide
#

ok i find a way to do it

#

wait(.5)
for _, character in pairs(workspace:GetChildren()) do
local hrp = character:FindFirstChild("HumanoidRootPart")
if hrp and hrp:IsA("BasePart") then
hrp.Anchored = true
end
end

halcyon dagger
rich goblet
#

oh 😭

timid valve
brave oxide
#

cause i'll add a teleport box like the elevator in doors and it will be easier to do this way than check if the player is in the menu to let him enter or not

timid valve
#

k