#Is my data script good for now?
1 messages · Page 1 of 1 (latest)
you can make it more efficient by using attributes, since the "Coins" are a instance it loads all that metadata stuff as well
how to make your incomplete datastore code more efficient? so... efficiency is more important than it being correct? .. well, i mean, it's not complete and you don't do anything blatently wrong so its efficiency is negligible. it's good enough.
maybe finish it before trying to make it more performant.
When u do
if success then try
if success and data ~= nil then
coins.Value = result or 0
else
coins.Value = 0
end
do the if and add ~= nil because if its the player first time joining it will be nil
i think you replied to the wrong person