Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

GUI click pop up is not working when i click it and no errors!?

So i had this problem all day i even tried different guis to make this work and it wont work the function wont work at all for anything

script.Parent.MouseButton1Click:connectfunction()

game.StarterGui.MainMenu.Frame.Info.about.Visible = true


just anything that has to do with opening up another frame,textbutttons,labels,imagebuttons,gui's

3 comments

0

First of all, :connect is depreciated. Second, is this in a regular script or a local script?

0

local

0

and what is wrong with connect:?

1 answer

✓ Accepted answer
script.Parent.MouseButton1Click:Connect(function()

script.Parent.MainMenu.Frame.Info.about.Visible = true

script.Parent on line 3 refers to game.Players.LocalPlayer.Playergui since its inside the players playergui, it finds the other gui, goes inside it, and makes it visible.

Jesus christ so hard to explain like my mind actually breaked

4 comments

0

trust me i know xD

0

Friend me please your pretty good at lua

0

IT WONT WORK ALL IT DOES IS JUST REMOVE THE FIRST GUI THEN (THINGS I DID NOT TALK ABOUT) THEN NOT EVEN OPEN UP THE SECOND1

0

nvm u fixe dit thx u!!

This discussion is preserved as it was. New answers, comments, and votes are closed.