how i make that when i click a button it get 2 button.parent:waitforchild("stringvalue1")"<this is the price" and button.parent:waitforchild("stringvalue2")"<this is the amount that i ever purchased" when i click the button it gets the value inside the strings and they name and send with a remote to a server script, in the server it will make the player pay the price and add +1 for the stringvalue2, and makes the value of the stringvalue1 3X more expensive and the server saves and loads it, i already tried to do my self but it has a lot of bugs.
#upgrades
4 messages · Page 1 of 1 (latest)
bugs and exploitable like butter
also instead of saving values like that use a module script that can be required both from client and server and then indexing from server to look up the info for the cost for example isn't exploitable
hm okay let me test it.