how to animate player in roblox script code example
Example: how to amke a Playanimation script for roblox stuio
--Made by Rigby#9052
--Put The "Animation" in This Script & Then.
--Insert this into your character.
local hum = script.Parent:WaitForChild("Humanoid")
local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation"))
anim.Looped = true
anim:Play()