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

How to Make A Frame Invisible In A Different Way? (READ TIM'S COMMENT FOR VIDEO)

Asked by 4 years ago
Edited 4 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"

local Button = script.Parent
Frame2 = script.Parent.Parent

function onClick()
if Frame2.Visible == false then
        Frame2.Visible = true
    elseif Frame2.Visible == true then
        Frame2.Visible = false
end
end
Button.MouseButton1Click:Connect(onClick)

https://www.youtube.com/watch?v=JBfSGzkfw3o

0
Tried it out and it worked, did you use a local script or server script. iiConstable_Subwayx 130 — 4y
0
I used a local script PAYDAYGAMING0942 10 — 4y
0
can u show a vid or something HappyTimIsHim 652 — 4y
0
one time i had something like this but maybe you duplicated the button and forgot to move it so your actually clicking a button on top of it HappyTimIsHim 652 — 4y
View all comments (6 more)
0
I made the video link to see now PAYDAYGAMING0942 10 — 4y
0
blocked HappyTimIsHim 652 — 4y
0
nvm for all the other people watch this https://www.youtube.com/watch?v=JBfSGzkfw3o HappyTimIsHim 652 — 4y
0
so the script is in create character HappyTimIsHim 652 — 4y
0
No, the local script is inside the GUI of the Customize Guest Frame PAYDAYGAMING0942 10 — 4y
0
What I want is to remove the title frame from the create character frame PAYDAYGAMING0942 10 — 4y

Answer this question