Setting script:
while wait() do
local DataStore = game:GetService("DataStoreService"):GetDataStore(script.Parent.Name.."_"..script.Parent.Parent.Parent.Parent.Parent.Parent.Name)
wait(2)
DataStore:SetAsync("1", script.Parent.TextLabel.Value.Value)
print('datastore set')
end
Getting script:
game.Players.PlayerAdded:connect(function(player)
local DataStore = game:GetService("DataStoreService"):GetDataStore(script.Parent.Name.."_"..player.Name)
local yes = DataStore:GetAsync("1")
script.Parent.TextLabel.Value.Value = yes
end)

2 comments
You need to explain your question. What is this supposed to do, What's (not) happening? What should be happening? Are there any outputs..?
1.What does this script do? 2. Where is the Error? 3.Are there anything in the Output?