Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why do I get weird error's inside my game even tho I don't have any scripts in my game yet?

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.

2 comments

0

*I also Saved yes.

0

Core scripts create errors at times

1 answer

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 :)

1 comment

0

Ty so much!

This discussion is preserved as it was. New answers, comments, and votes are closed.