I've now got it to build ok, thanks for your help.
However, I'm now getting the following error.
Lua Sandbox is ticked in options.
The correct path to the Lua scripts is as below but I'm not sure why it's looking in the wrong place.
"C:\Users\G\Documents\Leadwerks\Projects\newproject\Scripts"
Can you help, thanks.
Run time error below-
Error: No debugger hostname supplied in command line.
Initializing Lua...
Warning: Lua sandboxing disabled.
Executing file "C:/Users/G/Documents/Leadwerks/Projects/Scripts/Error.lua"
Error: Failed to read file "C:/Users/G/Documents/Leadwerks/Projects/Scripts/Error.lua".
Executing file "C:/Users/G/Documents/Leadwerks/Projects/Scripts/Main.lua"
Error: Failed to read file "C:/Users/G/Documents/Leadwerks/Projects/Scripts/Main.lua".
Error: Failed to execute script "Scripts/Main.lua".
Press any key to continue . . .