I'm making a game, and I wanted to make a game pass for it. I created a part and made a keycard shape and then watched a few videos to learn how to do it. None of them worked. Basically what I've done is I've saved the model of my keycard, and I've also created the game pass. I just need help making a script that works and does the following:
Checks if the game pass has been bought by a player joining the game. If it has, then give the tool to the player. If not then just do nothing and they don't get the tool.
Hopefully, someone has a solution for this because I'm new to scripting.

2 comments
This is the error message it gave me 20:57:15.153 - Attempt to connect failed: Passed value is not a function 20:57:15.153 - Stack Begin 20:57:15.154 - Script 'ServerScriptService.Script', Line 17 20:57:15.155 - Stack End 20:57:15.155 - attempt to call a nil value
Is game.ServerStorage just the ServerStorage?