The animation plays for a split second, but then turns into a normal sit animation…
local sitAnim = 05113437449
local seat = script.Parent
local playingAnim
local newAnim = Instance.new("Animation")
newAnim.AnimationId = "rbxassetid://"..sitAnim
seat.Changed:Connect(function(property)
if property == "Occupant" then
local occupant = seat.Occupant
if not occupant then if playingAnim then playingAnim:Stop() return end end
playingAnim = occupant:LoadAnimation(newAnim)
playingAnim:Play()
newAnim.Looped = true
end
end)
help would be appriciated.