Hello, I'm trying to print a message if "local debugging = true" but it isn't working. Here's a code sample:
local debugging = true
||||||||||||||||||||||||||||||||||||||||||||||||||||||
if debugging = true then do print("Getting MainUI...") end end
when you want to test if a value is true or false you have to use ==
and you dont use do in if statements, you use do in for loops
so your code would need to have if debugging == true then print("Getting MainUI...") end end