Hello, actually I’m trying to do a game with sit animations, and the problem is that the animation only work in the Roblox Studio.
I used this script:
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.sitanim)
anim:Play()
end
end
end
function removed(child2)
if anim ~= nil then
anim:Stop()
anim:Remove()
end
end
This sounds weird, but if you upload it to your group it wont work in your own games - if you upload it to yourself it wont work in your group games. This is the only real occurrence where it works in studio but not in game.