i want to know when or if my script gets an error, for example:
local Fart = nil
Gives no errors, but this:
local Fart = FARD
Would because “FARD” does not exist.
How would i detect if this does give an error tho?
i want to know when or if my script gets an error, for example:
local Fart = nil
Gives no errors, but this:
local Fart = FARD
Would because “FARD” does not exist.
How would i detect if this does give an error tho?
you cant tell until you actually run the game(unless you want to make a complicated plugin).
You can put it in a pcall though to detects if it errors
one issue, my script has a lot of functions and things and i dont wanna wrap all of that in a pcall, plus idk how to use them
well to my knowledge that is the only way.