For my cafe I have made a drink animation and a script that plays the animation. The animation works perfectly fine in studio but not in the actual game. Does anyone know why it will only work in studio not the real game?
This is my code for the animation to play.
local Tool = script.Parent local EatAnimation = Tool.EatAnimation Tool.Equipped:Connect(function(Mouse) Tool.Activated:Connect(function() local Character = Tool.Parent local AnimationTrack = Character.Humanoid:LoadAnimation(EatAnimation) AnimationTrack:Play() end) end)
I was thinking it would be something about the client of the player? My scripter couldn't even fix it and was very confused.