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: Hint Instance works as a string but not in a loop?

Previous Thread :: Next Thread 
lineriderboy is not online. lineriderboy
Joined: 02 Feb 2008
Total Posts: 67
21 Jul 2011 10:09 PM
So i made a strings that make a hint:

msg = Instance.new("Hint")
msg.Parent = game.Workspace

but whenever the script gets to the loop: Ex)

while true do
wait(5)
msg.Text = "FlyingPigsEatingBacon"
end

the hint dissapears and does not show the written text. This is just an example but it show what im doing wrong the real script goes over 200+ lines. Any ideas?
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
21 Jul 2011 10:10 PM
That part doesn't break the Hint, it must be something else in your code that removes the Hint.
Report Abuse
TigerBloodd is not online. TigerBloodd
Joined: 24 Oct 2010
Total Posts: 2430
21 Jul 2011 10:10 PM
while true do
msg = Instance.new("Hint",workspace)
wait(5)
msg.Text = "FlyingPigsEatingBacon"
end
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
21 Jul 2011 10:13 PM
@Tiger, every 5 seconds it inserts a hint into workspace...Never removes it..
Report Abuse
lineriderboy is not online. lineriderboy
Joined: 02 Feb 2008
Total Posts: 67
21 Jul 2011 10:17 PM
Aha! It works! Thanks. :D
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
21 Jul 2011 10:43 PM
If you're using Tiger's, I suggest you don't.
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