📜  如何播放动画 roblox - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:29.783000             🧑  作者: Mango

代码示例2
--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()