[error] Lua Scripting

The error in this thread has been solved.

This really isn’t enough information for us to help you. If you’re trying to call the function “SaveProfile” make sure the function exists…

The error in this thread has been solved.

Lua is case-sensitive, you can’t call a function called “saveprofile” as “SaveProfile”.

The error in this thread has been solved.

Error in Function?

The error in this thread has been solved.

CS is not defined in that snippet.

The error in this thread has been solved.

CS is not defined, meaning CS doesn’t exist, at least as far as we can tell.

The error in this thread has been solved.

No, in the code you posted there is a variable called CS, what is that variable? Because in the code you posted CS is not defined so we don’t know what it is.

The error in this thread has been solved.

CS (CashSave) is 60. You can’t just take parts of the code, paste it and expect everything to work flawlessly. Either try to understand what you are doing and learn Lua, or hire somebody to do it for you.