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: Is there a way in-game chat can be displayed in a textBox?

Previous Thread :: Next Thread 
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
30 Apr 2014 07:30 PM
I have another GUI where the normal chat would go, so I want the chat to be displayed on the bottom right corner. Help is greatly appreciated.
Report Abuse
KOTwarrior is not online. KOTwarrior
Joined: 13 Jun 2012
Total Posts: 4376
30 Apr 2014 07:35 PM
Chatted event. Get the message through the argument. Probably you would use it as such:

-- local script in starterpack


local gui = game.StarterGui.myguiname.Frame.TextLabel


local Chatted = function(msg)
gui.Text = game.Player.LocalPlayer.Name .. ": " .. msg
end

game.Players.LocalPlayer.Chatted:connect(Chatted)


-- http://wiki.roblox.com/index.php/Chatted_(Event)
Report Abuse
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
30 Apr 2014 07:36 PM
Is that a perfect script or do I have to customize anything? Also, does this replace or copy the chat?
Report Abuse
KOTwarrior is not online. KOTwarrior
Joined: 13 Jun 2012
Total Posts: 4376
30 Apr 2014 07:39 PM
Change the name of the GUI to the name of yours, and you have to position the GUI yourself. You can set the chat to bubble chat and it still works.
Report Abuse
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
30 Apr 2014 07:53 PM
Not working
Report Abuse
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
30 Apr 2014 07:55 PM
You sure the GUI goes in starterPack, or do you mean starterGui?
Report Abuse
monkey1589 is not online. monkey1589
Joined: 06 Feb 2010
Total Posts: 2334
30 Apr 2014 08:26 PM
Sometimes it may need to go into workspace! If you are talking about the gui itself, then yes!
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
30 Apr 2014 08:27 PM
Monkey you're killing me

The script goes into startergui. Change myguiname to the name of your gui. Its that simple.
Report Abuse
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
30 Apr 2014 08:32 PM
None of that is working.
Report Abuse
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
30 Apr 2014 08:33 PM
Where does the localScript go and is a Frame required?
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