Any ideas? I tried using a normal script in ServerScriptService and it worked but the thing I'm doing kinda requires the script that detects if the player owns an asset to be in the Gui.
COMMUNITY QUESTION
Why doesn't the PlayerOwnsAsset function not work in a LocalScript in a Gui?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
It's because PlayerOwnsAsset executes an internal HTTP request to a ROBLOX service. Use a RemoteFunction!
No it's not. The method works client-side.