This script worked a week ago however it no longer works as intended.
Quite a simple problem, the animations which are used when the player sits down suddenly stopped working, none of the seats play animations anymore, some seats even make the character do weird jerking motions, yes the animations priority is set as Action
Server Script
local AnimationID = 12709030298
local Seat = script.Parent
--\\//--
Seat:GetPropertyChangedSignal("Occupant"):Connect(function()
local Occupant = Seat.Occupant
if Occupant then
local Animator = Occupant:FindFirstChildOfClass("Animator")
if Animator then
local AnimationInstance = Instance.new("Animation")
AnimationInstance.AnimationId = "rbxassetid://"..AnimationID
local Track = Animator:LoadAnimation(AnimationInstance)
Track.Looped = true
Track:Play()
local function StopPlayingThread (PlayingTrack)
return function ()
Seat:GetPropertyChangedSignal("Occupant"):Wait()
PlayingTrack:Stop()
end
end
task.spawn(StopPlayingThread(Track))
end
end
end)
Im aware of the BlendFix issues, but the script was still working even after this update, it only stopped working about a week ago, so I doubt its this issue, however, im going to try and set the animation to Action4 and see if that works