So I am trying to make a button disappear by clicking a text button. I tried making a script but it didn't work. Here's the script:
game.Workspace.Model.Textbutton Mousebutton1click = game.Workspace.Droppers(destroy)
Please reply
Thanks
script.Parent.MouseButton1Click:connect(function() game.Workspace.Part.Transparency = 1 end)
That simple. :) The first line is basically the function. If mouse button1 is clicked, it will fire the block of code under it.
** For the example shown above, I input the script into a local script whose parent is the Textbutton.