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

I am trying to make a point system but it wont load the amount. Did I do anything wrong? [closed]

Asked by 4 years ago
01local DataStore = game:GetService("DataStoreService")
02local PointsData = DataStore:GetDataStore("PointsData")
03 
04game.Players.PlayerAdded:Connect(function(plr)
05    local Points = Instance.new("NumberValue",plr)
06    Points.Name = "Points"
07    local Data
08 
09    local success, message = pcall(function()
10        Data = PointsData:GcetAsync(plr.UserId.."-Points")
11        plr.Points.Value = Data
12    end)
13 
14    if success then
15        print("Success")
View all 32 lines...
0
Yes, you put gcetAsync instead of getasync. KamKam_AJHasBeenBan 37 — 4y
0
10th line. you've been put GcetAsync instead GetAsync. TheEagle722 170 — 4y

Closed as Not Constructive by JesseSong

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?