Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to change value through script?

I am trying to make a brick that adds 1 win to your board, but I have never used leaderboards before and dont really understand how to modify the value. I tried using some code and modifying it from another forum post but that didn't work.

1 comment

0

You should learn about leaderboard before trying complex stuff heres a link https://developer.roblox.com/en-us/articles/Leaderboards

1 answer

So, if you want to change the value, lets say its in leaderstats, you do

game.Players.Player.Leaderstats.EpicValue.Value = whatever you want

2 comments

0

This doesnt seem to work for some reason. I am trying to do it with a touch brick

0

Oh

This discussion is preserved as it was. New answers, comments, and votes are closed.