I am very close to figuring out a solution to making animation seats. The only thing I am missing in this script is what could I make the variable for LoadAnimation. How can I make it that it loads the animation on to the player when I use LoadAnimation. If that’s what this script is trying to do with LoadAnimation
local newAnim = Instance.new('Animation', script.Parent)
local sitAnim = 4958173036
newAnim.AnimationId ="http://www.roblox.com/asset/?id=" .. tostring(sitAnim)
local seat = script.Parent
local occupant = seat.Occupant
seat:GetPropertyChangedSignal("Occupant"):Connect(function()
if playingAnim == nil then
playingAnim = occupant:LoadAnimation(newAnim)
if occupant ~= nil then
playingAnim:Play()
if occupant == nil then
playingAnim:Stop()
end
end
end
end)