Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List instructions:
- me - the speaker.
- others - everyone who is not the speaker.
- all - everyone.
- admins - everyone listed as an admin.
- nonadmins - everyone not listed as an admin.
- ops - everyone listed as an Operator.
- nonops - everyone not listed as an Operator.
- team - everyone on your team. If you are neutral, nobody will be selected.
- otherteams - everyone on a team which is not yours.
- random - select someone random
- random # - select # amount of random people
- And any other player will work. Also caps do not matter.
- i.e. me,admins,ops will work
- me, admins, ops will NOT work
- me,admins,nonadmins will select everyone.
- so will "all"
- to create several lists, seperate the lists with a ":"
- to create list items, connect the list items with a comma (",")
- Wildcards are used automatically, so try not to use ambiguous names.
- i.e. if you use kill:pla while Player1 and pLAYERofChips are in the game, it will kill those players.
- kill:me:me:me <-- will kill you three times
- kill:me,me,me <-- will kill you once because you are killed immediately three times
- ff:me,me,me <-- will give you three force fields, and make you lag.
- unff:me <-- removes all force fields.
- Commands:
- 1) kill:{Lists}
- kills everyone in the lists.
- create several lists to loopkill.
- 2) heal:{Lists}
- heals everyone in the lists.
- 3) teleport:{List}:{Player} OR tp:{List}:{Player}
- teleports everyone in the list to the player.
- 4) ff:{Lists}
- forcefields everyone in the lists.
- 5) unff:{Lists}
- removes all forcefields from everyone in the lists.
- 6) vanish:{Lists}
- makes everyone in the lists completely invisible.
- 7) ghost:{Lists}
- makes everyone in the lists partially invisible.
- 8) unvanish:{Lists} OR unghost:{Lists} OR reveal:{Lists}
- reveals everyone in the lists.
- 9) clearinventory:{Lists} OR clear:{Lists}
- clears everyone in the lists' tools.
- 10) clearcinventory:{Lists}
- clears everyone in the lists' tools that were given by this command script.
- 11) construction:{Lists}
- gives everyone in the lists the main building tools provided by roblox.
- 12) tool:{Lists}: {Arguments}
- gives everyone in the lists the arguments provided. You can rather specify the
- tools' names or use "all" as the argument.
- "tool:{Lists}: tools" gives only wieldable tools.
- "tool:{Lists}: bins" gives only scripted HopperBins.
- "tool:{Lists}: remotescripts" gives remote scripts.
- 13) m: {Arguments}
- Displays a message to everyone.
- 14) h: {Arguments}
- Displays a hint to everyone.
- 15) fog
- creates 5 blank messages in workspace emulating fog.
- 16) unfog
- removes all fog.
- 17) superhardcore:{Lists}
- Makes it so if anyone in the lists die they get kicked from the game automatically.
- 18) jail:{Lists}
- Jails everyone in the lists.
- 19) unjail:{Lists}
- Removes all jails from everyone in the lists.
- 20) headlight:{Lists} OR torch:{Lists}
- Gives everyone in the lists a yellow light (Like a torch) for dark areas.
- 21) unheadlight:{Lists} OR untorch:{Lists}
- Undoes the headlight:{Lists} command.
- 22) walkspeed:{Lists}: {Argument}
- Gives everyone in the lists a predetermined amount of walkspeed given by the
- argument (default 16).
- 23) normalwalkspeed:{Lists}
- Returns everyone in the lists' walkspeeds to the default (16).
- 24) creative:{Lists}
- Gives the player the ability to fly by double tapping space and gives the player
- the ability to run by double tapping W.
- 25) nocreative:{Lists}
- Removes all abilities gained from the creative:{Lists} command.
- 26) ccolor:{Lists}: {Color ColorHead}[, {Color ColorTorso}[, {Color LeftArm}[, {Color RightArm}[, {Color LeftLeg}[, {Color RightLeg}] ] ] ] ]
- Set the character color, with 5 additional optional arguments for each body part.
- See the ColorTranslateAPI function for a list of colors.
- 27) swapheads:{Player}:{Player}
- Switches the two players' heads between each other (Including hats worn)
- 28) blockhead:{Lists}
- Turns everyone in the lists' heads into blocks.
- 29) stat:{Lists}: {Statname}: {Value}
- Changes everyone in the lists' stat {Statname}'s value to {Value}
- i.e. stat:SpeedySeat: Money: 1 will change speedyseat's money to 1.
- 30) relativestat:{Lists}: {Statname}: {Value}
- Changes everyone in the lists' stat {Statname}'s value to itself added onto {Value}
- i.e. stat:SpeedySeat: Money: 1 will give speedyseat 1 money.
- note - useful in modulogic API
- 31) chair:{Lists}
- Gives a chair to everyone in the lists.
- 32) guibuild:{Lists}
- Basically an alternative to the construction command.
- Gives a tool which gives far more flexibility when building.
- 33) modulogic:{Logic} OR ml:{Logic} OR logic:{Logic}
- This command executes separate commands based on structured coding here.
- This is an advanced command, and beginners are not recommended to use it.
- 34) mltoggle: {Argument}
- This command toggles a setting in the modulogic internal configuration.
- You don't need to mess with this unless you're very well educated and need it.
- **MISSING DOCUMENTATION**
- -- MODULE LOGIC API --
- |define - creates a variable
- |
- | VariableName
- |
- | Variable content (can be number, string or bool)
- |-=-
- |case - checks a variable
- |
- | VariableName/Variable subgroup (Optional)
- |
- | Case~(type of comparison)Number,String compared{Code executed when true}>{Otherwise case (Optional)}
- |-=-
- |function - Creates a callable function
- |
- | FunctionName/Arg1,Arg2,... - Arranges the necessary arguments and name
- |
- | {When called code} - Creates a new definition with this code
- |-=-
- |call - Looks through definitions of code/arguments
- |
- | FunctionName - Looks for this name
- |
- | Arg1,Arg2,... -- Gives these arguments
- |-=-
- |loop - Repeats a line of code
- |
- | Count - Tells how many times to repeat (for player function use %players%)
- |
- | {When called code} - Loops this code count many times giving %index% as a variable name. Use %player index% for player getting.
- |-=-
- |All default variables (to access surround name in percent signs):
- |pln - speaker's name
- |mlv - version of modules being used
- |elvl - same as below, only shortenned
- |executionLevel - useful for preventing stack overflows, tells which sub-function you are in.
- |index - only useful in loops. The number of times this code block has been executed thus far
- |Playername/stat/statname - Gives the player stat's value
- |Playername/playervar/Variable in player - Gives the playervar's value
- |Playername/teamname - Gives the name of the player's team
- |Playername/name - this is used for getting which player Playername has chosen
- |players - number of players in the list
- |player # - Player from the player list with the number #
- |? new variables can be created with the define function
- |
- |module code can be executed from anywhere
- -- EXAMPLES BELOW (PASTE FULL TEXT IN ONLINE CHAT TO TEST) --
- How to check your modulogic version (This snippet will be updated with new versions):
- ml:case>mlv>given~(<)1.5{m: You are running a past version of ModuLogic.}>{m: You are up to date!}
- How to check your "Money" stat (Tells you if you have lots!):
- ml:case>me/stat/Money>given~(>)9000{m: %me/name% has over 9000 Money!!!!1}
- How to test how far you are from a workspace instance (This case is "Pending"):
- ml:m:%me/name%: You are %me/distancefrom/Pending% studs away from the brick.
- Case checking to see if you are close to the spawn (Creates "alt" as a variable then checks it):
- ml:define>alt>%me/distancefrom/Pending%;case>alt>given~(<)25{m:%me/name%: You are close enough to the spawn}>{m:%me/name%: You are %SpeedySeat/distancefrom/Pending% studs away from spawn.}
- Loop through each player and tell them the script ate them:
- ml:loop>%players%>{m: I ate %player index% for breakfast!;kill:%player index%;wait}
- 35) wait: {Time}
- This command is useless outside of the Modulogic API. This command basically
- waits until the Time argument above is reached, then executes the next command.
- You do not need to provide an argument if you are executing this after the m command,
- as the wait command will automatically wait 5 seconds if not given an argument.
- 36) respawn:{Lists}
- respawns everyone in the lists.
- this is an instant respawn, and also activates respawn events.
- -- ADMIN ONLY COMMANDS: --
- 1) promote:{Lists}
- Makes everyone in the lists an Operator.
- 2) demote:{Lists}
- Removes everyone in the lists from the Operator list.
- 3) admin:{Lists}
- **WARNING: DO NOT USE THIS COMMAND FOR PEOPLE YOU DO NOT TRUST COMPLETELY.
- YOU DO NOT NEED ADMIN TO USE COMMANDS; OPERATOR ALLOWS ALL NON-RANK COMMANDS.
- Makes everyone in the lists an admin.
- This is only temporary and does not make the user a permanent admin.
- To make a user a permanent admin, add their name to the list of admins.
- 4) unadmin:{Lists}
- Removes everyone in the lists from the admin list.
- Permanent admins will keep their admin status outside of the server.
- 5) kick:{Lists}
- Kicks everyone from the lists out of the game. This command is not
- permanent and the users can rejoin the server.
- 6) ban:{Lists}
- Bans everyone from the lists from the server. This command IS
- permanent and can only be undone using the unban: {Arguments} command.
- 7) unban: {Arguments}
- Checks the ban list for anyone who is an argument in this command and removes them.
- A message will appear confirming the removal of a banned list item.
- How to utilize flags:
- There are three types of flags.
- One flag type is with settings:
- -<settingsflag> <settings>
- One flag type is without settings:
- -<singleflag>
- One flag type is with settings but can
- support spaces and dashes within them:
- -<settingsflag> *<longersettings>*
- And finally, flags can be trailed behind
- one another to set several settings:
- -<settingsflag> <settings> -<settingsflag> <settings>
- Examples using commands in ExtraCommands:
- hop:-macro *p: 2 2 2 -c Bright blue -ry 45*
- hop:-name RightClickFrenzy -rmacro *p: 2 2 2 -c Bright red* -macro *p: 2 2 2 -c Bright blue -ry 45*
- The ExtraCommands Commands:
- 1) hop:{Flags}
- This command creates a HopperBin given the parameters.
- Any flag that has (Off by default) next to it means that the flag's properties won't
- be considered unless it is included during creation.
- Any flag that has a default marked next to it means that you can call the flag as a -singleflag and it uses
- the default value when parsing.
- Flags:
- -regen <HP>: The amount of HP to regen per tick() [Default: 4] (Off by default)
- -name <name>: The display name of the HopperBin [Default: CommandBin]
- -deadly: The HopperBin will kill the user of it like a reset tool. (Off by default)
- -hpset <HP>: What to set the user's HP to when clicked and selected. [Default: 0] (Off by default)
- -macro <MACRO>: Macro flag. This flag sets what commands get executed when this HopperBin is clicked. (Off by default)
- -rmacro <MACRO>: Macro flag. This flag sets what commands get executed when this HopperBin is right clicked. (Off by default)
- -expire <time>: The amount of time this HopperBin is allowed to exist in your world (Useful for minigames utilizing
- commands) (Off by default)
- 2) p:[[x] [y] [z] ]{Flags}
- This command creates a Part given the parameters.
- Note: You don't need to include any flags if you want to keep their default (i.e. p: 4 1 4 or p: -c Bright blue)
- Flags:
- -x <x>: The x position (Off by default)
- -y <y>: The y position (Off by default)
- -z <z>: The z position (Off by default)
- -xr <xr>: The x relative position [Default: 0 studs]
- -yr <yr>: The y relative position [Default: 5+(y size/2) studs]
- -zr <zr>: The z relative position [Default: 0 studs]
- -rx <rx>: The x rotation (In Degreesº) [Default: 0º]
- -ry <ry>: The y rotation (In Degreesº) [Default: 0º]
- -rz <rz>: The z rotation (In Degreesº) [Default: 0º]
- -us <SurfaceType>: The string surface name to set as the top [Default: Smooth]
- -ds <SurfaceType>: The string surface name to set as the bottom [Default: Smooth]
- -fs <SurfaceType>: The string surface name to set as the front [Default: Smooth]
- -bs <SurfaceType>: The string surface name to set as the back [Default: Smooth]
- -ls <SurfaceType>: The string surface name to set as the left [Default: Smooth]
- -rs <SurfaceType>: The string surface name to set as the right [Default: Smooth]
- -expire <time>: The amount of time this brick is allowed to exist in your world (Off by default)
- -a <true/false>: The anchored property [Default: true]
- -cc <true/false>: The CanCollide property [Default: true]
- -cj: Connects the joints of this block when created.
- -deadly <kill/explode>: Create a temporary kill brick (Off by default)
- -tpad <link>: Create a permanent teleport pad given the link string (Off by default)
- -tpadtemp <link>: Create a temporary server-only teleport pad given the link string (Off by default)
- -deb <time>: The time in seconds that the ontouch macro has before it can be used again. [Default: 1 second]
- -ontouch <MACRO>: Executes commands on behalf of the player when they touch this part.
Advertisement
Add Comment
Please, Sign In to add comment