of     1   

cocoaboys
#221174189Thursday, July 13, 2017 1:13 AM GMT

Hey! I am just wondering how I could run a code after a player respawns (for example by using an event). I tried this technique - http://wiki.roblox.com/index.php?title=API:Class/Humanoid/Died - but it didn't work.. And FYI, my script is a LocalScript inside the StarterPlayerScripts. I was thinking about changing the player's health to for example 30 after he/she respawns. Any suggestions on how I could do this?
cocoaboys
#221175525Thursday, July 13, 2017 1:31 AM GMT

Bump
cocoaboys
#221200155Thursday, July 13, 2017 8:39 AM GMT

Anyone?
Brick_man
#221200253Thursday, July 13, 2017 8:42 AM GMT

local Player = game.Players["YourNameHere"] Player.CharacterAdded:connect(function(character) character:WaitForChild("Humanoid").MaxHealth = 30 character:WaitForChild("Humanoid").Health = 30 end) ~ Brick_man, Owner of Brickman Nation ~

    of     1