-
What do you want to achieve?
I want that only the number of Tokens increases and not all the values that I have in leaderstats (Tokens, Kills and Level) -
What is the issue?
Obviously every stat will increase by 10 since I do not know how to refer to a specific Value.
local DataStore2 = require(1936396537)
script.Parent.Triggered:Connect(function(plr)
local TokenDataStore = DataStore2("Tokens", plr)
TokenDataStore:Increment(10)
script.Parent.Parent:Destroy()
end)
The script I wrote above^
To avoid confusion ‘‘Tokens’’ is the name of the DataStore.