|
| 21 Jan 2014 10:02 PM |
What are some tips? I need things like, How to work out the position / size of the box based on the size of the text and such |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:03 PM |
You have a chat gui with code available right on ROBLOX. Just take a look at your friendly neighborhood CoreScripts!
~LuaWeaver; Programmer, gamer, developer. |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:04 PM |
| I'm not sure how to look at the core scripts |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:05 PM |
I suggest starting up your player, then cloning everything in CoreGui into workspace. You can see them there.
~LuaWeaver; Programmer, gamer, developer. |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:06 PM |
| Core scripts aren't stored in core gui anymore unless they changed it back |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:06 PM |
Oh, a note, do it with the Studio start player, not solo. I don't know about the differences, safer that way.
~LuaWeaver; Programmer, gamer, developer. |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:10 PM |
I was right for i,v in pairs (Game.CoreGui:GetChildren()) do v.Parent = workspace end No scripts in any of them qq |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:11 PM |
for i,v in pairs (Game.CoreGui:GetChildren()) do x=v:clone() x.Parent = Workspace end
The above works. I just did it in studio. |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:13 PM |
But I don't want the gui (And really the scripts probably won't help much) I need help working out the size Like if they say "Hello my name is BLAH" How do I know how big to make the chat box that holds that text? |
|
|
| Report Abuse |
|
|
|
| 21 Jan 2014 10:13 PM |
"Chat box that holds that text" Text box* |
|
|
| Report Abuse |
|
|
123eee555
|
  |
| Joined: 15 Feb 2009 |
| Total Posts: 199 |
|
|
| 21 Jan 2014 10:58 PM |
Perhaps have the script measure the amount of characters in the text, then multiply the width by said amount, don't ask me for polished code, I cant do the lua well :l
DatChatGui = Instance.new("TextBox") DatChatGui.Text = ChattedMessage DatChatGui.Size = UDim2.new(0,#ChattedMessage*7,0,20) DatChatGui.Parent = WhateverYourChatHolderIs |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:19 PM |
That sounds like a good idea but, it wouldn't work Not all characters are the same size _ ! For example |
|
|
| Report Abuse |
|
|