so I am pretty good at building but I'm trash at scripting so I apologize if something doesn't work at all. The script is supposed to recognize when robux is spent, then the script should check a folder in serverstorage titled "npcs" and get a npc called dummy and spawn it underneath a part called Spawner. I can't figure out how to get it to detect the purchase and spawn the npc. If needed I will add more description. Here is the script: https://pastebin.com/bjNehjK9
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.