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
COMMUNITY QUESTION
How can I make this script edit the two LeaderBoards correctly?
1 answer
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.
3 comments
0
Come on! Please I need an answer
0
I hope to have an answer by tomorrow.
0
Come on! I need one!
This discussion is preserved as it was. New answers, comments, and votes are closed.

7 comments
Sorry Its a bit messy.
I really need this answered though for my game.
Please anyone?
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.
Okay.
I made it so its in code looking form. Now can anyone help?
I really need an answer. Can someone edit this to make it work?