|
| 25 May 2014 08:34 AM |
| When you say something then messages show. |
|
|
| Report Abuse |
|
|
| 25 May 2014 09:10 AM |
Lemme build you one: (put this code into a script with its parent as the microphone model)
msg=Instance.new("Message") mikepart=script.Parent.MicrophoneBit --set this to part of the microphone game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(txt) if player.Character then if (player.Character.Torso.Position-mikepart.Position).Magnitude<3 then msg.Text=txt msg.Parent=Workspace wait(5) msg.Parent=game.Lighting end end end) end)
Ok, hopefully this should work. It basically checks if your character is near (within 3 studs) to the microphone and if so, it displays the message for five seconds. Hope this helps. |
|
|
| Report Abuse |
|