Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I tag a player/character in general?

I have a gun script that does not tag the player and therefore does not count kills

1 comment

0

..What?

1 answer

✓ Accepted answer

Personally, my favourite way is to check if they died after dealing the damage.

Example:

human:TakeDamage(40)

local tag = human.Died:Connect(function()
--this will run if you inflicted the final hit
end)

wait(0.1)

tag:Disconnect()

3 comments

0

what does "human" mean?

0

human is the humanoid you're trying to damage

0

How do I make it so it counts as a kill for the player

This discussion is preserved as it was. New answers, comments, and votes are closed.