Is it just me or is it not working for the client? Anyways moving on.
What I tried to achieve?
Hello there I was going to make a plugin that if you click on the button on the widget, it generates a new script. But I was stuck to this problem that you can't click a button.What I tried to do
I created a demo script that is inside a textbutton and used it to print “Hello World!” in the console when clicked. Here is my 2 functions I tried.
Heres my first with mousebutton1click.
script.Parent.MouseButton1Click:Connect(function()
print("Hello World!")
end)
And then tried again, but with a different function.
script.Parent.Click:Connect(function()
print("Hello World!")
end)