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)

10 comments
Tried it out and it worked, did you use a local script or server script.
I used a local script
can u show a vid or something
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
I made the video link to see now
blocked
nvm for all the other people watch this https://www.youtube.com/watch?v=JBfSGzkfw3o
so the script is in create character
No, the local script is inside the GUI of the Customize Guest Frame
What I want is to remove the title frame from the create character frame