Okay, So basically I made a chair model, with a seat, inside the seat is a script, and inside the script is a animation.
So the script is
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.Seated:Connect(function()
local animationtoplay = hit.Parent.Humanoid:LoadAnimation(script.Animation)
animationtoplay:Play()
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
while wait() do
if Player.Character.Humanoid.SeatPart == nil then
animationtoplay:Stop()
print("made by yealetfng please dont steal")
end
end
end)
end
end)
it all works yet whenever you go to a different seat it wont play that animation in that seat it will play the animation of the seat you first sat in.
if anyone can help me with this would be greatly appreciated!

2 comments
does the other seat have a different animation script?
yes each seat has a different animation ID in it