i made some custom character and its not respawning when i die, how do i can make them respawn?

local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char.Humanoid
local HP = hum.Health
local MaxHP = hum.MaxHealth

if HP<=0 then
	plr:LoadCharacter(char)
end

i made this but dont work

4 comments

0

Did you disable the 'CharacterAutoLoads' property under 'Players'?

0

i dont think so, but if i disabled it..?

0

your script: If 100 is less than zero then: load nothing

0

yea '-' and if its less than 0 load the character, but not work