Hello, I currently have this script which makes the Character sit when there health is at a certain point, how do I make it so they cant be killed when they are sitting? And is there a way to make it so a small message pops up on their screen that says " You have been downed" this message will go away in 5 seconds.
local plr = game.Players.LocalPlayer
repeat wait()
until plr.Character
wait()
local char = plr.Character
char.Humanoid.Changed:connect(function()
if char.Humanoid.Health <= 50 then
char.Humanoid.Sit = true
else
print(char.Humanoid.Health)
end
end)
