|
| 13 Jan 2014 09:27 PM |
So, if u say a certain word it will do something, say make part1 transparent can anyone help me? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 13 Jan 2014 09:27 PM |
PlayerAdded event Chatted event |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 13 Jan 2014 09:28 PM |
| http://wiki.roblox.com/index.php/Chatted |
|
|
| Report Abuse |
|
|
|
| 13 Jan 2014 09:28 PM |
^ Maybe string manipulation |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
| |
|
| |
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 13 Jan 2014 09:33 PM |
Game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) local mess = Instance.new('Message',workspace) mess.Text = mess Game.Debris:AddItem(mess,2) end) end) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 13 Jan 2014 09:34 PM |
"mess.Text = mess" Somebody made an error |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 13 Jan 2014 09:36 PM |
| The agonies of typing on the iPad makes me refuse to read my own text. |
|
|
| Report Abuse |
|
|
|
| 13 Jan 2014 09:44 PM |
mess.Text = mess.Text
I just made your mind go BWOOSH.
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 13 Jan 2014 09:45 PM |
| No, you just made it go "" |
|
|
| Report Abuse |
|
|
|
| 13 Jan 2014 10:00 PM |
I'm actually a Helper for once. Wow.
game.Players.PlayerAdded:connect(function(player) -- One end here, connects player variable player.Chatted:connect(function(msg) -- One end here, connects msg variable if msg:lower() == "reset" then -- If the message is "reset" then do this player.Character.Torso:remove() -- Do this if the above is true end) -- End for line 1 end) -- End for like 2 end -- End for if-then line
Note that on line 5 you need player.Character because player refers to game.Players version of the character but adding player.Character allows you to edit the player, starting from the full player model |
|
|
| Report Abuse |
|
|