How to Make A Frame Invisible In A Different Way? (READ TIM'S COMMENT FOR VIDEO)
Asked by
5 years ago Edited 5 years ago
It may sound like a simple question, but I used correct code and when I ran the game, it didn't remove the frame but there was no errors in my output. What's going on here?
Should I use it for a local script or a Server Script?
Note: IN THE VIDEO, THE PROBLEM ISN'T THE CREATE CHARACTER BUTTON, ITS THE TITLE FRAME LABELED "Guest Quest"
01 | local Button = script.Parent |
02 | Frame 2 = script.Parent.Parent |
05 | if Frame 2. Visible = = false then |
07 | elseif Frame 2. Visible = = true then |
08 | Frame 2. Visible = false |
11 | Button.MouseButton 1 Click:Connect(onClick) |
https://www.youtube.com/watch?v=JBfSGzkfw3o