I have a localscript inside of StarterPlayerScripts that fires a remote event under a script when the player's humanoid dies.
game.ServerScriptService.HPincreaseGiver.RemoteEvent:FireServer()
It works in the Studio test but when the game is run on the Roblox servers it gives this error
"Players.XXXlawsonXXX.PlayerScripts.LocalScript:4: attempt to index a nil value"
