So I made a leaderstats script and I want to access it into another script is this possible here is my code.
game.Players.PlayerAdded:Connect(function(plr) local ls = Instance.new("Folder") ls.Parent = plr ls.Name = "leaderstats" local Levels = Instance.new("IntValue") Levels.Parent = ls Levels.Name = "Levels" Levels.Value = 0 end)
In other script refer to it as a leaderstats for example:
Player:FindFirstChild("leaderstats")