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

How can I make this script edit the two LeaderBoards correctly?

Asked by 10 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
local LeaderBoard1 = game.Workspace. LeaderBoard1
local LeaderBoard = game.Workspace.LeaderBoard
LeaderBoard1.Disabled = true
LeaderBoard.Disabled = false
if player then  -- What do I put before the then that makes it so if a player has bought a developer product it makes the next part function 
LeaderBoard1.Disabled = false
LeaderBoard.Disabled = true
else
LeaderBoard1.Disabled = true
LeaderBoard.Disabled = false
end

0
Sorry Its a bit messy. coldice231 45 — 10y
0
I really need this answered though for my game. coldice231 45 — 10y
0
Please anyone? coldice231 45 — 10y
0
Could you put the code into the Code Block? Just click edit, press the Lua button, and paste the code in there. That will help people quite a bit in helping to solve your problem. M39a9am3R 3210 — 10y
View all comments (3 more)
0
Okay. coldice231 45 — 10y
0
I made it so its in code looking form. Now can anyone help? coldice231 45 — 10y
0
I really need an answer. Can someone edit this to make it work? coldice231 45 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

Okay a better title is How can I enable and disable different LeaderBoards depending on if a player has bought a developer product? My use for this is I have a developer product that will give you double gold for your kills. So LeaderBoard1 makes it so your gold is 2 for every kill. I really an answer because I have attempted to do this many times.

0
Come on! Please I need an answer coldice231 45 — 10y
0
I hope to have an answer by tomorrow. coldice231 45 — 10y
0
Come on! I need one! coldice231 45 — 10y
Ad

Answer this question