so there was first a problem with character addd or so i got that error gone with wait but then it still does not work tried doing 2000 health for clearer results and it was indeed not working and there are no errors so i dont know whats the problem it may be how i made the health part but otherwise i dont know
local function giveGamepassPerks(player)
if player.character then local humanoid = player.Character:WaitForChild ("humanoid") humanoid.Health = 200 end player.Characteradded:connect(function(character) local humanoid = player.Character:WaitForChild ("humanoid") humanoid.Health = 200 end)
end
There are a lot of errors in the capitalization of your script. But I'll help you fix them
local function giveGamepassPerks(player) if player.Character then local humanoid = player.Character:WaitForChild ("Humanoid") humanoid.Health = 200 end player.CharacterAdded:Connect(function(character) local humanoid = player.Character:WaitForChild ("Humanoid") humanoid.Health = 200 end) end