Clothwork
|
  |
| Joined: 23 Dec 2013 |
| Total Posts: 72 |
|
|
| 02 Feb 2014 05:39 PM |
| How would I give a player a gui when they hit a brick? |
|
|
| Report Abuse |
|
|
truefire2
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 5330 |
|
|
| 02 Feb 2014 05:42 PM |
function ontouch(hit) player = game.Playerst:GetPlayerFromCharacter(hit.Parent) GUI:Clone().Parent = player.PlayerGui end
script.Parent.Touched:connect(ontouch)
haven't checked it, not sure if it works |
|
|
| Report Abuse |
|
|
truefire2
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 5330 |
|
|
| 02 Feb 2014 05:43 PM |
Oops, not playerst
*Players |
|
|
| Report Abuse |
|
|
shawnyg
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 1428 |
|
|
| 02 Feb 2014 05:44 PM |
You didn't give him any space to define the "GUI" variable.
GUI = PathHere
~Hope I helped! If you need a script, PM me.~ ~The G~ ~CAT General Shawnyg~ |
|
|
| Report Abuse |
|
|
Clothwork
|
  |
| Joined: 23 Dec 2013 |
| Total Posts: 72 |
|
| |
|