|
| 21 Feb 2016 10:14 AM |
I wanna know how to make when I touch the brick to change a surface gui brick, a simple brick.
technically i am making a bus game and want to show announcements on the bus,
So when I hit that brick the sign text will change, please help
Acentrix ll Don't Ban me ll |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 21 Feb 2016 10:15 AM |
i'll get you started out
script.Parent.Touched:connect(function() -- change gui stuff end
R$1,888 for this! pm my main isc88! |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2016 10:18 AM |
So if I have a brick and the child are : Workspace.bussign.label.test
Test is the textlabel Label is surfacegui bussign is Part.
What do I do to change the text when I touch another brick..
Oh and in workspace, there is a brick called touchme, so basicly when I touch it I want it to change the text of bussign
Acentrix ll Don't Ban me ll |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2016 10:20 AM |
So yea ^^ Look what I said, help me?
Acentrix ll Don't Ban me ll |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 21 Feb 2016 10:20 AM |
--put this in a script in touchme script.Parent.Touched:connect(function() game.Workspace.bussign.label.test.Text = "WHATEVER YOU WANT!" end
R$1,288 for this! pm my main isc88! |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2016 10:21 AM |
k thanks :)
Acentrix ll Don't Ban me ll |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 21 Feb 2016 10:21 AM |
yw
R$1,288 for this! pm my main isc88! |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2016 10:23 AM |
It does not work... https://gyazo(DOT)com/4b847382a775d07a86239e6a03a95003
Acentrix ll Don't Ban me ll |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2016 11:24 AM |
It does not work, maybe make a model or maybe tell me a new script?
Acentrix ll Don't Ban me ll |
|
|
| Report Abuse |
|
|