Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Why is this not working? [closed]

Asked by 9 years ago

Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.

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)
0
You need to explain your question. What is this supposed to do, What's (not) happening? What should be happening? Are there any outputs..? PredNova 130 — 9y
0
1.What does this script do? 2. Where is the Error? 3.Are there anything in the Output? woodengop 1134 — 9y

Closed as Not Constructive by Sublimus and Redbullusa

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?