How can I create an object with a reference to a Class? For example if I want to write the following function:
local newRoom = new roomClass();
“error: cannot apply operator ‘new’ to this expression”
I have tried new (roomClass)(); and so on, nothing seems to work.