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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: I am very new at scripting and need to know how to..

Previous Thread :: Next Thread 
toxic69 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. toxic69
Joined: 29 Jan 2011
Total Posts: 11787
28 Oct 2012 12:13 PM
oh i was going to use a hint
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
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 is not online. 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 is not online. 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
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
28 Oct 2012 12:28 PM
It's very simple. Just tween it.

¤ ¤ †KMXD† ¤ ¤
Report Abuse
form2275 is not online. 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
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