A tool localscript that keeps getting this error in game. Not in studio, even when testing. But for some reason it bugs when playing the actual game. Heres the script
local player=game.Players.LocalPlayer local chara=player.CharacterAdded:wait() local toolModel=script.Parent local handle=toolModel:WaitForChild("Handle") flagstop=true toolModel.Equipped:Connect(function() Atkanim1=chara.Humanoid:LoadAnimation(script.Parent.Animations.Atk1Anim) end) toolModel.Activated:Connect(function() if (flagstop) then print("Working") Atkanim1:Play() flagstop=false wait(toolModel.Config.atk1dla.Value) flagstop=true end end)
and heres the client error when playing the game
21:06:16 -- Animation "rbxassetid://4249636404" failed to load in "Workspace.elitekiller2342.MactinV1.Animations.Atk1Anim.AnimationId": Animation failed to load
This isn't a group creation but it is however a team creation(and im not the owner). Not sure if that matters but hey idk.
The problem is: The animation is not owned by you. Yeah, I find team create buggy sometimes, and developing at a group game is defiently much better than in team create. But if that's not possible, the only way to work together is by using team create. (Databases gets messed up in team create as well)
If you want to test the animatoins, you'll need to upload the animations yourself, and use the IDs that your newly uploaded animations have.
Hope this helped you and continue on scripting! ^^