generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Chat Gui

Previous Thread :: Next Thread 
GearMechs is not online. GearMechs
Joined: 01 Dec 2010
Total Posts: 1220
13 Aug 2014 08:54 PM
How do i detect the chat of all players in game through script?
I need it to be inside a joined player, and already have players previously joined, so it cant be playeradded
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
13 Aug 2014 08:57 PM
chats = {}

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(chat)
table.insert(chats, p.Name .. " said " .. chat)
end)
end)
Report Abuse
GearMechs is not online. GearMechs
Joined: 01 Dec 2010
Total Posts: 1220
13 Aug 2014 08:59 PM
not playeradded.....
Bump -
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
13 Aug 2014 09:00 PM
l0l
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
13 Aug 2014 09:00 PM
Oopsy, sorry.

chats = {}

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(chat)
table.insert(chats, p.Name .. " said " .. chat)
end)
end)

for i,v in pairs(game.Players:GetChildren()) do
v.Chatted:connect(function(chatted)
table.insert(chats, p.Name .. " said " .. chatted)
end)
end
Report Abuse
GearMechs is not online. GearMechs
Joined: 01 Dec 2010
Total Posts: 1220
13 Aug 2014 09:00 PM
bump
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
13 Aug 2014 09:02 PM
sur r u blind
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
13 Aug 2014 09:02 PM
he blind
lets beat him up
Report Abuse
GearMechs is not online. GearMechs
Joined: 01 Dec 2010
Total Posts: 1220
13 Aug 2014 09:03 PM
lol thanks
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
13 Aug 2014 09:04 PM
he said bump at the same time you posted
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
13 Aug 2014 09:04 PM
But it was posted after, therefor we have to beat him up.
Report Abuse
TakeYourLemons is not online. TakeYourLemons
Joined: 04 Jul 2014
Total Posts: 177
13 Aug 2014 09:05 PM
wow and people post thoughtful code snippets and you get ingrateful replies...no wonder the natives are restless.

Maybe we can just post RFTW for every post.

Read the Frickin Wiki.
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
13 Aug 2014 09:05 PM
nonono

he says thanks so its k
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image