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

Can Someone Explain to me why Tries is not being put into the folder, or "leaderstats"?

Asked by 6 years ago

Every other stat works perfectly fine but Tries won't show up in the folder.

local DataStore = game:GetService("DataStoreService") local ds = DataStore:GetDataStore("CashSaveSystem") local ds2 = DataStore:GetDataStore("LevelSaveSystem") local ds3 = DataStore:GetDataStore("XPSaveSystem") local ds4 = DataStore:GetDataStore("TriesSaveSystem")

game.Players.PlayerAdded:connect(function(player) local leader = Instance.new("Folder",player) leader.Name = "leaderstats" local element = Instance.new("IntValue",leader) element.Name = "element" local level = Instance.new("IntValue", leader) level.Name = "level" local exp = Instance.new("IntValue", leader) exp.Name = "exp" local Tries = Instance.new("IntValue", leader) Tries. name = "Tries"

0
Tried capitalising the N in Tries.Name? Amiaa16 3227 — 6y
0
By the way you should put your code in a code block to make it easier for us to read. User#21908 42 — 6y

Answer this question