of     1   

DelusionPandemic
#182926912Wednesday, February 03, 2016 8:28 AM GMT

local Player = game.Players.LocalPlayer function PlayerCheating(MaxHealth) if Player.Character.Humanoid.MaxHealth > 100 then print(Player.Name.." has increased health by "..Player.Character.Humanoid.MaxHealth) end end Player.Character.Humanoid.MaxHealth.Changed:connect(PlayerCheating) error code: 03:23:39.014 - Workspace.Script:9: attempt to index field 'MaxHealth' (a number value) 03:23:39.015 - Stack Begin 03:23:39.015 - Script 'Workspace.Script', Line 9 03:23:39.015 - Stack End
Tedgary009
#182926940Wednesday, February 03, 2016 8:30 AM GMT

Player.Character.Humanoid.HealthChanged:connect(PlayerCheating)
DelusionPandemic
#182926973Wednesday, February 03, 2016 8:33 AM GMT

Problem with that is that the health would rise up as well and the script will print the message more than once.
Tedgary009
#182927046Wednesday, February 03, 2016 8:40 AM GMT

local Player = game.Players.LocalPlayer function PlayerCheating(property) if property == "MaxHealth" then if Player.Character.Humanoid.MaxHealth > 100 then print(Player.Name .. " has increased health by " .. Player.Character.Humanoid.MaxHealth) end end end Player.Character.Humanoid.Changed:connect(PlayerCheating)

    of     1