t.Help=function(o)if o=="\068\101\099\111\100\101\074\083\079\078"or o==t.DecodeJSON then return"\070\117\110\099\116\105\111\110 \068\101\099\111\100\101\074\083\079\078\046  \065\114\103\117\109\101\110\116\115\058 \040\115\116\114\105\110\103\041\046  \083\105\100\101 \101\102\102\101\099\116\058 \114\101\116\117\114\110\115 \097 \116\097\098\108\101 \119\105\116\104 \097\108\108 \112\097\114\115\101\100 \074\083\079\078 \118\097\108\117\101\115"end if o=="\069\110\099\111\100\101\074\083\079\078"or o==t.EncodeJSON then return"\070\117\110\099\116\105\111\110 \069\110\099\111\100\101\074\083\079\078\046  \065\114\103\117\109\101\110\116\115\058 \040\116\097\098\108\101\041\046  \083\105\100\101 \101\102\102\101\099\116\058 \114\101\116\117\114\110\115 \097 \115\116\114\105\110\103 \099\111\109\112\111\115\101\100 \111\102 \097\114\103\117\109\101\110\116 \116\097\098\108\101 \105\110 \074\083\079\078 \100\097\116\097 \102\111\114\109\097\116"end if o=="\077\097\107\101\087\101\100\103\101"or o==t.MakeWedge then return"\070\117\110\099\116\105\111\110 \077\097\107\101\087\101\100\103\101\046 \065\114\103\117\109\101\110\116\115\058 \040\120\044 \121\044 \122\044 \091\100\101\102\097\117\108\116 \109\097\116\101\114\105\097\108\093\041\046 \068\101\115\099\114\105\112\116\105\111\110\058 \077\097\107\101\115 \097 \119\101\100\103\101 \097\116 \108\111\099\097\116\105\111\110 \120\044 \121\044 \122\046 \083\101\116\115 \099\101\108\108 \120\044 \121\044 \122 \116\111 \100\101\102\097\117\108\116 \109\097\116\101\114\105\097\108 \105\102 \112\097\114\097\109\101\116\101\114 \105\115 \112\114\111\118\105\100\101\100\044 \105\102 \110\111\116 \115\101\116\115 \099\101\108\108 \120\044 \121\044 \122 \116\111 \098\101 \119\104\097\116\101\118\101\114 \109\097\116\101\114\105\097\108 \105\116 \112\114\101\118\105\111\117\115\108\121 \119\097\115\046 \082\101\116\117\114\110\115 \116\114\117\101 \105\102 \109\097\100\101 \097 \119\101\100\103\101\044 \102\097\108\115\101 \105\102 \116\104\101 \099\101\108\108 \114\101\109\097\105\110\115 \097 \098\108\111\099\107 "end if o=="\083\101\108\101\099\116\084\101\114\114\097\105\110\082\101\103\105\111\110"or o==t.SelectTerrainRegion then return"\070\117\110\099\116\105\111\110 \083\101\108\101\099\116\084\101\114\114\097\105\110\082\101\103\105\111\110\046 \065\114\103\117\109\101\110\116\115\058 \040\114\101\103\105\111\110\084\111\083\101\108\101\099\116\044 \099\111\108\111\114\044 \115\101\108\101\099\116\069\109\112\116\121\067\101\108\108\115\044 \115\101\108\101\099\116\105\111\110\080\097\114\101\110\116\041\046 \068\101\115\099\114\105\112\116\105\111\110\058 \083\101\108\101\099\116\115 \097\108\108 \116\101\114\114\097\105\110 \118\105\097 \097 \115\101\114\105\101\115 \111\102 \115\101\108\101\099\116\105\111\110 \098\111\120\101\115 \119\105\116\104\105\110 \116\104\101 \114\101\103\105\111\110\084\111\083\101\108\101\099\116 \040\116\104\105\115 \115\104\111\117\108\100 \098\101 \097 \114\101\103\105\111\110\051 \118\097\108\117\101\041\046 \084\104\101 \115\101\108\101\099\116\105\111\110 \098\111\120 \099\111\108\111\114 \105\115 \100\101\116\101\109\105\110\101\100 \098\121 \116\104\101 \099\111\108\111\114 \097\114\103\117\109\101\110\116 \040\115\104\111\117\108\100 \098\101 \097 \098\114\105\099\107\099\111\108\111\114 \118\097\108\117\101\041\046 \083\101\108\101\099\116\105\111\110\080\097\114\101\110\116 \105\115 \116\104\101 \112\097\114\101\110\116 \116\104\097\116 \116\104\101 \115\101\108\101\099\116\105\111\110 \109\111\100\101\108 \103\101\116\115 \112\108\097\099\101\100 \116\111 \040\111\112\116\105\111\110\097\108\041\046\083\101\108\101\099\116\069\109\112\116\121\067\101\108\108\115 \105\115 \098\111\111\108\044 \119\104\101\110 \116\114\117\101 \119\105\108\108 \115\101\108\101\099\116 \097\108\108 \099\101\108\108\115 \105\110 \116\104\101 \114\101\103\105\111\110\044 \111\116\104\101\114\119\105\115\101 \119\101 \111\110\108\121 \115\101\108\101\099\116 \110\111\110-\101\109\112\116\121 \099\101\108\108\115\046 \082\101\116\117\114\110\115 \097 \102\117\110\099\116\105\111\110 \116\104\097\116 \099\097\110 \117\112\100\097\116\101 \116\104\101 \115\101\108\101\099\116\105\111\110\044\097\114\103\117\109\101\110\116\115 \116\111 \115\097\105\100 \102\117\110\099\116\105\111\110 \097\114\101 \097 \110\101\119 \114\101\103\105\111\110\051 \116\111 \115\101\108\101\099\116\044 \097\110\100 \116\104\101 \097\100\111\114\110\109\101\110\116 \099\111\108\111\114 \040\099\111\108\111\114 \097\114\103 \105\115 \111\112\116\105\111\110\097\108\041\046 \065\108\115\111 \114\101\116\117\114\110\115 \097 \115\101\099\111\110\100 \102\117\110\099\116\105\111\110 \116\104\097\116 \116\097\107\101\115 \110\111 \097\114\103\117\109\101\110\116\115 \097\110\100 \100\101\115\116\114\111\121\115 \116\104\101 \115\101\108\101\099\116\105\111\110"end if o=="\067\114\101\097\116\101\083\105\103\110\097\108"or o==t.CreateSignal then return"\070\117\110\099\116\105\111\110 \067\114\101\097\116\101\083\105\103\110\097\108\046 \065\114\103\117\109\101\110\116\115\058 \078\111\110\101\046 \082\101\116\117\114\110\115\058 \084\104\101 \110\101\119\108\121 \099\114\101\097\116\101\100 \083\105\103\110\097\108 \111\098\106\101\099\116\046 \084\104\105\115 \111\098\106\101\099\116 \105\115 \105\100\101\110\116\105\099\097\108 \116\111 \116\104\101 \082\066\088\083\099\114\105\112\116\083\105\103\110\097\108 \099\108\097\115\115 \117\115\101\100 \102\111\114 \101\118\101\110\116\115 \105\110 \079\098\106\101\099\116\115\044 \098\117\116 \105\115 \097 \076\117\097-\115\105\100\101 \111\098\106\101\099\116 \115\111 \105\116 \099\097\110 \098\101 \117\115\101\100 \116\111 \099\114\101\097\116\101 \099\117\115\116\111\109 \101\118\101\110\116\115 \105\110\076\117\097 \099\111\100\101\046 \077\101\116\104\111\100\115 \111\102 \116\104\101 \083\105\103\110\097\108 \111\098\106\101\099\116\058 \058\099\111\110\110\101\099\116\044 \058\119\097\105\116\044 \058\102\105\114\101\044 \058\100\105\115\099\111\110\110\101\099\116\046 \070\111\114 \109\111\114\101 \105\110\102\111 \121\111\117 \099\097\110 \112\097\115\115 \116\104\101 \109\101\116\104\111\100 \110\097\109\101 \116\111 \116\104\101 \072\101\108\112 \102\117\110\099\116\105\111\110\044 \111\114 \118\105\101\119 \116\104\101 \119\105\107\105 \112\097\103\101 \102\111\114 \116\104\105\115 \108\105\098\114\097\114\121\046 \069\071\058 \072\101\108\112\040\'\083\105\103\110\097\108\058\099\111\110\110\101\099\116\'\041\046"end if o=="\083\105\103\110\097\108\058\099\111\110\110\101\099\116"then return"\077\101\116\104\111\100 \083\105\103\110\097\108\058\099\111\110\110\101\099\116\046 \065\114\103\117\109\101\110\116\115\058 \040\102\117\110\099\116\105\111\110 \104\097\110\100\108\101\114\041\046 \082\101\116\117\114\110\058 \065 \099\111\110\110\101\099\116\105\111\110 \111\098\106\101\099\116 \119\104\105\099\104 \099\097\110 \098\101 \117\115\101\100 \116\111 \100\105\115\099\111\110\110\101\099\116 \116\104\101 \099\111\110\110\101\099\116\105\111\110 \116\111 \116\104\105\115 \104\097\110\100\108\101\114\046 \068\101\115\099\114\105\112\116\105\111\110\058 \067\111\110\110\101\099\116\101\115 \097 \104\097\110\100\108\101\114 \102\117\110\099\116\105\111\110 \116\111 \116\104\105\115 \083\105\103\110\097\108\044 \115\111 \116\104\097\116 \119\104\101\110 \124\102\105\114\101\124 \105\115 \099\097\108\108\101\100 \116\104\101 \104\097\110\100\108\101\114 \102\117\110\099\116\105\111\110 \119\105\108\108 \098\101 \099\097\108\108\101\100 \119\105\116\104 \116\104\101 \097\114\103\117\109\101\110\116\115 \112\097\115\115\101\100 \116\111 \124\102\105\114\101\124\046"end if o=="\083\105\103\110\097\108\058\119\097\105\116"then return"\077\101\116\104\111\100 \083\105\103\110\097\108\058\119\097\105\116\046 \065\114\103\117\109\101\110\116\115\058 \078\111\110\101\046 \082\101\116\117\114\110\115\058 \084\104\101 \097\114\103\117\109\101\110\116\115 \112\097\115\115\101\100 \116\111 \116\104\101 \110\101\120\116 \099\097\108\108 \116\111 \124\102\105\114\101\124\046 \068\101\115\099\114\105\112\116\105\111\110\058 \084\104\105\115 \099\097\108\108 \100\111\101\115 \110\111\116 \114\101\116\117\114\110 \117\110\116\105\108 \116\104\101 \110\101\120\116 \099\097\108\108 \116\111 \124\102\105\114\101\124 \105\115 \109\097\100\101\044 \097\116 \119\104\105\099\104 \112\111\105\110\116 \105\116 \119\105\108\108 \114\101\116\117\114\110 \116\104\101 \118\097\108\117\101\115 \119\104\105\099\104 \119\101\114\101 \112\097\115\115\101\100 \097\115 \097\114\103\117\109\101\110\116\115 \116\111 \116\104\097\116 \124\102\105\114\101\124 \099\097\108\108\046"end if o=="\083\105\103\110\097\108\058\102\105\114\101"then return"\077\101\116\104\111\100 \083\105\103\110\097\108\058\102\105\114\101\046 \065\114\103\117\109\101\110\116\115\058 \065\110\121 \110\117\109\098\101\114 \111\102 \097\114\103\117\109\101\110\116\115 \111\102 \097\110\121 \116\121\112\101\046 \082\101\116\117\114\110\115\058 \078\111\110\101\046 \068\101\115\099\114\105\112\116\105\111\110\058 \084\104\105\115 \099\097\108\108 \119\105\108\108 \105\110\118\111\107\101 \097\110\121 \099\111\110\110\101\099\116\101\100 \104\097\110\100\108\101\114 \102\117\110\099\116\105\111\110\115\044 \097\110\100 \110\111\116\105\102\121 \097\110\121 \119\097\105\116\105\110\103 \099\111\100\101 \097\116\116\097\099\104\101\100 \116\111 \116\104\105\115 \083\105\103\110\097\108 \116\111 \099\111\110\116\105\110\117\101\044 \119\105\116\104 \116\104\101 \097\114\103\117\109\101\110\116\115 \112\097\115\115\101\100 \116\111 \116\104\105\115 \102\117\110\099\116\105\111\110\046 \078\111\116\101\058 \084\104\101 \099\097\108\108\115 \116\111 \104\097\110\100\108\101\114\115 \097\114\101 \109\097\100\101 \097\115\121\110\099\104\114\111\110\111\117\115\108\121\044 \115\111 \116\104\105\115 \099\097\108\108 \119\105\108\108 \114\101\116\117\114\110 \105\109\109\101\100\105\097\116\101\108\121 \114\101\103\097\114\100\108\101\115\115 \111\102 \104\111\119 \108\111\110\103 \105\116 \116\097\107\101\115 \116\104\101 \099\111\110\110\101\099\116\101\100 \104\097\110\100\108\101\114 \102\117\110\099\116\105\111\110\115 \116\111 \099\111\109\112\108\101\116\101\046"end if o=="\083\105\103\110\097\108\058\100\105\115\099\111\110\110\101\099\116"then return"\077\101\116\104\111\100 \083\105\103\110\097\108\058\100\105\115\099\111\110\110\101\099\116\046 \065\114\103\117\109\101\110\116\115\058 \078\111\110\101\046 \082\101\116\117\114\110\115\058 \078\111\110\101\046 \068\101\115\099\114\105\112\116\105\111\110\058 \084\104\105\115 \099\097\108\108 \100\105\115\099\111\110\110\101\099\116\115 \097\108\108 \104\097\110\100\108\101\114\115 \097\116\116\097\099\099\104\101\100 \116\111 \116\104\105\115 \102\117\110\099\116\105\111\110\044 \110\111\116\101 \104\111\119\101\118\101\114\044 \105\116 \100\111\101\115 \078\079\084 \109\097\107\101 \119\097\105\116\105\110\103 \099\111\100\101 \099\111\110\116\105\110\117\101\044 \097\115 \105\115 \116\104\101 \098\101\104\097\118\105\111\114 \111\102 \110\111\114\109\097\108 \082\111\098\108\111\120 \101\118\101\110\116\115\046 \084\104\105\115 \109\101\116\104\111\100 \099\097\110 \097\108\115\111 \098\101 \099\097\108\108\101\100 \111\110 \116\104\101 \099\111\110\110\101\099\116\105\111\110 \111\098\106\101\099\116 \119\104\105\099\104 \105\115 \114\101\116\117\114\110\101\100 \102\114\111\109 \083\105\103\110\097\108\058\099\111\110\110\101\099\116 \116\111 \111\110\108\121 \100\105\115\099\111\110\110\101\099\116 \097 \115\105\110\103\108\101 \104\097\110\100\108\101\114\044 \097\115 \111\112\112\111\115\101\100 \116\111 \116\104\105\115 \109\101\116\104\111\100\044 \119\104\105\099\104 \119\105\108\108 \100\105\115\099\111\110\110\101\099\116 \097\108\108 \104\097\110\100\108\101\114\115\046"end if o=="\067\114\101\097\116\101"then return"\070\117\110\099\116\105\111\110 \067\114\101\097\116\101\046 \065\114\103\117\109\101\110\116\115\058 \065 \116\097\098\108\101 \099\111\110\116\097\105\110\105\110\103 \105\110\102\111\114\109\097\116\105\111\110 \097\098\111\117\116 \104\111\119 \116\111 \099\111\110\115\116\114\117\099\116 \097 \099\111\108\108\101\099\116\105\111\110 \111\102 \111\098\106\101\099\116\115\046 \082\101\116\117\114\110\115\058 \084\104\101 \099\111\110\115\116\114\117\099\116\101\100 \111\098\106\101\099\116\115\046 \068\101\115\099\114\105\116\105\111\110\058 \067\114\101\097\116\101 \105\115 \097 \118\101\114\121 \112\111\119\101\114\102\117\108\108 \102\117\110\099\116\105\111\110\044 \119\104\111\115\101 \100\101\115\099\114\105\112\116\105\111\110 \105\115 \116\111\111 \108\111\110\103 \116\111 \102\105\116 \104\101\114\101\044 \097\110\100 \105\115 \098\101\115\116 \100\101\115\099\114\105\098\101\100 \118\105\097 \101\120\097\109\112\108\101\044 \112\108\101\097\115\101 \115\101\101 \116\104\101 \119\105\107\105 \112\097\103\101 \102\111\114 \097 \100\101\115\099\114\105\112\116\105\111\110 \111\102 \104\111\119 \116\111 \117\115\101 \105\116\046"end end
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------Documentation Begin-----------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------

t.Help = function(funcNameOrFunc)
	--input argument can be a string or a function.  Should return a description (of arguments and expected side effects)
	if funcNameOrFunc == "DecodeJSON" or funcNameOrFunc == t.DecodeJSON then
		return "Function DecodeJSON.  "
			.. "Arguments: (string).  "
			.. "Side effect: returns a table with all parsed JSON values"
	end
	if funcNameOrFunc == "EncodeJSON" or funcNameOrFunc == t.EncodeJSON then
		return "Function EncodeJSON.  "
			.. "Arguments: (table).  "
			.. "Side effect: returns a string composed of argument table in JSON data format"
	end
	if funcNameOrFunc == "MakeWedge" or funcNameOrFunc == t.MakeWedge then
		return "Function MakeWedge. "
			.. "Arguments: (x, y, z, [default material]). "
			.. "Description: Makes a wedge at location x, y, z. Sets cell x, y, z to default material if "
			.. "parameter is provided, if not sets cell x, y, z to be whatever material it previously was. "
			.. "Returns true if made a wedge, false if the cell remains a block "
	end
	if funcNameOrFunc == "SelectTerrainRegion" or funcNameOrFunc == t.SelectTerrainRegion then
		return "Function SelectTerrainRegion. "
			.. "Arguments: (regionToSelect, color, selectEmptyCells, selectionParent). "
			.. "Description: Selects all terrain via a series of selection boxes within the regionToSelect "
			.. "(this should be a region3 value). The selection box color is detemined by the color argument "
			.. "(should be a brickcolor value). SelectionParent is the parent that the selection model gets placed to (optional)."
			.. "SelectEmptyCells is bool, when true will select all cells in the "
			.. "region, otherwise we only select non-empty cells. Returns a function that can update the selection,"
			.. "arguments to said function are a new region3 to select, and the adornment color (color arg is optional). "
			.. "Also returns a second function that takes no arguments and destroys the selection"
	end
	if funcNameOrFunc == "CreateSignal" or funcNameOrFunc == t.CreateSignal then
		return "Function CreateSignal. "
			.. "Arguments: None. "
			.. "Returns: The newly created Signal object. This object is identical to the RBXScriptSignal class "
			.. "used for events in Objects, but is a Lua-side object so it can be used to create custom events in"
			.. "Lua code. "
			.. "Methods of the Signal object: :connect, :wait, :fire, :disconnect. "
			.. "For more info you can pass the method name to the Help function, or view the wiki page "
			.. "for this library. EG: Help('Signal:connect')."
	end
	if funcNameOrFunc == "Signal:connect" then
		return "Method Signal:connect. "
			.. "Arguments: (function handler). "
			.. "Return: A connection object which can be used to disconnect the connection to this handler. "
			.. "Description: Connectes a handler function to this Signal, so that when |fire| is called the "
			.. "handler function will be called with the arguments passed to |fire|."
	end
	if funcNameOrFunc == "Signal:wait" then
		return "Method Signal:wait. "
			.. "Arguments: None. "
			.. "Returns: The arguments passed to the next call to |fire|. "
			.. "Description: This call does not return until the next call to |fire| is made, at which point it "
			.. "will return the values which were passed as arguments to that |fire| call."
	end
	if funcNameOrFunc == "Signal:fire" then
		return "Method Signal:fire. "
			.. "Arguments: Any number of arguments of any type. "
			.. "Returns: None. "
			.. "Description: This call will invoke any connected handler functions, and notify any waiting code "
			.. "attached to this Signal to continue, with the arguments passed to this function. Note: The calls "
			.. "to handlers are made asynchronously, so this call will return immediately regardless of how long "
			.. "it takes the connected handler functions to complete."
	end
	if funcNameOrFunc == "Signal:disconnect" then
		return "Method Signal:disconnect. "
			.. "Arguments: None. "
			.. "Returns: None. "
			.. "Description: This call disconnects all handlers attacched to this function, note however, it "
			.. "does NOT make waiting code continue, as is the behavior of normal Roblox events. This method "
			.. "can also be called on the connection object which is returned from Signal:connect to only "
			.. "disconnect a single handler, as opposed to this method, which will disconnect all handlers."
	end
	if funcNameOrFunc == "Create" then
		return "Function Create. "
			.. "Arguments: A table containing information about how to construct a collection of objects. "
			.. "Returns: The constructed objects. "
			.. "Descrition: Create is a very powerfull function, whose description is too long to fit here, and "
			.. "is best described via example, please see the wiki page for a description of how to use it."
	end
end
