🌎Environment

These are all of the functions revolving the Roblox environment that Wave supports.

Create Secure Folder

<void> create_secure_folder(<string> path)
  • Creates a new secure folder to path.

Note: The folder itself won't be able to be found by the game. This means you don't need to set the security of the instances within it.

Fire Click Detector

<void> fireclickdetector(<ClickDetector> ClickDetector, <number?> Distance = 0, <string?>)
  • Fires the ClickDetector. If no distance supplied, it will default to 0.


Fire Proximity Prompt

<void> fireproximityprompt(<ProximityPrompt> Prompt)
  • Fires the ProximityPrompt trigger.


Fire Touch Interest

<void> firetouchinterest(<BasePart> totouch, <BasePart> Part, <uint?> toggle)
  • Touches part with totouch.

Actions:

Action
Toggle

Begins the touch.

0

Ends the touch.

1


Get Garbage Collection

<table> getgc(<bool?> IncludeTables = false)
  • Returns a table with all gc objects. Use getgc(true) to include tables.


Get Global Environment

<table> getgenv(<void>)
  • Returns the environment that will be applied to each script ran by Wave.


Get Instances

<table> getinstances(<void>)
  • Returns a table with instances.


Get Nil Instances

<table> getnilinstances(<void>)
  • Returns a table with instances parented to nil.


Get Roblox Environment

<table> getrenv(<void>)
  • Returns the Roblox environment.


Is Secured Instance

<void> is_secured_instance(<Instance> Instance)
  • Returns true/false if Instance is secured/not secured.


Set Normal Instance

<table> set_normal_instance(<Instance> Instance)
  • Sets Instance back to its normal state. Returns false if Instance is back to normal.


Set Secure Instance

<table> set_secure_instance(<Instance> Instance)
  • Secures Instance. Returns false if Instance is secured.

Last updated