Last updated
Last updated
To get started, so that you can reward players who vote you will need to add our script:
Our script's security is enforced simultaneously on Roblox and our servers, ensuring that no one—including us—can manipulate votes or abuse the system.
Once the script is installed, you'll find 3 different modules:
Main: This module contains all the logic needed to retrieve votes from our API.
Reward: This module lets you configure rewards for player votes.
Settings: This module contains the settings you'll need to configure in order to log in to our API and retrieve your votes.
The Main Module must not be modified in any way, otherwise your account and games will be banned from our services.
First, you'll need to modify the Settings module to identify yourself to our API. Here are the default contents:
Now that you've identified yourself, all you have to do is code the contents of the rewardPlayer
function, which is called when a player's vote has been submitted.
Hint: A player can vote every 6 hours. Adjust the reward according to this cooldown period.
You need to modify: API_KEY
and GAME_ID
, which you'll find in your game settings on our .