so im trying to make a combat and when im trying to make block i want it to stop but it wont stop...????
wait(.1) plr = script.parent.Parent.Parent char = plr.Character rs = game.ReplicatedStorage anims = rs.Animations remote = rs.Remote idlea = anims.FistIdle blocka = anims.FistBlock block = remote.urmomgae equip = remote.equip tool = script.Parent -- spacing equip.OnServerEvent:connect(function(player, thingy) local f = char.Humanoid:LoadAnimation(idlea) if thingy == false then f:Play() end if thingy == true then for i,v in pairs (char.Humanoid:GetPlayingAnimationTracks()) do v:Stop() end end end) block.OnServerEvent:connect(function(player, bool) local blockplay = char.Humanoid:LoadAnimation(blocka) if bool == true then blockplay:Play() else if bool == false then blockplay:Stop() end end end)