RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"when they walk up to the part When they walk up to the wall they freeze"
-- script for freezing part local part = script.Parent local function freezePlayer(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local humanoid = player.Character:FindFirstChild("Humanoid") if humanoid then humanoid.WalkSpeed = 0 wait(3) humanoid.WalkSpeed = 16 end end end part.Touched:Connect(freezePlayer)