How to freeze a person for 5 seconds then after that it thaws the person in a script.
local character = game.Workspace.Player1:GetChildren() waitTime = 5 for i,v in pairs(character) do -- we get all the parts of the Player1 model if v.ClassName == "Part" then -- we check if its a Part v.Anchored = true end wait() end wait(waitTime) for i,v in pairs(character) do -- we get all the parts of the Player1 model if v.ClassName == "Part" then -- we check if its a Part v.Anchored = false end wait() end
Good luck mate