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

Idk what it's called but how do you supply numbers in :connect(functionname)?

Asked by
Cesire 45
8 years ago

This is what I've tried:

function Click(What)
print(What)
end

script.Parent.MouseButton1Click:connect(Click(1))

Here is the errors:

--Wont post my time here :D

Loaded gloo library. Type _G.gloo.Help() for help.

1

Ok when I click it:

00:00:00 - attempt to call a nil value

I put 00:00:00 there because I do not want you to know my timezone.

Answer this question