I am trying to make a Gui show up on click, but the script just WON'T work!
script.Parent.MouseButton1Down:connect(function()
script.Parent.Select.Visible = true
end)
I am trying to make a Gui show up on click, but the script just WON'T work!
script.Parent.MouseButton1Down:connect(function()
script.Parent.Select.Visible = true
end)
Is the thing you are trying to make "Visible" a Frame?
If it is a ScreenGui then replace Visible with Enabled
if it is a Frame that I don't have a clue. Also include the error message next time ;)
Your not making sense... there is no error in studio, and it is a frame.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Error? script in right place? is the code even running?
Yes, the script is in the correct place, but the script for some reason will NOT do anything. I have no clue why! Also, it says "Go to script error", but no error is shown.
Are you still in Play mode? If you go back to studio mode or whatever thing you will not see the erroring script. You need to still be in Play Mode.