Advertisement
InTesting

VSB Variables Def

Apr 20th, 2020
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.24 KB | None | 0 0
  1. --// VSB Variables
  2. --[[
  3.  Format:
  4.  + <Variable Name> (<typeof(Variable)>): <Definition>
  5.  
  6.  + owner (Instance): Returns Instance, game:GetService'Players'.LocalPlayer but on the server side.
  7.  + NLS (function): Returns a localscript created by two arguments:
  8.     1. Source Code (string)(Mandatory): Similar to LocalScript.Source, this argument determines the localscript's source code.
  9.     2. Parent Property (Instance)(Mandatory): Like LocalScripts, you can't parent localscripts to nil or else the code won't run.
  10.        They have to be under PlayerGui, the Character, Backpack, etc.
  11.  + NS (function) Returns a script. This is similar to NLS except conditions differ because LocalScripts and Scripts are different.
  12.    Furthormore, the arguments are the same as with NLS but more broader (except nil), therefore these arguments are
  13.    self-explanatory
  14.     1. Source Code (string)(Mandatory)
  15.     2. Parent Property (Instance)(Mandatory)
  16.  + <BasePart>:Explode() (nil): Function is apart of basepart instances. I actually don't know why VSB even has this but the
  17.    function is self-explanatory with a few exceptions. Ie, the explosion appears for a few seconds as a member of workspace
  18.    before dissappearing, the explosion appears at the position of the part.
  19. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement