So I’ve been making a plugin and keep getting this error when I start it:
Attempt to index nil with "CreateToolbar"
And when I try
print(plugin) -- in the command bar
It prints nil. All my other plugins are working, has plugin become deprecated/removed or something? This is in a published place.
The plugin code: (quite short)
local Toolbar = plugin:CreateToolbar("Utils")
game:GetObjects('rbxassetid://6526614487')[1].Parent = game:GetService('ReplicatedStorage')
Try print(plugin) from a plugin script? E.g. create a new empty script, put the print statement in it, right click, save as local plugin. IIRC, the command bar is a different environment from plugin scripts, so it should print nil from the command bar.