toxic69
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 11787 |
|
|
| 28 Oct 2012 11:59 AM |
| in my bases i would like to have moving messages at the top. please let me know how to do this |
|
|
| Report Abuse |
|
|
form2275
|
  |
| Joined: 09 Jul 2007 |
| Total Posts: 6041 |
|
|
| 28 Oct 2012 12:00 PM |
| Do you want to use a GUI, or a Hint? |
|
|
| Report Abuse |
|
|
toxic69
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 11787 |
|
|
| 28 Oct 2012 12:01 PM |
| it is not a hint it is just an in game message like if it were to say while moving across the top of the screen but still having multiple messages like Join ESR but not just that long sentences. |
|
|
| Report Abuse |
|
|
form2275
|
  |
| Joined: 09 Jul 2007 |
| Total Posts: 6041 |
|
|
| 28 Oct 2012 12:07 PM |
A hint is that black bar that you see at the top of your screen in some game.
A GUI is a customization interface.
Which are you going to use? |
|
|
| Report Abuse |
|
|
toxic69
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 11787 |
|
|
| 28 Oct 2012 12:13 PM |
| oh i was going to use a hint |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2012 12:16 PM |
You can't really animate Hints. Hints are pretty much deprecated now that we have GUIs, things that you *can* move across the screen.
¤ ¤ †KMXD† ¤ ¤ |
|
|
| Report Abuse |
|
|
form2275
|
  |
| Joined: 09 Jul 2007 |
| Total Posts: 6041 |
|
|
| 28 Oct 2012 12:23 PM |
Well, you can sort of animate hints, or make it look animated by changing the text in a loop.
Sorry if it has mistakes, but this might work.
MessageWidth = 50 Messages={"Hi", "More Stuff"} Hint = Instance.new("Hint",game.Workspace)
while wait() do
for _,txt in next, Messages do
for scan=1,MessageWidth+#txt do wait()
Hint.Text = "" for spin=1,MessageWidth-scan do Hint.Text = Hint.Text.." " end Hint.Text = Hint.Text..txt for spin=1,scan do Hint.Text = Hint.Text.." " end Hint.Text = String.sub(Hint.Text,1,MessageWidth)
end
end
end |
|
|
| Report Abuse |
|
|
form2275
|
  |
| Joined: 09 Jul 2007 |
| Total Posts: 6041 |
|
|
| 28 Oct 2012 12:24 PM |
This is a very rough script and I would recommend using a GUI, but If you really want to use a Hint, try it.
With a GUI, you have to use UDim2 positioning that I don't want to do right now. |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2012 12:28 PM |
It's very simple. Just tween it.
¤ ¤ †KMXD† ¤ ¤ |
|
|
| Report Abuse |
|
|
form2275
|
  |
| Joined: 09 Jul 2007 |
| Total Posts: 6041 |
|
|
| 28 Oct 2012 01:10 PM |
>>KnightmareXD I completely forgot about that. I'm not used to the new functions that Roblox added. |
|
|
| Report Abuse |
|
|