RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create me a spell casting animation"
-- This mode only specializes in Animation scripts, please use another appropriate mode for getting better responses for this query -- Assuming you have a spell casting animation with the id "YourSpellCastingAnimationId" local humanoid = script.Parent local animation = Instance.new("Animation") animation.AnimationId = "rbxassetid://YourSpellCastingAnimationId" -- replace with your spell casting animation id local loadedAnimation = humanoid:LoadAnimation(animation) -- You can trigger this animation when you want your NPC to cast a spell loadedAnimation:Play()