Ok so. I have just learn how roblox skinned meshes work. And i have made a skinned mesh with an animation.
I want the animation to loop in game but the** animation is not playing**.
I have inserted a humanoid into the model where the mesh are so the animation should play.
Here is the script I made:
local animation = script:WaitForChild("Open")
local Mesh = script.Parent:WaitForChild('Cabinet')
local OpenAnim = Mesh:LoadAnimation(animation)
while true do
OpenAnim:Play()
wait(3.20)
end
as you may see, the mesh is a cabinet that should open when you hit play but nope.
