Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

game.Players.(name).leaderstats.(gamecurrency).Value=(how much money u want)? to accept my question

Asked by 1 month ago

so i watched AlvinBloxs series on how to make a roblox game and i made the game so i enter the game and write the command "game.Players.(name).leaderstats.(gamecurrency).Value=(how much money u want)" to give me money and it gives me the error "players is not a valid member of datamode1" wut do i do?

1 answer

Log in to vote
2
Answered by
VAHMPIN 265 Moderation Voter
1 month ago
Edited 1 month ago

You do

game.Players.AdamOOFLol.leaderstats.(your stat name here).Value = 10

You should learn about basic lua before doing data stores as it can be a bit complicated, especially if you make a common scripting error like that.

Ad

Answer this question