In this article, I demonstrate how to use my Player Point Plugin, available in the ROBLOX Website here:
http://www.roblox.com/Player-Point-Plugin-WORKS-item?id=162659193
To start off, open a new game. Then, go to the Plugin tab in ROBLOX Studio. You should see a brand new button that says “Player Point Plugin”. Click it. A Gui menu should slide across the screen and snap right in the center epicly.
Then, You see three buttons: Player Points Per KO, Available Points Gui, and Currency to Points. These all do exactly what they say they do. Player Points per KO allows you to configure your game so players get a certain amount of Player Points per every amount of KOs (You pick both the KOs needed and the Player Points earned!).
The Available Points Gui allows you to configure a Gui element for your game that says “Available Points: ” and then the amount of points available to give out. This Gui appears at the top of the screen, but you’re welcome to play around with the properties of the Gui and change it!
The last button, Currency to Points, allows you to create a Gui element to transfer a certain amount of in-game currency (that currency is up to you) that players have on the leaderboard to a certain amount of Player Points.
To use the Player Points per KO button, simply click it. The Gui will go away, and you should see a new script in your ServerScriptService called “PlayerPointScript”. Don’t open the script, but click on the arrow to the side of the script, and you should see 2 IntValues, one called Kills, and one called PlayerPoints. Modify these values according to whatever you want, and the script will take care of the rest!
To use the Available Points button, click the button. You will get a button that is black by default, and clicking it turns yellow, along with an OK button. Yellow means on, black means off. On means that only you will see it; off means everyone will see it, including you. Choose your setting, then press OK, and you are done!
To use the Currency to Points button, click on it. Then, the plugin will prompt you to type in the name of the currency you want (NOTE: This currency works off of the leaderboard, so pick something that is in the leaderboard). Then, click OK. A Gui should pop up on the right side of your game that says “Button”. This is fine. The script changes the text. Then, go inside of StarterGui, and you should see a new ScreenGui. Open it, then open the TextButton inside of it. You should see a script called “PlayerPointScript” with 2 IntValues inside of it, one called “Amount”, and one called “Points”. Change these values to the amount of currency required to transfer, and type in the amount of points you want to give when they transfer, and you are done!
That’s it for my Player Point Plugin. If you are still confused, or have a question, send me a PM @cardgamechampion on ROBLOX!
Have fun inserting Player Points into your game1
— cardgamechampion, author of “ROBLOX Building Guide”.