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
 

wHATS wRONg?

Previous Thread :: Next Thread 
DJVirusX is not online. DJVirusX
Joined: 09 Feb 2013
Total Posts: 455
15 Aug 2013 03:33 PM
local Message = Instance.new("Message") --Defines A New Instance Of A Message For The Entire Script
Message.text = "Hello World" -- Sets Text Of The Message
Message.Parent = game.Workspace -- Our Message Is Now Inside Of The Workspace
wait(10) -- Waits 5 Seconds
Message:Remove () -- Removes Our Message

#StopRobloxTrolling
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
15 Aug 2013 03:36 PM
I can't tell if you're trolling, or if you're serious.

Message.Text = "Hello World"
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
15 Aug 2013 03:38 PM
THIS IS YOUR SCRIPT -
local Message = Instance.new("Message") --Defines A New Instance Of A Message For The Entire Script
Message.text = "Hello World" -- Sets Text Of The Message
Message.Parent = game.Workspace -- Our Message Is Now Inside Of The Workspace
wait(10) -- Waits 5 Seconds
Message:Remove () -- Removes Our Message



Errors -
wait(10) -- Waits 5 Seconds
Don't you mean wait(5) then?


Message:Remove () -- Removes Our Message
Message:destroy() is better in every way.


--This is what I would've done
local Message = Instance.new("Message", workspace)
Message.Text = "Herro World"
wait(5)
Message:destroy()
Report Abuse
DJVirusX is not online. DJVirusX
Joined: 09 Feb 2013
Total Posts: 455
15 Aug 2013 04:05 PM
im serious. Brandon LaRouches Book& his typos Took me to this mistake

#StopRobloxTrolling
Report Abuse
DJVirusX is not online. DJVirusX
Joined: 09 Feb 2013
Total Posts: 455
15 Aug 2013 04:07 PM
and i dont troll i get trolled all the time. at least i dont troll on here cus theres little ones...

#StopRobloxTrolling
Report Abuse
expressmyself is not online. expressmyself
Joined: 19 Apr 2011
Total Posts: 1768
15 Aug 2013 04:08 PM
local message = Instance.new("Message")
message.text = "Hello World"
message.Parent = game.Workspace
wait(5) -- Waits 5 Seconds
message:Destroy()



You can use Remove if you need to use the Message again other than that use Destroy()
Report Abuse
DJVirusX is not online. DJVirusX
Joined: 09 Feb 2013
Total Posts: 455
15 Aug 2013 04:09 PM
thanks

#StopRobloxTrolling
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