Gamepass Issues

I’ve been having trouble lately with my VIP gamepass benefits.

In a script I have a checking system to check each player that joins to see if they have the gamepass. If yes then it grants the benefits. One of my benefits is giving the player extra points to a leaderboard system.

I have a standard script that creates a leaderboard and gives all players 1 point every 60 seconds. When I try to switch the standard script with the VIP leaderboard script it seems to not give the points. These scripts are located in SSS (Server script service).
The 2 scripts
The standard script

I have tried making the VIP leaderboard script not make a new folder and INT value and go with the one the standard one made so it doesn’t trick the scripts but it doesn’t work. It is really hard to pin point the issuse because it seems to only create the error in game and not in studio.

Just in case i’ll post the VIP checking script here as well just in case that script is causing the error.

VIP checking script

This is not a very good way to do it. I would just recommend using the one script, but then checking if they own the gamepass every time you give them points, if they own it give them more points than normal. Having two scripts do this will not work (most likely) and is less efficient.

I don’t know why I didn’t think of this. Thank you!

1 Like