#Gamepass not prompting
1 messages · Page 1 of 1 (latest)
First of all is the function local?
yeah its a localscript
Also I remember localscripts don't work inside workspace
huh
Except in the character model or sum
Put it inside player scripts I suggest
Then locate the button with a tag or by finding it manually
why cant they just run in workspace 🙏
Idk
Ran into same issue
But it is not a big deal
Its just so much harder to organize
You can do one of these 2
If you have many different scripts with different functionalities for a bunch of GUIs
is this pretty good organizing
oh i forgot how to use moduel scripts
If they have very similar functionalities then run 1 script to make all of em work
Like for example my script here manages all the upgrade boards
Wait what do I need to do to make sure the player actually owns the gamepass before giving them access to the itempad
Uh you gotta check when he steps on it or sum from the server
If you buy the gamepass then do I use a serverscript for when the player steps on the itempad
then give item
Then there is like a command to check if a player owns gamepass
I made all my shi into products so idk the exact thing
playerownsgamepassAscgdxcch or something
why
Like gamepasses are products in my game
Much easier to manage em all in one place
Can players use exploits or extentions to buy devproducts out of the game
or only view
If you use a custom purchase system like we did then maybe they can exploit it smh if you made a mistake
But otherwise they can't
This is my code that works on my upgrade boards
It is a bit redundant but this is an example of what you could to do make all GUIs work
Is using PromptGamepassFinished bad? in a localscript