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: Did hints/messages break?

Previous Thread :: Next Thread 
sharpTH is not online. sharpTH
Joined: 29 Apr 2007
Total Posts: 9692
01 Oct 2011 07:06 AM
I don't see them anymore in the studio, do they work ingame, though?
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
01 Oct 2011 07:08 AM
yes they do.
ROBLOX just made them so you can only make them via script.
Report Abuse
sharpTH is not online. sharpTH
Joined: 29 Apr 2007
Total Posts: 9692
01 Oct 2011 07:09 AM
Yes, but i'm making them via a script.

local msg = Instance.new("Message")
msg.Parent = game.Workspace
msg.Text = ("Loading Ultimate Paintball")

But they still don't appear?
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
01 Oct 2011 07:11 AM
function msg()
msg = Instance.New("Message", Workspace)
msg.Text = "Loading Ultimate Paintball..."
wait(5)
msg:Remove()
end
Report Abuse
sharpTH is not online. sharpTH
Joined: 29 Apr 2007
Total Posts: 9692
01 Oct 2011 07:15 AM
I'll give that a try, the local property might have been something to do with it.

Disappointingly, it didn't work, the outpost reported no problems, the script continued as normal, but no message appeared.
Report Abuse
UttermostExedra is not online. UttermostExedra
Joined: 28 Dec 2009
Total Posts: 2483
01 Oct 2011 07:19 AM
Try this:

msg = function(text,parent,time)
local m = Instance.new("Message",parent)
m.Text = text
game:GetService("Debris"):AddItem(m,time)
end

To call the function, you type this:

msg("Loading ultimate paintball...",workspace,5)
Report Abuse
dirk29 is not online. dirk29
Joined: 26 May 2010
Total Posts: 1142
01 Oct 2011 07:21 AM
function msg()
msg = Instance.New("Message", Workspace)
msg.Text = "Loading Ultimate Paintball..."
wait(5)
msg:Remove()
end

wait(3)
msg()
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
01 Oct 2011 07:23 AM
"ROBLOX just made them so you can only make them via script."

Since when? You can insert them into a Player without a script.
Report Abuse
sharpTH is not online. sharpTH
Joined: 29 Apr 2007
Total Posts: 9692
01 Oct 2011 07:25 AM
Nope.
There's something odd going on with the messages, while i tried finding the problem, i added a pre-inserted message and made a script to edit it's values, but nothing was changed, but the script worked!

I give up on this, does anybody has a GUI solution that inserts a GUI into people's screens for a short time?
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
01 Oct 2011 07:25 AM
@RATEX, i'm talking about for the Workspace.... so EVERYONE Will see the message : /
Report Abuse
PuzzleCrazy is not online. PuzzleCrazy
Joined: 01 Feb 2010
Total Posts: 1245
01 Oct 2011 08:39 AM
msg.Text = "string"

You don't need parenthesis
Report Abuse
PuzzleCrazy is not online. PuzzleCrazy
Joined: 01 Feb 2010
Total Posts: 1245
01 Oct 2011 08:41 AM
if you do this:

function msg()
msg = ...

Then you are declaring two global values with the same name, I don't think that will work.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
01 Oct 2011 08:52 AM
The text is a string so you just need ""

local m = Instance.new("Message")
m.Parent = Workspace
m.Text = "This will never end"
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