|
| 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 |
|
|
|
| 05 Sep 2013 08:56 PM |
| Wow, For a second there I actually thought you need help inserting a message |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 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 |
|
|
| |
|
|
| 22 Apr 2014 09:54 AM |
| Instance.new("Hint", Game.Players.brittthestooge.PlayerGui).Text = "GET OFF FROM Scripting Helpers!" |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
| |
|
|
| 27 Apr 2014 11:29 PM |
| Hmm, seems to be working for me. Output? |
|
|
| Report Abuse |
|
|
| |
|
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
|
  |
| Joined: 25 Dec 2009 |
| Total Posts: 17408 |
|
|
| 04 May 2014 03:29 AM |
just use a text label in that instance.
|
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 04 May 2014 03:56 AM |
ZOMBIE THREAD
GET OUT THE SHOTGUN |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|