Also, let me know whether this is just a Roblox studio thing here is my code for leaderstats
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = leaderstats leaderstats.Name = "leaderstats" leaderstats.Parent = player local Thiccness = Instance.new("NumberValue") Thiccness.Name = "Thiccness" Thiccness.Parent = leaderstats local rebirths = Instance.new("IntValue") rebirths.Parent = leaderstats rebirths.Name = rebirths local dataFolder = Instance.new("Folder") dataFolder.Name = player.Name dataFolder.Parent = game.GetService("ServerStorage").RemoteData local debounce = Instance.new("BoolValue") debounce.Name = "Debounce" debounce.Parent = dataFolder end)
btw making a simulator game so that's why I put the debounce there
Remove Line 4 as its causing your code to error.