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

Disconnected event because of exception, what does that mean?

Asked by
Xianon 105
10 years ago

What doea that mean at all?

local TextButton = script.Parent
local ScrollingFrame = script.Parent.Parent
local Calculator = Calculator

function onClick(TextButton)
    print("Loading Cal.exe")
    ScrollingFrame.Visible = false
    Calculator.Visible = true

end

TextButton.MouseButton1Click:connect(onClick)

1 answer

Log in to vote
1
Answered by
dyler3 1510 Moderation Voter
10 years ago

You need to find have the script 'find' the calculator first. Not just put it there like that.

0
My bad as just fixed it, thanks. Xianon 105 — 10y
0
No prob, lol. dyler3 1510 — 10y
Ad

Answer this question