You’re trying to get leaderstats from Players service.
You should instead try:
local Players = game:GetService("Players")
local leaderstats = Player:WaitForChild("leaderstats",100)
while true do
leaderstats.Money.Value += 1
local Data = game:GetService("DataStoreService"):GetDataStore("THEDATAREQUIRED")
local folder = Instance.new("Folder",plr)
folder.Name = "leaderstats"
local Money = Instance.new("NumberValue", folder)
Money.Name = "Money"
Money.Value = 0
local dataload = Data:GetAsync(tostring(plr.UserId))
if dataload then
Money.Value = dataload
game.Players:WaitForChild("leaderstats").Money.Value -- There was also an issue but due to not put "WaitForChild" because I don't know if this was an issue or not but it was and i decided to put :WaitForChild to have no errors and this worked.