Requested module experienced an error while loading, Unable to load plugin icon. (x2)
Are 2 examples of different error's I've been randomly getting. Why is it doing that? Could someone explain it because I've not used any scripts inside my game execpt:
local clickDetector = workspace.Union.ClickDetector
function onMouseClick() Union.Transparency = 1 end
clickDetector.MouseClick:connect(onMouseClick)
(Don't blame me. New to scripting, the script doesn't even work if I'm not wrong) Yes I have deleted the script and the error's in the output, but as soon as I re-open studio they're still there.
It's not an error at your scripts, it's ROBLOX plugins broke or outdated so it will appear this error but don't worry they will fix it soon!
Also your script should be:
local clickDetector = workspace.Union.ClickDetector function onMouseClick() workspace.Union.Transparency = 1 end clickDetector.MouseClick:Connect(function(onMouseClick)
The error occurs on line 3 in your script:
Because when you just typed Union.Transparency
and the script doesn't know what do you mean by "Union", so it gives out an error, instead, you point out where is the "Union", which is at Workspace > Union, so it's:
workspace.Union.Transparency
instead of
Union.Transparency
Hope this helped :)