|
| 13 Feb 2014 08:25 PM |
can someone edit my close gui script so it closes the intro gui forever instead of showing every time the player spawn?Thx
function onClicked() script.Parent.Parent.Parent:Destroy() end script.Parent.MouseButton1Click:connect(onClicked) |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 13 Feb 2014 08:26 PM |
| try MouseButton1Down, not sure if that's correct |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
| |
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 13 Feb 2014 08:27 PM |
Clone the GUI to the player every time they join, instead of putting in to StarterGui.
Otherwise put if a value in to the player when they click the button. If they have the value, then auto delete itself. |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Feb 2014 11:19 PM |
| will it be better to put the gui in the lighting and then clone it from there? |
|
|
| Report Abuse |
|
|
Hazania
|
  |
| Joined: 04 Jun 2010 |
| Total Posts: 1344 |
|
| |
|
|
| 15 Feb 2014 10:59 AM |
| soo uhh how do you do that? |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2014 11:01 AM |
--genius here--
game.Players.PlayerAdded:connect(function(plr) wait(3.2)--makin sure the plrgui has loaded gui = game.Lighting.NameOfScreenGui:clone() gui.Parent = plr.PlayerGui end)
|
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Feb 2014 11:07 AM |
| np,i on here to help ppl:D |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2014 11:12 AM |
| bad news when i put the intro gui into the lighting and I put the script in workspace it doesn't work. what do I do? |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2014 11:16 AM |
Tools -Start Server --Start Player
playeradded doesn't work in test solo,so yeah |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2014 11:36 AM |
| I tested it already and it still doesn't work |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2014 11:47 AM |
| wait never mind it works so Thanks! |
|
|
| Report Abuse |
|
|
| |
|