Need help on a script for a gamepass

Hey.

im having a problem in making a gamepass of “become the hero”, where when the player buys it, he is weared a different accessory, different quests, different cutscenes and spawned in a different map. if someone awnsers with the following question i will likely appreciate it. Thank You :slightly_smiling_face:

When you normally giving the player an accessory/quest/cutscenes, check if they own the gamepass, if they do then instead of giving them the normal features give them the features they paid for, and ye, you can use the MarketplaceService function UserOwnsGamePassAsync(UserId, GamePassID) to know if the player owns the gamepass.

Is this a request or a question about your scripts… I’ll help you get your scripts working. If you want me to design the whole thing, that hardly comes for free.

Scripting Support is to ask for help, OP should learn not just copy-paste scripts.

I can design the whole thing too, but i want to guide the OP to learn everything while doing it.

I never said I would design anything. I said that would not come for free (by most anyone).
What did you read there? … This here is starting to be most every “Question”.

@zpapapn
If you need to stumble a bit then stumble and post it. I can work with that here.
By the rules of this forum, I actually can’t even start to answer that as posted.

I would recommend asking a better question examples:

  • How could I change the players accessories
  • How should/could I make a quest system that allows me to change the players quests based on values
  • How to check if player owns gampass

Also, I would at least come with some type of code like others have said:

Everyone here is most happy to HELP fix or optimize a script for you. Yet, coming on here asking for someone to make it for you shows a sign of laziness. If you want someone to make you script you should look on other places to HIRE and PAY for someone to make it.

Didn’t mean to jump on you or anything … just post a stumble, we can take it from there.

yes well, i didn’t really say it like that i suppose, i am also aware that spoonfeeding isn’t allowed in the devforum, what i actually ment is a simple explanation or like if it should be
all in 1 script.

Well, you can detect if the player owns the gamepass. You can invent some way to turn the player into the hero. Let’s say you have a button in the user interface. When you click it, it will check if the player has the gamepass (else prompt them the gamepass to purchase it) If they have it, then in the same script you can make a CharacterAdded signal which will change their accessories and will teleport them where your hero map is. Idk about the quests and cutscenes tho, that’s up for you.

You can use PromptGamePassPurchase to prompt a gamepass purchase.

You can store the seperate accessory in ReplicatedStorage.

For the quests and cutscenes, you could add a seperate folder called “Special Cutscenes / Quests”

When the player spawns, you can use PlayerHasGamepassAsync to detect if they have the gamepass. If they do, spawn them in a different location.

Contact me if you still need help.