I'm trying to make my own plugin, and im using plugin:CreateToolbar("my plugin name") , but it's underlining as an unknown global. Is there a way to define plugin ? Or is it depreciated? Can someone please help me out with this? Thanks.
Full code:
local ToolbarButton = plugin:CreateToolbar("my plugin name")

2 comments
It does underline "plugin" at first when you type out that line. Just keep going and it will soon go away. If you need help, here's a good tutorial for making plugins: https://youtu.be/Rou1Wt9NOww
Thank you.