Board Thread:ROBLOX help and discussion/@comment-26257480-20170311230620/@comment-30425714-20170312221824

Thundermaker300 wrote: =player = game.Players.LocalPlayer function onClicked player.Humanoid.MaxHealth = 1000 script.Parent.Parent.Parent.Frame1.Visible = false script.Parent.Parent.Parent.Frame2.Visible = false script.Parent.Parent.Parent.Frame3.Visible = false script.Parent.Parent.Parent.Frame4.Visible = false end script.Parent.MouseButton1Down:connect(onClicked) = local frames = script.Parent.Parent.Parent --makes it faster to call Frame(number) than script.Parent.Parent.Parent.Frame(number) player = game.Players.LocalPlayer --shorter way of activating onClicked script.Parent.MouseButton1Down:connect(function player.Character.Humanoid.MaxHealth = 1000  player.Character.Health = 1000 --comment line of code if you don't want to immedeatly make the player's health 1000  frames.Frame1.Visible = false --frames is the same thing as script.Parent.Parent.Parent  frames.Frame2.Visible = false  frames.Frame3.Visible = false  frames.Frame4.Visible = false  end) More efficient script above.

Error was that you didn't call character after player, so you couldn't acces humanoid.