|
| 03 Sep 2017 05:28 PM |
script.Parent.MouseClick:connect(function(player) Gui.Visible = true
end) yes I defined gui with local.
the script is in click detector.
|
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Sep 2017 05:31 PM |
| local Gui = game.StarterGui.GUI.ScreenGui.Frame ################################################# Gui.Visible = true end) no output |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2017 05:36 PM |
lol
script.Parent.MouseClick:Connect(function(plr) plr.PlayerGui.GUI.ScreenGui.Frame.Visible = true end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Sep 2017 05:41 PM |
| What is the Hierarchy of your StarterGui |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2017 05:43 PM |
the screenGUI is in folder called GUI
|
|
|
| Report Abuse |
|
|
|
| 03 Sep 2017 05:45 PM |
| that code works fine then unless something is wrong outside the script |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2017 05:48 PM |
its not... legit copy and pasting it.
|
|
|
| Report Abuse |
|
|
|
| 03 Sep 2017 05:58 PM |
anyone know why this ain't working?
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 07 Sep 2017 05:16 AM |
"MouseClick" is for ClickDetectors. Not GUI's. -> script.Parent.MouseButton1Click:Connect(function(player) |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 07 Sep 2017 05:17 AM |
| MouseButton1Click doesn't pass a player object |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2017 05:25 AM |
I know. > script.Parent.MouseButton1Click:Connect(function(h) local player = game.Players:GetPlayerFromCharacter(h)
if player then -- stuff
end end) |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 07 Sep 2017 05:26 AM |
| It doesn't pass a character either |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2017 07:19 AM |
ForceCyber why are you back? Did you think you became good enough to chill with us? You're not. You've had months, are you even trying? Not likely. Last time you were here, you wouldn't listen to anyone who was trying to teach you, you wouldn't learn period.
Case in point: https://forum.roblox.com/Forum/ShowPost.aspx?PostID=215566847
"Nah I don't respond to him seriously. He isn't serious about taking our advice after all, so I don't waste my time with someone who isn't open to advice and learning." Me, 25 of May 2017.
Ironically, he also said this: "There's always a way to success. If so, what's the meaning of life? It just takes time, because nothing is impossible." and "Lol. Get some help, all can success if you work for it. Apparently you're not one of them. Famous people exist for a reason." (He hasn't worked for it, he hasn't been successful)
During this trip down memory lane, I saw a thread where Robloxinaterr was being stupid again. I didn't realize he had been at it for so long, though I do remember the thread. https://forum.roblox.com/Forum/ShowPost.aspx?PostID=222327392 https://forum.roblox.com/Forum/ShowPost.aspx?PostID=216388960
|
|
|
| Report Abuse |
|
|
|
| 07 Sep 2017 08:14 AM |
Insert ClickDetector in your gui then do,
script.Parent.ClickDetector.MouseClick:connect(function(player)
:) |
|
|
| Report Abuse |
|
|