I need to add god mode but a gamepass\
**local MarketPlaceService = game:GetService("MarketPlaceService ")
local PlayerBoughtThisGamePass = MarketPlaceService.UserOwnsGamePassAsync(Userid, GamePassiD)
if PlayerBoughtThisGamePass then
--THE GOD MODE
end**

8 comments
You can set the players health to infinite like, game.Players:GetPlayerByUserId(Userid).Character.Humanoid.Health = math.huge
Where do i put that
The bit where you have --THE GOD MODE
Do i change anything
no you just put that code in there
Because the script is underlining user id and gamepass id and i think it wrong could this work instead? : https://scriptinghelpers.org/questions/10875/how-to-check-if-a-player-has-a-gamepass-solved
Well thats because id assumed youd had gamepassid and userid referenced :3
Then can i use the link i send and replace the print value to what you said ~