local script
local RS = game:GetService("ReplicatedStorage")
local doges = 0
RS:WaitForChild("dogecaptured").OnClientEvent:Connect(function(player, sus)
local doges = doges + 1
player.PlayerGui.Doges.ImageLabel.TextLabel.Text = doges
print(doges.. " " .."Doges")
end)
script
if sus.Parent.Humanoid.Health == 0 then
sus.Parent.Head.Wow.Playing = true
RS.dogedamageclone:FireClient(player, sus)
end

7 comments
do you mean :FireAllClients ()?
oh yeah ill try that
still doesn't work
Is the script portion the whole script or is the If statement in a loop?
the script is a portion and it does something when tool is used
Tip: try putting print("*insert something short here") between every line to see when it stops working.
@epoke466 nothing works in local script