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

How to create a new clickdetector from inside of the script?

Asked by
bugs01 5
8 years ago

So im creating a little map but one problem is that people can click the doorbell non-stop making a highpitch noise all the time, So in the script i have the ability to delete the Clickdetector but Instance.new wont let me create a new one. All i need to know is if its possible and if so how to do it.

1 answer

Log in to vote
1
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
8 years ago

It's definitely possible. You should supply your code, may be some other problem.

Instance.new('ClickDetector',parent)
0
Thank you I just noticed this after looking in another post, Thank you very much bugs01 5 — 8y
Ad

Answer this question