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 » Scripters
Home Search
 

Re: CHAT

Previous Thread :: Next Thread 
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 03:45 AM
If i made a chat system how would i make it so the lines adjust downwards? like if someone typed a really long msg it would adjust to that :|


Report Abuse
twister1976 is not online. twister1976
Joined: 17 Sep 2010
Total Posts: 2250
03 Jan 2016 03:47 AM
TextScaled = true

If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX


Report Abuse
twister1976 is not online. twister1976
Joined: 17 Sep 2010
Total Posts: 2250
03 Jan 2016 03:47 AM
Or
WordWrap = true --or something... it's about wordwrap you'll see it :P

If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 03:48 AM
nonoonono ok you know how berezaa's chat is like if its too long it scales down the side of the actual box instead of the chat..,


Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
03 Jan 2016 03:49 AM
@twister leaves are valuable :3 xD
Report Abuse
twister1976 is not online. twister1976
Joined: 17 Sep 2010
Total Posts: 2250
03 Jan 2016 03:49 AM
Not sure then?
TaxtScaled seems to fit your description

If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 03:51 AM
That how my other chat worked xd


Report Abuse
twister1976 is not online. twister1976
Joined: 17 Sep 2010
Total Posts: 2250
03 Jan 2016 03:54 AM
lol i said 'Taxt'
Text*

If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 03:54 AM
l3l


Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
03 Jan 2016 03:55 AM
Whatever you do don't use the TextWrapped property. It is completely useless in this situation. What you want to do is add newline characters "\n" where it is to wrap.


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 03:58 AM
Tyvm :P Plus if i was going to make multiple frames such as a name followed by a rank in a color or an image like

[BETA](BlueColor)Player.Name(Red) something like that? would i do multiple frames then make the size like rank.Size = UDim2.new(0,rank.TextBounds.X+12,0,10) or huhuuhuhu?


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 04:06 AM
ms1:TweenPosition(UDim2.new(0, ms.TextBounds.X, 0, ms.Position.Y.Offset), "Out", "Sine", 0.2, true)
ms is the players name and ms1 is the players msg and it doesn't want to go to the end where is supposed to be :(


Report Abuse
AkaLua is not online. AkaLua
Joined: 27 Jul 2012
Total Posts: 526
03 Jan 2016 04:28 AM
Do it on number of characters? If you get too many characters, go to the start of the previous word and add "/n", I think.


-____________________________-
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 06:19 AM
b


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 08:31 AM
b


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
04 Jan 2016 03:03 AM
b


Report Abuse
AkaLua is not online. AkaLua
Joined: 27 Jul 2012
Total Posts: 526
04 Jan 2016 10:06 AM
Alright fine. I gave it some thought here you are. For every message from a character, have a variable called score. Check each letter and if there is a lower case character add 1 to the score, a capital add 1.5, a punctuation mark add 0.5. If the score is greater than a certain value (you'll have to change this to match the size of your chat) then insert a "n/" or whatever it is.


-____________________________-
Report Abuse
darthdemox is not online. darthdemox
Joined: 19 Jan 2013
Total Posts: 123
04 Jan 2016 10:14 AM
i made a chat script recently, what i did was like^^^
(didnt thes this script)

--message for example = "Just a message", (has a lenght of 14)

local lenght = #string.sub(message, 1)
local max = 10

if lenght > max then
--textbox 1
textbox1.Text = string.sub(message, 1, max)
--new texbox
textbox2.Text = string.sub(message, max+1)
elseif lengt <= max then
textbox1.Text = string.sub(message, 1)
end
Report Abuse
BrickTechnology is not online. BrickTechnology
Joined: 26 Apr 2013
Total Posts: 161
04 Jan 2016 12:13 PM
You might want to add TextScaled


Report Abuse
AkaLua is not online. AkaLua
Joined: 27 Jul 2012
Total Posts: 526
04 Jan 2016 12:30 PM
Thatd just make the text smaller, leading to impossibly small text.


-____________________________-
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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