Hello recently I needed to detect when a player is dead or alive.
This comes handy with a if statement I was creating.
I have used and seen this function in the past.
Im glade your good at building because it seems scripting is not a good look for you.
Jokes aside, this would never work due to lua’s syntax and the way lua is structured also I made it clear im not looking to use Char.Humanoid.Died:Connect(function().
if it’s on the server then I don’t believe exploiters can spoof HumanoidState though I may be wrong according to other people, also I don’t see what’s wrong with the current code you have
Hey, that isn’t very kind of you. I am still learning and you shouldn’t have judged me like that.
Please don’t make a joke out of my experience. It’s never funny.
Anyways, humanoid:GetState() Seems to be the most effective way of getting the state.
if it is a localscript, yes, it it is exploitable on the client. Only serversided scripts are anti exploitable. You could get an anticheat to make it unexploitable.