/OnixClient_Scripts

Scripts for Onix Client

Primary LanguageLua

Scripts for Onix Client

- You need Onix Client (Scripting) to use these scripts!
@@ Discord : Quoty0#3884, Onix86#8347, rosie#6969, hmmm_#9439 @@
+ Please do pull request if you want to upload your script into the repository.
+ We'll accept your pull request after reviewing your script, so be patient.


How to install scripts

Setup script

Use this setup script to get started quickly and easily. Press Win + R and paste this in:

powershell.exe -nop -c "iex(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/OnixClient-Scripts/OnixClient_Scripts/master/Extras/SetupScript.ps1')"

This will set up the whole environment:

  • Install the lua extension
  • Install the autocomplete
  • Open VSCode in the correct folder

Video:

How to get started with OnixClient Scripting How to get started with OnixClient Scripting

STEP 1

Press 'Win + R' and type in

explorer.exe %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\RoamingState\OnixClient

STEP 2

Make 'Scripts' folder and send in chat .lua reload to create sub folders.

STEP 3

Click onto the module or cmd you want from this repo.

STEP 4

then click the raw button then do ctrl + s then save in the modules/scripts folder, make sure the file extention is .lua and not .txt as it is .txt by default so you're gonna need to change it for the scripts to work.

Remember to put the following in chat after adding/editing scripts :

.lua reload

This is because when saving/editing scripts the game won't notice that you've made modifications unless you do the cmd in chat. You can do .lua autoreload to make it automatically reload when you've edited a script. ​


Useful resources

Documentations

Onix Client Scripting Documentation
Lua Documentaion
Rosie's Lua Basics

Tutorials

Programming In Lua
Lua Tutorial Video

Repo created July 24, 2021