I have code below that for some reason doesn't seem to work for my gamepass, any ideas why it doesn't? Thanks!
function Close(player)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, 6391479) then
game.Players.PlayerAdded:connect(function(p) -- Function P
p.CharacterAdded:connect(function(c) -- Function C
c.Humanoid.JumpPower = 200 -- [V]
end)
end)
else
game.Players.PlayerAdded:connect(function(p) -- Function P
end)p.CharacterAdded:connect(function(c) -- Function C
c.Humanoid.JumpPower = 50
end)
end

5 comments
I think else if not is not needed. Just do else.
I'll try this :)
no elseifis not needed, all that is needed is else return end
Used the script SunxLightz suggested and got the error "W001: Unknown global 'Player'." How should I correctly define Player?
change Player to p