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: Using Chat for players?

Previous Thread :: Next Thread 
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Dec 2012 10:29 PM
How would I make a chat(like the dialogue chat*red, blue, green*) appear above the player's head? I could get the message(what they said) into it, I just don't know how to instance it, any help?

For hippies: http://www.roblox.com/Peace-Shirt-TRANSPARENT-item?id=99429853
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
23 Dec 2012 10:33 PM
This is something I made:
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
wait(1)
game:GetService("Chat"):Chat(player.Character.Head, msg, Enum.ChatColor.Green)
end)
end)
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Dec 2012 10:36 PM
Thanks!

For hippies: http://www.roblox.com/Peace-Shirt-TRANSPARENT-item?id=99429853
Report Abuse
Usering is not online. Usering
Joined: 18 Aug 2012
Total Posts: 10281
23 Dec 2012 11:22 PM
Game.Players.PlayerAdde:connect(function(player)
player.Chatted:connect(function(msg)
game:service'Chat':Chat(player.Character.Head,msg,Enum.ChatColor.Red)
end)
end)
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
23 Dec 2012 11:56 PM
My way is shorter than Usering's.

game.Players.PlayerAdde:connect(function(player)
player.Chatted:connect(function(msg)
game:service'Chat':Chat(player.Character.Head,msg,"Red")
end)
end)

Removed a few words :P
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
24 Dec 2012 12:08 AM
^ your name is a lie...

For hippies: http://www.roblox.com/Peace-Shirt-TRANSPARENT-item?id=99429853
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
24 Dec 2012 12:09 AM
So is your's. . .

¤ † KMXD† ¤
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
24 Dec 2012 12:10 AM
Maybe. This account used to be a sALT.
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