Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to change value through script?

Asked by 4 years ago

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.

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

1 answer

Log in to vote
0
Answered by
WishXVI 94
4 years ago
Edited 4 years ago

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

game.Players.Player.Leaderstats.EpicValue.Value = whatever you want
0
This doesnt seem to work for some reason. I am trying to do it with a touch brick Kilonove 7 — 4y
0
Oh WishXVI 94 — 4y
Ad

Answer this question