#227331325Wednesday, November 08, 2017 1:29 AM GMT
I'm a beginner and I'm not sure how to detect if a player's health is lower than 1
Is it like:
if (hum.Health <=1) then
--script
end
I don't know what I'm doing wrong :c (Script assuming you already created a variable for player's humanoid.)
#227331930Wednesday, November 08, 2017 1:48 AM GMT
personally i prefer
while true do
humanoid.Died:Wait()
--code
end
there's no point in having :Connect() since its only one thread, u can just do this and it'll do the same thing without taxing too much
#code error("you're*")