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

0

do you mean :FireAllClients ()?

0

oh yeah ill try that

0

still doesn't work

0

Is the script portion the whole script or is the If statement in a loop?

0

the script is a portion and it does something when tool is used

0

Tip: try putting print("*insert something short here") between every line to see when it stops working.

0

@epoke466 nothing works in local script