local serverStorage = game:GetService("ServerStorage") game.Players.PlayerAdded:Connect(function() local Leaderstats = Instance.new("Folder") Leaderstats.Name = "leaderstats" Leaderstats.Parent = plyer local Strength = Instance.new("NumberValue") Strength.Name = "Strength" Strength.Parent = Leaderstats local dataFolder = Instance.new("Folder") dataFolder.Name = plyer.Name dataFolder.Parent = game.ServerStorage.RemoteData local debounce = Instance.new("BoolValue") debounce.Name = "Debounce" debounce.Parent = dataFolder end)
Hello, you basically forgot the player in your script. Here is the fix:
local serverStorage = game:GetService("ServerStorage") game.Players.PlayerAdded:Connect(function(plyer) local Leaderstats = Instance.new("Folder") Leaderstats.Name = "leaderstats" Leaderstats.Parent = plyer local Strength = Instance.new("NumberValue") Strength.Name = "Strength" Strength.Parent = Leaderstats local dataFolder = Instance.new("Folder") dataFolder.Name = plyer.Name dataFolder.Parent = game.ServerStorage.RemoteData local debounce = Instance.new("BoolValue") debounce.Name = "Debounce" debounce.Parent = dataFolder end)