Greetings all! Can Someone help with a script regarding animations in tools?
Asked by
4 years ago Edited 4 years ago
Thanks for reading this, and i will give an example of the script, but I need some help with a script about animations. (specifically when you hold the tool and it plays an animation, aka - Tool Idle animation) When i hold the tool, it does play the animation, so it would seem fine, right? Wrong, the animation only plays for the holder, aka it would seem the animation is client-sided only, and this is the problem im having.
The Script:
01 | local tool = script.Parent |
02 | local anim = Instance.new( "Animation" ) |
05 | tool.Equipped:Connect( function () |
06 | track = script.Parent.Parent.Humanoid:LoadAnimation(anim) |
07 | track.Priority = Enum.AnimationPriority.Action |
11 | tool.Unequipped:Connect( function () |
Can i please get some help from one of you wonderful scripters out there! :)
I would greatly appreciate it and take care in these lockdown times..