Why won't any of my scripts work?

Correct me if I’m wrong here… custom Lua scripts that aren’t entities/NPC’s/SWEPS/etc go in "lua_temp/autorun/client/script_goes_here.lua

…right? Because no matter what script I put in there even when I know for a fact they’re written properly and up to date with Gmod 13, and let’s say I added a console command in the script such as concommand.Add(“Autohealth”, Autohealth) and start up a single player sandbox and type in console “Autohealth” without quotes; it will come up with Unknown command: Autohealth.

I’ve tried everything such as:
lua_openscript_cl autorun/client/script_name_here.lua
lua_run_cl autorun/client/script_name_here.lua
lua_find_cl autorun/client/script_name_here.lua
etc. and tried entering the console command and get nothing still. Anyone have some insight on this? ty

Also I have a normal “lua” folder as well as my lua_temp folder but inside the normal “lua” one is just an “includes” folder and a “modules” folder; lua/includes/modules. Not sure if this has anything to do with the main issue here but yeah just throwing that out there just in case… Ty :3

Lua/autorun, not lua_temp/autorun.

So do I make an autorun folder in my normal lua folder? Cause I’ve tried that as well :confused:

Go to the LUA folder, right click, create new folder, name it autorun. done.

I advise you read this.
Folder List:
lua/ - Base lua folder.
lua/autorun - All scripts in here are run on game startup.
lua/autorun/server - All scripts in here are run on game startup for server only.
lua/autorun/client - All scripts in here are run on game startup for client only.
lua/includes/modules/ - Place modules in this folder.
lua/weapons/ - All folders in here will be loaded as SWEPS.
lua/weapons/<weaponname>/ - SWEP code goes here!
lua/entities/ - All folders in here will be loaded as SENTS.’
lua/entities/<entityname>/ - SENT code goes here!

addons/<addonname>/lua/ - Base lua folder for addon.
addons/<addonname>/lua/autorun - All scripts in here are run on game startup.
addons/<addonname>/lua/autorun/server - All scripts in here are run on game startup for server only.
addons/<addonname>/lua/autorun/client - All scripts in here are run on game startup for client only.
addons/<addonname>/lua/weapons/ - All folders in here will be loaded as SWEPS.
addons/<addonname>/lua/weapons/<weaponname>/ - SWEP code goes here!
addons/<addonname>/lua/entities/ - All folders in here will be loaded as SENTS.
addons/<addonname>/lua/entities/<entityname>/ - SENT code goes here!

gamemodes/<gamemodename>/gamemode/ - Gamemode code goes here!
gamemodes/<gamemodename>/entities/weapons/ - Gamemode SWEPS go here!
gamemodes/<gamemodename>/entities/entities/ - Gamemode SENTS go here!

Make sure sv_allowcslua is also set to 1

Why do you always give boxes to new users ?

Do you consider yourself smarter because you’re not new to GLua ?

are you dumb? i’m helping him because i’m not new to glua