How To Make A Membership System

Great system! I attempted to input this into my comedy club.

It caused my game to crash. Not sure why. Every time I join with this system in the game it just never lets me pass the loading screen.

I tried on multiple devices to make sure it wasn’t just my pc but it seems to have crashed the game in general.

Could you let me know a way I could possibly fix this? Also, like it was said earlier in the replies it would be cool to maybe make a chat tag with this and also, how could I make a automatic group rank for this? Thanks.

EDIT: Also I’m not the best scripter so maybe it was an error on my part.

One question in regards to the game crashing, nobody has ever had this problem before, are you sure you followed the tutorial completely? If not, it may be because of another script in your game causing it to crash. I’m not really sure how automatic group ranks work, but you can probably search a tutorial for that on the devforum, or YouTube.

Hi sorry got a simple question how do you add into the script what the player gets from owning the membership.

This Is amazing I will Be using this in the feature

Which script do you mean?

If it is the GUI, place it in StarterGui.

If it is the script gone over in the tutorial, place that code into a Script in ServerScriptService.

If you want to check if the player has a membership, simply do Player.Membership.IsMember.Value to check (the value is true or false, depending on if the player has a membership)

Hi Mate sorry what i mean is if the player has a valid membership how do you script what they get from buying the membership for example plus coins, tools etc… thank you

Sorry for the late reply,
If you want to make a custom initial purchase reward, go to the ProcessReceipt function. You can add the initial reward code to the “Purchase Successful” section, since this is where it confirms that the membership was successfully purchased upon purchasing.

Hi! I was wondering how I could add multiple membership tiers? I don’t wanna mess up any scripts trying to figure this out lol

I know this is a really late reply, but for some reason at the 30 second check, it swaps back to the “IsMember” value being false, same when reconnecting to the game. Anyone know why this is?

2020 but still useful

(limit for devforum number of characters by @MasterAtTheWings)