I am currently setting up my shop gui, and need to know how to detect a purchase (the buttons are already wired to prompt a purchase), and use the information from that purchase to create a text UI displayed on all players' screens.
The sequence is basically:
Prompt Purchase (know how)
They Purchase it (know how)
Detect the purchase (don't know how)
Use the information from the detection (don't know how)
Create a text UI displayed on all players' screens saying "(Player) has bought "(Product)"
If anyone can provide part of the script or a full script, it would be greatly appreciated!
