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
game.Players.PlayerAdded:connect(function(p) -- Function P p.CharacterAdded:connect(function(c) -- Function C if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, 6391479) then c.Humanoid.JumpPower = 200 -- [V] elseif not game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, 6391479) then c.Humanoid.JumpPower = 50 end end) end)
Try this
Alright, I've found the answer! Here's the script if anyone needs to use it. It seems to be working.
game.Players.PlayerAdded:Connect(function(plr) if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(plr.UserId, 6391479) then --Change to your gamepass id while wait(0.5) do plr.Character:FindFirstChild("Humanoid").JumpPower = 100 -- Change 100 to the Jump power you want, default is 50. end end end)