local gampass_id = 35168372
script.Parent.MouseButton1Click:Connect(function() game:GetService("MarketplaceService"):PromptGamePassPurchase(game.Players.LocalPlayer, gampass_id)
end)
gamepass link: https://www.roblox.com/game-pass/35168372/thx
Use humanoid.JumpPower
to change it.
I made a script for you (server-sided):
01 | local gamepass_Id = 35168372 |
02 | local MarketplaceService = game:GetService( "MarketplaceService" ) |
03 |
04 | game.Players.PlayerAdded:Connect( function (player) |
05 | player.CharacterAdded:Connect( function (character) |
06 | if MarketplaceService:UserOwnsGamePassAsync(player.UserId, gamepass_Id) then |
07 | character:WaitForChild( "Humanoid" ).JumpPower = 50 -- Change to any amount you like |
08 | end |
09 | end ) |
10 | end ) |
Please research more on this before asking a question, as there are multiple sources that provide an answer to your question.
You can use this Roblox article to figure this out.