No data store scripts are working

All data scripts are not working. I tried doing one myself by doing its a simple one but still didn’t work.

local DSS = game:GetService("DataStoreService")
local DSS = game:GetService("Coins")

but the problem is I already have currency thats why I can’t use this.
I also tried using @alvin_blox tutorials but I couldn’t find any one that fits in with not adding othe leaderstats onto the on I already have.

I have been searching all over youtube and google just to find a decent data store tutorial.

Help needed

The problem is that you’re incorrectly calling DataStore. Also, you’re calling GetService on Coins, which does not exist. I suggest you replace the code you provided us with the one below.

local Scope = "Coins"
local DataStore = game:GetService("DataStoreService"):GetDataStore("Stats",Scope)

I would still recommend you check out the articles below and look at their examples on using DataStore.

  1. DataStore
  2. Saving Player Data
3 Likes