Disable god mod and spawn

Hello,
I need your Help because i wan’t to disable the god mod and restricting the spawn of items.
More, my player don’t take damage when he should have.
Thanks

Sorry for my English i am French.

Is this in singleplayer or multiplayer?

this is a multiplayer gamemode.
the derive gamemode is a sandbox
thanks

See these two functions on wiki :
Player:GodEnable()
Player:GodDisable()

Ok thanks you