imike218
|
  |
| Joined: 28 Nov 2010 |
| Total Posts: 350 |
|
|
| 22 Dec 2011 06:13 PM |
i got the script made finally and it works.. to an extent. The message comes up when the player touches the brick, but then it never goes away.
debounce = false function onTouched(hit) if debounce == false then debounce = true msg = Instance.new("Message") msg.Parent = game.Workspace msg.Text = "oh good survivors. right now is not the time to talk. just go ahead and got that white looking area over there." wait(3) msg:remove() debounce = false end end
script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
352ynnhoj
|
  |
| Joined: 21 Sep 2010 |
| Total Posts: 1054 |
|
|
| 22 Dec 2011 06:15 PM |
| you have to search the player for the message not the instanced message |
|
|
| Report Abuse |
|
|
bob354293
|
  |
| Joined: 26 Oct 2008 |
| Total Posts: 2609 |
|
|
| 22 Dec 2011 06:15 PM |
| you sure? because that looks correct to me :p |
|
|
| Report Abuse |
|
|
imike218
|
  |
| Joined: 28 Nov 2010 |
| Total Posts: 350 |
|
| |
|
imike218
|
  |
| Joined: 28 Nov 2010 |
| Total Posts: 350 |
|
|
| 22 Dec 2011 06:19 PM |
| oh wait it does work. 2nd times the charm! |
|
|
| Report Abuse |
|
|