|
| 02 Sep 2012 06:58 PM |
my goal is that once I say "poot" the door will be transparent, cancollide will be false, and then 1 second later it will be removed sucessfully.
door = script.Parent --this is the door
function onChatted(msg, recipient, speaker)
-- convert to all lower case
local source = string.lower(speaker.Name) msg = string.lower(msg)
if (msg == "poot") then door.CanCollide = false door.Transparency = 1 wait(1) door:Destroy() end |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
| |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 02 Sep 2012 07:07 PM |
| Daar ben ik het niet mee eens. |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2012 07:12 PM |
| aya, 我不是说“Dutch。” 我是说英文,也我是说中文。 |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2012 12:56 AM |
It is such a small code... Why not you test it? |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2012 01:08 AM |
| Taking the time to post this on the scripters forum and waiting for a reply, would take you the same amount of time to test it. |
|
|
| Report Abuse |
|
|
| |
|