Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 2 years ago

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.

0
*I also Saved yes. EMoreLikePp 1 — 2y
0
Core scripts create errors at times ColdFoxy07 76 — 2y

1 answer

Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
2 years ago

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

0
Ty so much! EMoreLikePp 1 — 2y
Ad

Answer this question