I'm making a game, and there are seats in cars which have custom animations, and when testing my game with friends they can't seem to see the animation, just me standing up.
I need to somehow fix this issue, any help?
---SCRIPT---
local seat = script.Parent
local lastOc
seat.Changed:Connect(function(prop)
if prop == "Occupant" then
if seat.Occupant then
local oc = seat.Occupant
local anim = script.Parent.Animation.AnimationId
oc.Parent.Animate.sit.SitAnim.AnimationId = anim
lastOc = oc
end
if not seat.Occupant then
if lastOc then
lastOc.Parent.Animate.sit.SitAnim.AnimationId = "http://www.roblox.com/asset/?id=6315866907"
end
end
end
end)
(If this is a problem, the animations are owned by me but the game is owned by my group, is that a problem?)

4 comments
Yes that is a problem, the group needs to own the animations. Do YOU see the animation?
Yes, I do
Oh, it works now, thanks!
An simple answer: