When using TestService macros, they cannot be manipulated (stored in variables, cast to string or number, etc.) or called without parenthesis, or else they crash studio. When called with parenthesis, they function normally.
Steps to reproduce:
- Set
ExecuteWithStudioRun
to true - Insert a Script with the following code into it in:
print(RBX_CHECK)
- Press ‘Run’
- Watch as Studio shows a “We encountered an error and have to quit” dialog
The same thing happens if you attempt to store a macro in a variable (test = RBX_CHECK
) and when calling them with no parenthesis (RBX_CHECK"test"
), both of which should be valid in Lua.