I know I can use MessagingService to change values between servers, but how would I keep that value forever, even on new servers made after the value changed?
How would I make it so a value changes on all servers including servers made after the value changed
use datastores to save it once the game closes.
local dss = game:GetService("DataStoreService")
local ds = dss:GetDataStore("ValueData")
local value = --value here
game:BindToClose(function(
ds:SetAsync("Value", value.Value)
end)
1 Like
Thank you, I found out right when you responded.