pc = 1 game.ReplicatedStorage.GiveFire.OnServerEvent:Connect(function(player) local char = player.Character local anim = Instance.new("Animation") local animd = Instance.new("Animation") local hum = char:WaitForChild("Humanoid") local animid = game.StarterGui.ScreenGui.Frame.Punch.AnimationId local animids = game.StarterGui.ScreenGui.Frame.PunchTwo.AnimationId anim.AnimationId = animid animd.AnimationId = animids local animat = hum:LoadAnimation(anim) local animatt = hum:LoadAnimation(animd) if pc == 1 then animat:Play() pc = 2 elseif pc == 2 then animatt:Play() pc = 1 end player.leaderstats.Firex.Value = player.leaderstats.Firex.Value + 1 end)
LOL, if u making group game, u need save animation to group animations