RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"when they walk up to the wall When they walk up to the wall they freeze"
-- server script local freezePart = game.Workspace.FreezeWall local function freezePlayerOnTouch(otherPart) local partParent = otherPart.Parent local humanoid = partParent:FindFirstChildWhichIsA('Humanoid') if humanoid then humanoid.WalkSpeed = 0 end end freezePart.Touched:Connect(freezePlayerOnTouch)