I have not played in a while and I forgot.
COMMUNITY QUESTION
How do i detect a players health?
1 answer
I figured it out.
Local script:
local plr = game.Players.LocalPlayer
local h = plr.Character:WaitForChild("Humanoid")
h.Changed:connect(function(s)
if h.Health <= 0 then
print("Dead Boi")
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
