So, I'm trying to animate a tool, for some reason the animation will only replicate on the screen of the player who has the tool equipped.
Code:
local Tool = script.Parent wait(1) local HoldTrackAnim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.ShotgunHoldAnim) HoldTrackAnim.Priority = Enum.AnimationPriority.Action local Equipped = Instance.new("BoolValue", script) Tool.Parent.Equipped:Connect(function(Mouse) Equipped.Value = true while Equipped.Value == true do HoldTrackAnim:Play() wait(1) end end) Tool.Parent.Unequipped:Connect(function() Equipped.Value = false HoldTrackAnim:Stop() end)