Advertisement
Ak8D

ChrimOrb v2.0 Documentation

Mar 31st, 2013
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.79 KB | None | 0 0
  1. -----------------
  2. | ChrimOrb v2.0 |
  3. -----------------
  4. ChrimOrb is a script for ROBLOX created by Alureon.
  5.  
  6. ------------
  7. | Commands |
  8. ------------
  9. * god
  10. Sets a players health to math.huge.
  11.  
  12. * ungod
  13. Sets a players health to 100.
  14.  
  15. * kick
  16. Removes a player from the game.
  17.  
  18. * ban
  19. Adds a player to the ban list AND removes him from the game.
  20.  
  21. * ff
  22. Gives the specified player a ForceField.
  23.  
  24. * unff
  25. Removes a ForceField from the specified player.
  26.  
  27. * unload
  28. Disables the script.
  29.  
  30. * exec
  31. Executes the code after the command and tells you if there is an error.
  32.  
  33. * kill
  34. Kills the player.
  35.  
  36. * say
  37. Makes the orb say a message.
  38.  
  39. * shutdown
  40. Shuts the server down.
  41.  
  42. * hspin
  43. Makes a players head spin.
  44.  
  45. * Command Creation
  46. Creating your own command is easy. This is how to do it:
  47. CommandFuncs.RegisterCommand("command", "message orb will display", function_that_is_executed)
  48. The function that is executed takes two parameters: the message AFTER the split character and the message your orb will display.
  49. For example:
  50.  
  51. CommandFuncs.RegisterCommand("god", "Godded", function(aftr, msg)
  52.     local plr = CommandFuncs.FindPlayer(aftr);
  53.     if plr[1].Character then
  54.         plr[1].Character.Humanoid.MaxHealth = math.huge;
  55.         OrbControls.OrbPrint(CommandFuncs.GeneratePrintMsg(msg, plr[1].Name));
  56.     else
  57.         OrbControls.OrbPrint(Preferences.Command.PlayerNoFindMsg);
  58.     end
  59. end);
  60.  
  61. ---------------
  62. | Preferences |
  63. ---------------
  64. * Preferences.Security.RobloxLockOnStart
  65. This will set the property 'RobloxLocked' on your player instance to true. It requires a content other than 2 and executes as soon as it finds your player. It takes a bool.
  66.  
  67. * Preferences.Security.BypassCrashes
  68. Bypasses scripts set by the place owner to cause your client to crash. It takes a bool.
  69.  
  70. * Preferences.Security.CrashWaitTime
  71. The amount of time the script will wait until resuming script functionality. It takes an int.
  72.  
  73. * Preferences.Security.RobloxLockOrb
  74. Will perform .RobloxLocked = true on the orb when it is created. It takes a bool.
  75.  
  76. * Preferences.Command.CommandSignal
  77. The signal that starts commands. For example if the signal was "#" and you wanted to do a god command you would do something like this:
  78. #god;me.
  79. It takes a string.
  80.  
  81. * Preferences.Command.CommandSplit
  82. The character that splits commands. For example if the split character was ';' and you wanted to do a god command you would do something like this:
  83. #god;me.
  84. It takes a string.
  85.  
  86. * Preferences.Command.PlayerNoFindMsg
  87. The message that the orb will display when it cannot find the player you are trying to perform a command on. It takes a string.
  88.  
  89. * Preferences.Command.SafeChatRemove
  90. Performs :SetSuperSafeChat(true) on the victims player instance before removing them from the game to prevent them from executing scripts from their CoreScript. It takes a bool.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement