It doesn't print anything, I'm having troubling finding that part the doesn't work. It's in a Local Script, located in the Player that died


Player = game.Players.LocalPlayer
Lives = 23

Player.Character.Humanoid.Died:connect (function ()
	Lives = (Lives - 1)
	print (Lives)
end)

1 comment

0

Where is the local script located? It will only work in the Character, PlayerGui, Backpack, or if you nil it starting from any of those locations.