Can't create custom player class

Hi,
I create my own gamemode but can’t figure why my custom class don’t be applied to my player.
The health don’t change.
The files structure seems good to me.
Here my code and files structure


Thanks

I seem to be also facing the same issue. I don’t think we’re doing anything wrong, unless there is something the documentation isn’t mentioning.

I don’t know if this helps, but here is an example used by the DarkRP gamemode: DarkRP/sh_playerclass.lua at master · FPtje/DarkRP · GitHub
In my own opinion, I think you should set the health of a player in a PlayerLoadout or PlayerSpawn hook and not directly in this file.

I may be wrong and I suggest you to ask on the Garry’s Mod Discord.