I’m making an Admin Command script known as “god” which gives the player the health of “math.huge”.
The issue is that having math.huge health won’t work when working with parts or weapons that set the Humanoid’s Heath to reason. I want the player who has math.huge health even when they touch a part that sets the player’s health to zero.
If you don’t get what I mean, then here’s an example:
Me: I used the god admin command which gave my humanoid math.huge health Kill Part: Has a script that kills players using this: Humanoid.Health = 0 Issue: A player with math.huge health would die if they touch a kill part that sets their health to zero.
Question: Is it possible to make a player completely invincible? If so, how would make a god command for that?
This may be a stupid question, but you never know ¯\_(ツ)_/¯ .
Please note that I’m not asking a complete script or system for me. I just need to know if this is possible and how I could do this
Alternatively, you could just use Humanoid:TakeDamage(X), where X is some arbitrary number over 100 (or whatever their maximum health will be.) This’ll prevent people dying while they have a ForceField.