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: How to insert a message or a hint.

Previous Thread :: Next Thread 
BrittTheStooge is not online. BrittTheStooge
Joined: 06 Jul 2012
Total Posts: 1839
05 Sep 2013 08:51 PM
This was from ROBLOX wiki; which can be found here:
http://wiki.roblox.com/index.php/Roblox


How to add messages:
1. Get a script from basic objects.
2. Copy and paste this into it:

local message = Instance.new('Message', game.Workspace) -- Insert a new message in the Workspace.
message.Text = "Hello World!" -- Set the text of the message to "Hello World!".
wait(10)
message:Destroy() -- Remove the message after 10 seconds.

How to add hints:
1. Get another script from basic objects.
2. Copy and paste this into it:

local hint = Instance.new('Hint', Workspace) -- Insert a new hint in the Workspace.
hint.Text = "Hello World!" -- Set the text of the hint to "Hello World!".
wait(10)
hint:Destroy() -- Remove the hint after 10 seconds.


Information you need to know:

-Once you have done that, click the Close Tab button, (the X), to exit the script editor.
To run the script, press the Play Studio button (Green play button at the top). Be sure to save your place first!

-The words after the -- will show up green is just extra text/comments and won't change anything.

-You can change the message/hint by changing the words in the quotes only ("").

Example: hint.Text = "Hello World!" -- Set the text of the hint to "Hello World!".
hint.Text = "Hola amigos" -- Set the text of the hint to "Hola amigos".


There you go!

More soon!
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
05 Sep 2013 08:56 PM
Wow, For a second there I actually thought you need help inserting a message
Report Abuse
Absurdism is not online. Absurdism
Joined: 18 Jul 2013
Total Posts: 2568
05 Sep 2013 09:03 PM
Instance.new('Hint', Workspace).Text = 'Vidi, vici, veni.'
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
05 Sep 2013 09:08 PM
1. Do not double post on Scripting Helpers
2. Do not be an idiot as you are now on Scripting Helpers
3. Get out.
Report Abuse
crazyhead212 is not online. crazyhead212
Joined: 29 Jan 2012
Total Posts: 6
22 Apr 2014 07:47 AM
How do you remove a message? Because I had a model in my game it says BlahBlahBlah Supercamper1 Blah.... How do you remove it?
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
22 Apr 2014 08:29 AM
dumbass.

#nerdsunited
Report Abuse
lucas200206 is not online. lucas200206
Joined: 06 Dec 2009
Total Posts: 899
22 Apr 2014 09:54 AM
Instance.new("Hint", Game.Players.brittthestooge.PlayerGui).Text = "GET OFF FROM Scripting Helpers!"
Report Abuse
DrWaffler is not online. DrWaffler
Joined: 16 Sep 2011
Total Posts: 4248
22 Apr 2014 09:57 AM
@lucas

Isn't a hint global? As in putting it into the PlayerGui would make it only visible to brit?

I wouldn't know because let's be honest... screw Hints and Messages. Make your own GUI's. They're prettier and more manageable.

But I am pretty sure the Hint object takes care of making itself known to every person without you having to put it into their PlayerGui.
Report Abuse
Absurdism is not online. Absurdism
Joined: 18 Jul 2013
Total Posts: 2568
27 Apr 2014 10:56 PM
mfw necrobumped from 2013
Report Abuse
nighttimeninja314 is not online. nighttimeninja314
Joined: 04 Apr 2011
Total Posts: 4001
27 Apr 2014 11:29 PM
Hmm, seems to be working for me. Output?
Report Abuse
LIMESITEs is not online. LIMESITEs
Joined: 19 Apr 2014
Total Posts: 2
04 May 2014 12:53 AM
Just remove the text
Report Abuse
RosieLily is not online. RosieLily
Joined: 25 Feb 2014
Total Posts: 129
04 May 2014 02:55 AM
Is there a way to remove the semi transparent gray background from messages making it completely transparent and the text unaltered? as there are hardly properties for it.
Report Abuse
Crakkitty is not online. Crakkitty
Joined: 25 Dec 2009
Total Posts: 17408
04 May 2014 03:29 AM
just use a text label in that instance.
Report Abuse
jasondee1 is not online. jasondee1
Joined: 26 Jul 2008
Total Posts: 8002
04 May 2014 03:56 AM
ZOMBIE THREAD


GET OUT THE SHOTGUN
Report Abuse
RosieLily is not online. RosieLily
Joined: 25 Feb 2014
Total Posts: 129
04 May 2014 04:30 AM
Idk how people even do that. If you use messages through player guis it messes up when you reset.
Report Abuse
lolman8776 is not online. lolman8776
Joined: 16 Nov 2011
Total Posts: 1764
01 Jun 2014 10:13 PM
I actually DID find this helpful. My message wasnt generating for my head explosion script (that i made in response to SNL's skit 'When will the bass drop?')
gtfo haters. this guy can actually be helpful to people new to scripting.
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