Messed up whole thing, Easier to recreate thread than fix
You’re not suppose to run entity files with lua_openscript, ENT won’t be created for you if you do.
Im running it like that to test for errors, The same error happens on startup
Post the error you get on start up. Clearly it’s different as the title of your post says a completely different error to the one you’re getting. Also post your init.lua file
I was unaware that the OP snipped his post. Please use snip next time.