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

10 comments

0

Tried it out and it worked, did you use a local script or server script.

0

I used a local script

0

can u show a vid or something

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

0

I made the video link to see now

0

blocked

0

nvm for all the other people watch this https://www.youtube.com/watch?v=JBfSGzkfw3o

0

so the script is in create character

0

No, the local script is inside the GUI of the Customize Guest Frame

0

What I want is to remove the title frame from the create character frame