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

Am I able to detect a button click from a script outside the actual button?

Asked by 3 years ago

Because the below script isn't working

And P.S. This script is a child of StarterGui

script.Parent.Hub.Next.MouseButton1Click:connect(NextChapter)
script.Parent.Hub.Back.MouseButton1Click:connect(BackChapter)
0
Add prints to make sure, and also connect is depracted, so use Connect with a capital C AntoninFearless 622 — 3y

Answer this question