f = game.Workspace:FindFirstChild("Humanoid",true)
if f.Parent.Name == "Player1" then
while true do
if f.Health <= 99 then
f.Health = f.Health + 1
wait(.01)
end
end
end
A very simple script to heal me when injured rapidly during Edit on ROBLOX, yet I can't fathom why f can't be found.

2 comments
One line one, the players spawns after the script runs. A simple fix would be adding like a wait(1) at the beginning of the script, but I would suggest using the player added event instead.
That helped, thank you. Now I must simply incorporate a loop into Player Added :/