how to disable animations roblox
-- Step 1: Get the player's character
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
-- Step 2: Loop through each descendant of the character
for _, descendant in pairs(character:GetDescendants()) do
-- Step 3: Check if the descendant is an Animation object
if descendant:IsA("Animation") then
-- Step 4: Disable the animation
descendant:Stop()
end
end