Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a double jump gamepass?

Asked by 4 years ago

I want to make a double jump gamepass. Here is the script! Please Tell me where I made a mistake!

001local gamepassId = 12077225 --- whatever your gamepass id is
002local mps = game:GetService("MarketplaceService")
003 
004game.Players.PlayerAdded:Connect(function(plr)
005    if mps:UserOwnsGamePassAsync(plr.UserId,gamepassId)then
006 
007local UserInputService = game:GetService("UserInputService")
008 
009local localPlayer = game.Players.LocalPlayer
010 
011local character
012 
013local humanoid
014 
015 
View all 103 lines...

Answer this question