Hello, I’m trying to make a custom sitting animation. But I have encountered a problem. When I test the game. It works fine, I’m sitting in the animation I have made, but when other people try sitting, it uses the default sitting animation. I can’t find any solutions to 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.wally)
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)
My screen:
Other screen: