is it still working?
Yes, warning is still working. If it doesnât say âThis item has been deprecatedâ, then it is still there as a feature.
Is it better to use assert or warn?
Warn.
Ignore that message, it doesnât really mean anything. Warn will always work for you, period.
warn() is basically Robloxâ print() except yellow and counted as a warning. It will always work, but will take a bit of yielding.
oh wow ive been banned
but uh warn its just like print but its yellow
What do you mean âyieldingâ? warn() doesnât yield by itself.
I think it also takes an additional parameter?
I think either warn or error takes an additional parameter.
These are two completely different functions. Assert evaluates whether something equals to nil/false, and errors accordingly using the optionally provided string.
This is useful to debug code prone to user-errors such as functions which require a set amount of parameters of specific types etc. You usually assert at the beginning of a function block.