Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local currentvalue = game:GetService("ReplicatedStorage"):WaitForChild("NameOfValue")
- local ds1 = game:GetService("DataStoreService"):GetDataStore("String")
- local tag = 151503513540684
- wait(3)
- if ds1 then
- currentvalue.Value = ds1:GetAsync(tag)
- elseif not ds1 then
- ds1:SetAsync(currentvalue.Value, tag)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement