|
| 13 Aug 2013 08:38 PM |
How can I make it so when you click a brick, A Gui pops up? The script is in the brick too. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 13 Aug 2013 08:40 PM |
| Yeah but the click detector is only making the brick 'Clickable'. I need it so when you click the 'Clickable' brick, A gui pops up into the clicker. |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2013 08:42 PM |
local thegui = game.Lighting.GUI -- path to gui in your game
script.Parent.ClickDetector.MouseClick:connect(function(Player) thegui:Clone().Parent = Player.PlayerGui end) |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2013 08:45 PM |
So using the ClickDetector's parent to Clone the Gui in Lighting? Wow... Thanx Thumbs up for Agent :L!
**All forum posts below will not be read :L** |
|
|
| Report Abuse |
|
|