filhynate
|
  |
| Joined: 08 Jun 2010 |
| Total Posts: 48 |
|
|
| 05 Aug 2010 10:10 PM |
Ok, I need to know how to make a message that only the person that said the right thing do? Like, a script so only the person who said help, would see the Message? would a "function (onChat) (onPlayerentered) work? help me please also, how would I make a GUI pop up, once someone touches a button? |
|
|
| Report Abuse |
|
|
| |
|
filhynate
|
  |
| Joined: 08 Jun 2010 |
| Total Posts: 48 |
|
| |
|
|
| 05 Aug 2010 10:16 PM |
| yes ill make the script for you just tell me what the person says and what happens it the say it |
|
|
| Report Abuse |
|
|
filhynate
|
  |
| Joined: 08 Jun 2010 |
| Total Posts: 48 |
|
|
| 05 Aug 2010 10:19 PM |
Ok, when someone says "Help" a GUI pops up all i need to know, I have an idea..here lemme tell you
unction onChatted(msg, speaker) source = string.lower(speaker.Name) msg = string.lower(msg) -- Note: This one is NOT caps sensitive
if msg == "help" then local g = Instance.new("ButtonGUI") end end
function onPlayerEntered(newPlayer) newPlayer.Chatted:connect(function(msg) onChatted(msg, newPlayer) end) end game.Players.ChildAdded:connect(onPlayerEntered) |
|
|
| Report Abuse |
|
|
| |
|
filhynate
|
  |
| Joined: 08 Jun 2010 |
| Total Posts: 48 |
|
|
| 05 Aug 2010 10:26 PM |
| How to make the script, WAIT was the one i showed u right? Plz tell me |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2010 10:28 PM |
| yeah it is though, you still need a script for the button gui unless you want it ust a textbox |
|
|
| Report Abuse |
|
|
filhynate
|
  |
| Joined: 08 Jun 2010 |
| Total Posts: 48 |
|
|
| 05 Aug 2010 10:31 PM |
Ok, so It works? I dont think.....brb
|
|
|
| Report Abuse |
|
|