So, i have tried making a gui show on death and its not working at all
i get a error that goes by this: “ServerScriptService.Death:4: attempt to index nil with ‘Humanoid’”
i have tried to fix it and dont know why this doesn’t work
heres the script (in ServerScriptService) also i have a gui in the script called “DeathScreen”
that is because the “old” humanoid is simply dead and nonexistent anymore you should use player.CharacterAdded:Connect (function(char) char:WaitForChild("Humanoid").Died and so on
so when you get respawned, basically you got a new body. so characteradded will do just that