Attributes
Learn about the basics of Custom Commands and how to set them up.
Custom Commands can be personalized with Attributes, Some of them are necesary to get your command working
Alias
The Alias is the name that is Displayed on the Command List. If the alias is not configured, The name of the command will be the same as the name registered on the function RegisterCommand().
Description
The Description is made to give context of how the command works in a short paragraph, If the description is not configured, No description will be shown.
Icon
The Icon is the icon displayed on your command as a visual representation of the functionality of your command.
Event
The Event is a Remote Event
that will be fired when the command is executed. You will learn how to connect them later.
If the event isn't configured, The command will be locked and it wont allow you to execute it.
Access
Access allows you to choose which roles on your game can execute a command. If a certain role isn't allowed to execute a command, It won't be visible to them.
Example
After everything you have done, Your code should look like this.
Now, Lets go through parameters and how they work.
Last updated