Nevermind I found the error. Thank you guys.

4 comments

0

I don't think you can use MarketplaceService in LocalScripts.

0

I had it in a regular script earlier, but it still didn't work.

0

It may be that your hierarchy is wrong and it isn't actually going to the player?

0

Nope. The script is in a TextButton, which is in a ScreenGui, which is in the player's PlayerGui, which is in the player. 4 Parents.