I assume there are probably some threads about this topic and I’m pretty sure I’ve made one in the past however how do I send data to the client when I need to update something? When the player first joins my game I send data to the client to like load stuff and display things, but then if the player makes a purchase or something I wanna be able to update their gold frame and in the shop I wanna update the new amount they own etc.
Like what I do is like when the player buys something I just as I do the purchase on the server I fire clients with the new gold cost, but then like yeah idk hopefully this makes sense lol. I thought maybe I could use like metatables and then just like when something inside the players data dictionary changes I can just fire the client and whatever, but i don’t think that would work.