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

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

Asked by 4 years ago

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

0
First of all, :connect is depreciated. Second, is this in a regular script or a local script? Jexpler 63 — 4y
0
local legendarycoos11 1 — 4y
0
and what is wrong with connect:? legendarycoos11 1 — 4y

1 answer

Log in to vote
0
Answered by
iuclds 720 Moderation Voter
4 years ago
Edited 4 years ago
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

0
trust me i know xD legendarycoos11 1 — 4y
0
Friend me please your pretty good at lua legendarycoos11 1 — 4y
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 legendarycoos11 1 — 4y
0
nvm u fixe dit thx u!! legendarycoos11 1 — 4y
Ad

Answer this question