Gamepass script not giving player the tool

Hi i’m making a script that gives you a tool if you have a gamepass, but the script is just not working out right. And by that, I mean the game isn’t even going through the script. I’ve tried intentionally putting errors and literally nothing comes on the output. Any reason to why this is happening is really appreciated.

code:
image

4 Likes

Where is the script located?

If it’s not located in ‘workspace’ or not located in "ServerScriptService’, that could be why.

1 Like
  1. the script must be server in this case
  2. it must be located at serverscriptservice
1 Like

the script is in serverscriptservice

Yes sorry for not saying! the script is currently is serverscriptservice

The script is in serverscriptservice currently, but it’s not working at all. I’ve turned on all API and data store things and that hasn’t worked either. This has never happened before so I’m very confused.

it doesnt even print playeradded? please send me a screenshot of where the script is located rn

The only thing it does is print the playeradded actually, I added that right before I made the post.

script:

okay so assuming the script is gamepass, there is no watertool under it, maybe thats the problem?
if not then check if the id is right

1 Like

OH YES, the the ID i put was completely wrong, I got the game ID mixed up with the gamepass Id, thanks for the help LamSouls it really helped, man.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.