RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a time stop with comments"
-- local script local player = game.Players.LocalPlayer local character = player.Character -- This is the time stop function. function timeStop() -- Stop all motion. for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.Velocity = Vector3.new(0, 0, 0) end end -- Stop all animations. for _, animation in pairs(character:GetPlayingAnimations()) do animation:Stop() end end -- Connect the time stop function to the player's jump button. player.Character.Humanoid.Jump:Connect(timeStop)