Build Island Script Block: Documentation
– Trust Elevation Related –
trustelevation():
Arguments: none
Returns: number
Gets trust elevation level.
Example: print(trustelevation())
– Ports –
io.port.input.new():
Arguments: portnumber
Returns: nil
Creates a new input port
Example: local inputPort1 = io.port.input.new(1)
io.port.output.new():
Arguments: portnumber
Returns: nil
Creates a new output port
Example: local outputPort1 = io.port.output.new(1)
port.Type:
Read Only: no
Type: any
The type of the port.
Example: port.Type = "boolean"
port:SetValue():
Arguments: value
Returns: nil
Sets the value of the port.
Example: port:SetValue(true)
port:GetValue():
Returns: value
Returns: any
Gets the current value of the port.
Example: portValue = port:GetValue()
port.Changed
Read Only: yes
Type: RBXScriptEvent
Fires whenever a property changes.
port.Value
Read Only: yes
Type: any
The current value of the port.
– Script Related –
scriptroot
Read Only: yes
Type: BasePart
The root of the script.
This is mostly like Roblox Luau but some methods may be different.