I'm trying to make this script give out cash to everyone when owner joins the game.
for i, v in pairs(game.Players:GetPlayers()) do -- gets all the players
if v.Name == "A1exTatum" then -- finds the owner
v.leaderstats.Cash.Value = v.leaderstats.Cash.Value + 20 -- gives out cash
end
end

2 comments
regular script or, local? i would assume regular but, just making sure
Nvm got it working, Thanks!