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
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.