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

Why the button inside of a Frame can't open a Frame?

Asked by 3 years ago
Edited 3 years ago

I'm putting a custom face frame inside another frame so that players can put faces like in those games, when I put the script inside the button image: script.Parent.MouseButton1Click: Connect (function () game.ReplicatedStorage.Events.FaceEvent2: FireServer () end) The face frame does not become visible, I have the folders with Remote Event in Replicated Storange and they do not work, I used another graphical interface for the user, I arrange it and it stops working, but if I put it outside the same Gui as it came it works again before, but I want the Custom Faces frame to be visible within another frame. Here I show you a link of the graphical user interface that I am making! I hope you can help me with my question.

Here i put a link of the Archive .Zip that contain an Image of the Gui that I'm Making for my Fantasy Roleplaying Game: https://www.mediafire.com/file/v9bc25tu6invly0/Faces_Frame_Issues.zip/file

Note: When you upload this, Make sure to extract the file, or extract it with 7-zip!

7-Zip: https://www.7-zip.org/

0
Is the Frame in the frame? MattVSNNL 620 — 3y
0
yes the Frame "Faces" is inside of the other frame and dind't work Queen1234_XD -26 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago
script.Parent.MouseButton1Click:Connect(function()
    if script.Parent.Parent.Background.Visible == false then
        script.Parent.Parent.Background.Visible = true
    else
        script.Parent.Parent.Background.Visible = false

    end
end)
Ad

Answer this question