seat = script.Parent
function added(child)
if (child.className == "Weld") then
human = child.part1.Parent:FindFirstChild("Humanoid")
if human ~= nil then
anim = human:LoadAnimation(seat.sitting)
anim:Play()
end
end
end
function removed(child2)
if anim ~= nil then
anim:Stop()
anim:Remove()
end
end
seat.ChildAdded:connect(added)
seat.ChildRemoved:connect(removed)
I followed a tutorial for sit animation, it doesn't work. Basically whenever I sit in the seat, it doesn't play the animation. Someone help! (animation is R15)
