What would be the best way to update Text when Data is changed

I have been wondering how to do so in a good way,

I first tried to make a remote event and launch it when player buys a devproduct (the event just updates the text to the current value) , but that wasn’t really a good method and didn’t work sometimes.
Any suggestions?

Depends on the Data, if you would like to update it once a value changes you could just do

Value:GetPropertyChangedSignal("Value"):Connect(function()
    -- Code here
end)

But if it is about devproducts, I suggest you handle the devproduct bought event on the client too and it should work

In this post I was talking about datastores, I forgot to mention it apparently.
I decided to load the data to values inside of the player so the client can see it

Yup, that should be one of the best ways to do it.