So basically I am working at a fighting game but I’ve wondered what would be the best way to kill a player (Needing to do it for whenever the round needs to end).
I’ve been testing somethings and I want to know which of those would be better.
Humanoid:TakeDamage will not damage humanoids that are protected with a force field. By setting the Health property directly you can bypass this. Not sure why you would want to use
regularly to kill a player. No need to reinvent the wheel. If you need to account for forcefields, use Humanoid:TakeDamage. If not, just Humanoid.Health = 0.
Edit: you probably should use Humanoid:TakeDamage to damage a humanoid but not necessarily kill it. That is kind of the whole point of it.