I need to change the MaxHealth of a every player 30. I put a local script in the StarterPack with this code in it.
local name = script.Parent.Parent.Parent.Name
local person = game.Workspace:findFirstChild(name)
wait(5)
person.Humanoid.MaxHealth = 30
It's fairly simple, but it doesn't work I have no clue why, any help? What do I need to change?

4 comments
That is not at all right. You can name a variable whatever you would like, as long as it includes supported characters...
sorry i tried
StarterPack is great for scripts once you're a bit more advanced. It allows you to have mouse-based tools that don't need to be run through a tool, making it easier (and more interesting) to the player.
o... i did not know that