xxJaws
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 42 |
|
|
| 17 Feb 2014 01:36 PM |
How do you make a script so that when you touch a certain block that it shows a decal/picture on your screen before you respawn?
I know it starts something like this:
script.Parent.Touched:connect(function(_o)
I don't know the rest of the script :/ Please help. |
|
|
| Report Abuse |
|
|
|
| 17 Feb 2014 01:39 PM |
| I'm not really sure what you mean do you mean like...You touch a brick and that decal shows on your screen? Im not sure if I get what you are trying to say. |
|
|
| Report Abuse |
|
|
xxJaws
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 42 |
|
|
| 17 Feb 2014 01:41 PM |
| Like, for example, if you die, on the screen it says 'You Failed' or something. How do you put a decal on the screen when the player dies? |
|
|
| Report Abuse |
|
|
xxJaws
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 42 |
|
| |
|
|
| 17 Feb 2014 01:58 PM |
you cant put a decal on the screen it would have to be a screen gui and the function would be on character died or something like that |
|
|
| Report Abuse |
|
|
|
| 17 Feb 2014 01:58 PM |
I am also new to scripting but I know what you mean here is a rough version of what I am pretty sure it would look like..
function kill() script.Parent.Parent.Parent.Parent.Character:BreakJoints() --imagebutton here end
|
|
|
| Report Abuse |
|
|
|
| 17 Feb 2014 01:59 PM |
| Or you could have the gui with the image inside the script... |
|
|
| Report Abuse |
|
|
xxJaws
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 42 |
|
| |
|