a statically typed aot compiled scripting language is... not
"Scripting" is a role: an embedded, human-friendly, compact language, also suitable for interactive work / REPL.
(Laugh all you want, but Haskell has a rather nice REPL, and can work as a scripting language.)
Luau gets pretty close to statically typed and AOT compiled now. It's still a scripting language.
Even C or Rust can be a scripting language. You just integrate the toolchain to your app, same as every other scripting language.
I script with Rust via cargo-script, it works great. Scripting is a task for when you want to achieve something in one file instead of a full blown application. It is not about the language, you can script in C or assembly if you so chose.