minicl55
|
  |
| Joined: 25 Dec 2010 |
| Total Posts: 2371 |
|
|
| 16 Apr 2011 09:26 PM |
| I want it too go beteen 5 phrases. I know enough about scripting to read what it says and change it up enough the change what the prases say and how long it appears for. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 16 Apr 2011 09:32 PM |
local h = Instance.new("Hint") h.Parent = game.Workspace while true do h.Text = "blah" wait(5) h.Text = "blahblah" wait(5) h.Text = "bloob" wait(5) h.Text = "blob" wait(5) h.Text = "block" wait(5) end |
|
|
| Report Abuse |
|
|
76hyy11
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1698 |
|
|
| 16 Apr 2011 09:32 PM |
Insert>object>message then change the message to what you want, I think that should help but I'm not sure. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
| |
|
76hyy11
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1698 |
|
|
| 16 Apr 2011 09:37 PM |
| sorry, Im still learning the ropes. |
|
|
| Report Abuse |
|
|
minicl55
|
  |
| Joined: 25 Dec 2010 |
| Total Posts: 2371 |
|
|
| 16 Apr 2011 10:03 PM |
| Its OK, but dddylan98 solved it. |
|
|
| Report Abuse |
|
|
minicl55
|
  |
| Joined: 25 Dec 2010 |
| Total Posts: 2371 |
|
|
| 16 Apr 2011 10:08 PM |
WAIT!!!! I want it to loop! how do I do this? is it loop(9999999)
|
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
| |
|
|
| 16 Apr 2011 10:25 PM |
local created = Instance.new("Hint",Workspace) for i=1,10 do created.Text = "Hi" wait(i) created.Text = "Hello?" wait(i) end |
|
|
| Report Abuse |
|
|
wario50
|
  |
| Joined: 23 Mar 2009 |
| Total Posts: 8098 |
|
|
| 16 Apr 2011 10:48 PM |
You can do a easy loop like this. ___________________ local msg = Instance.new("Hint",Workspace) repeat msg.Text = "Hi" wait(1) msg.Text = "This" wait(1) msg.Text = "Is" wait(1) msg.Text = "A" wait(1) msg.Text = "Message!" until game.Workspace.Name == "hay" ___________________
That's one way of doing loops. |
|
|
| Report Abuse |
|
|
cod0078
|
  |
| Joined: 15 Oct 2010 |
| Total Posts: 2429 |
|
| |
|
wario50
|
  |
| Joined: 23 Mar 2009 |
| Total Posts: 8098 |
|
|
| 16 Apr 2011 10:52 PM |
No.
Wait makes you wait.
It is sort of a "Delay" type thing.
This way, people can make nice Day/Night scripts without it going haywire. |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2011 11:00 PM |
| "while true do" will never end unless the script breaks or gets removed. |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2011 11:38 PM |
| Acttuly.. break will end it. |
|
|
| Report Abuse |
|
|
| |
|
minicl55
|
  |
| Joined: 25 Dec 2010 |
| Total Posts: 2371 |
|
|
| 16 Apr 2011 11:52 PM |
| OK! Thanks for answering my question! |
|
|
| Report Abuse |
|
|
| |
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 17 Apr 2011 01:01 AM |
| I did put a loop in, I put it after it created it so there weren't 10 million new hints. |
|
|
| Report Abuse |
|
|
Fredfishy
|
  |
| Joined: 21 Mar 2009 |
| Total Posts: 4197 |
|
|
| 17 Apr 2011 01:41 AM |
messages = { "Blibble", "Blobble", "BLOO!" } h = Instance.new("Hint", Workspace)
while true do for i = 1, #messages do h.Text = messages[i] wait(5) end end |
|
|
| Report Abuse |
|
|
Cpbald
|
  |
| Joined: 13 May 2011 |
| Total Posts: 1985 |
|
|
| 19 Aug 2011 01:22 PM |
So, we want a Hint. Let's start with:
workspace.new.local=Hint.(workspace)
Now, we need some text and a Never Ending script part.
while true do h.Text="Hello world!" wait(5) h.Text="I am a friendly user." end
Now let's add where it should be.
position={"0","0","0"} resize={"30","10,","0" end
The finished Script:
workspace.new.local=Hint.(workspace)
while true do h.Text="Hello world!" wait(5) h.Text="I am a friendly user." end
position={"0","0","0"} resize={"30","10,","0" end |
|
|
| Report Abuse |
|
|
Cpbald
|
  |
| Joined: 13 May 2011 |
| Total Posts: 1985 |
|
|
| 19 Aug 2011 01:23 PM |
| Oops I meant at the end of the text, I forgot wait(5). |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2011 01:31 PM |
| while true do is an infinite loop, and I'm pretty sure this post is useless because someone already said this. :3 |
|
|
| Report Abuse |
|
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 19 Aug 2011 02:08 PM |
"workspace.new.local=Hint.(workspace)"
erm...lolno
______________________________________ ~pwnedu46~ -I lost the game.-
|
|
|
| Report Abuse |
|
|
|
| 28 Aug 2011 04:09 PM |
| Wow... that script was a lot simpler than I'd imagined |
|
|
| Report Abuse |
|
|
csisgreat
|
  |
| Joined: 30 Aug 2011 |
| Total Posts: 34 |
|
| |
|