Simple as it is in the question.
I've seen some games do it and I want to do a revive script using defribilators. How do I do that? Sorry for the request
On a local script:
local player = game.Players.LocalPlayer player.CharacterAdded:connect(function(char) char:WaitForChild("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false) end)
This will literally make you unable to die (how cool is that!). With this being set, all you have to do now is have your revive script trigger whenever your character's health reaches 0.
You can also manipulate other HumanoidStateTypes.
Hope this helps!