| Something wrong with this script? | |
|
|
Author | Message |
---|
Guest Guest
| Subject: Something wrong with this script? December 24th 2010, 2:06 am | |
| while true do local msg = Instance.new("Hint") msg.Parent = game.Workspace
for m = 20,1,-1 do wait(1) msg.Text = m if msg.Text = 1 then msg:Remove()
end end end
idk whats wrong could someone help? it supposed to remove the message when the counter hits 1 |
|
| |
Guest Guest
| Subject: Re: Something wrong with this script? December 24th 2010, 2:35 am | |
| ok so i expanded this script a little more to what i wanted it to do, but still doesnt count down. just makes a hint that says 120.
while true do wait(1) game.Lighting.map1:clone().Parent = game.Workspace local msg = Instance.new("Hint") msg.Parent = game.Workspace for m = 120,1,-1 do wait(1) msg.Text = m wait(120) game.Workspace.brick:Remove() wait(700) local msg = Instance.new("Message") msg.Parent = game.Workspace msg.Text = ("message here") wait(4) msg:remove() game.Workspace.map1:remove() end end
OK, so this script is supposed to spawn a map, map1, and start a timer for 2 minutes, then when the counter is done it removes a brick then waits 5 more minutes and spawns another map (this is unfinished) |
|
| |
Guest Guest
| Subject: Re: Something wrong with this script? December 25th 2010, 8:49 pm | |
| I think I might no why's wrong, but I'm on my iPod so I can't explain....
Wht thts doing is posting a hint saying 120, waiting 1, waiting 120 then removing a brick then waiting 700, not counting I'll cont. tomorrow. |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Something wrong with this script? December 26th 2010, 4:24 am | |
| - Code:
-
while true do local msg = Instance.new("Hint") msg.Parent = game.Workspace
for m = 20,1,1 do wait(1) msg.Text = m if msg.Text = 1 then msg:Remove()
end end end
| |
|
| |
Guest Guest
| Subject: Re: Something wrong with this script? December 26th 2010, 8:16 am | |
| - Code:
-
while true do wait(1) game.Lighting.map1:clone().Parent = game.Workspace local msg = Instance.new("Hint") msg.Parent = game.Workspace for m = 120,1,-1 do wait(1) msg.Text = m m = m - 1 if m = 1 then game.Workspace.brick:Remove() wait(700) local msg = Instance.new("Message") msg.Parent = game.Workspace msg.Text = ("message here") wait(4) msg:remove() game.Workspace.map1:remove()
end end that might work..... |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Something wrong with this script? December 26th 2010, 6:51 pm | |
| Try this: - Code:
-
while true do wait(1) game.Lighting.map1:clone().Parent = game.Workspace local msg = Instance.new("Hint") msg.Parent = game.Workspace for m = 120,1,1 do wait(1) msg.Text = m if m = 1 then game.Workspace.brick:Remove() wait(5*60) local msg = Instance.new("Message") msg.Parent = game.Workspace msg.Text = "message here" wait(4) msg:remove() game.Workspace.map1:remove() end end end
Last edited by blueymaddog on December 26th 2010, 7:04 pm; edited 1 time in total (Reason for editing : typo) | |
|
| |
raboy117 Novice Scripter
Posts : 75 Join date : 2011-01-19 Age : 27 Location : Canada, PEI, Charlottetown
| Subject: Re: Something wrong with this script? January 20th 2011, 9:26 pm | |
| Dont quite know whats wrong... | |
|
| |
Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: Something wrong with this script? January 20th 2011, 10:44 pm | |
| i know how to redo the script. don't try to edit the script. Luascriptingmaster, your script is dead. i suggest you remake it? lol? you can get more speed out of it if you do | |
|
| |
raboy117 Novice Scripter
Posts : 75 Join date : 2011-01-19 Age : 27 Location : Canada, PEI, Charlottetown
| Subject: Re: Something wrong with this script? January 20th 2011, 11:27 pm | |
| | |
|
| |
raboy117 Novice Scripter
Posts : 75 Join date : 2011-01-19 Age : 27 Location : Canada, PEI, Charlottetown
| Subject: Re: Something wrong with this script? January 20th 2011, 11:27 pm | |
| | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Something wrong with this script? January 21st 2011, 11:31 am | |
| while wait() do local msg = Instance.new("Hint", workspace)
for m = 20,1,-1 do wait(1) msg.Text = m if msg.Text == 1 then msg:Remove()
end end end
| |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Something wrong with this script? January 21st 2011, 11:31 am | |
| Though I wanted to say hi :o | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Something wrong with this script? January 22nd 2011, 12:06 am | |
| @mycro, hi @raboy, stop spamming. delete your spam posts | |
|
| |
slayer9365 Expert Scripter
Posts : 233 Join date : 2010-07-31 Age : 29
| Subject: Re: Something wrong with this script? January 23rd 2011, 3:03 pm | |
| - blueymaddog wrote:
- @raboy, stop spamming. delete your spam posts
That is what you are here for, helping other members out, that includes cleaning up after them. | |
|
| |
Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: Something wrong with this script? January 23rd 2011, 7:46 pm | |
| This message shows Abusive Language. It has been removed. | |
|
| |
slayer9365 Expert Scripter
Posts : 233 Join date : 2010-07-31 Age : 29
| Subject: Re: Something wrong with this script? January 23rd 2011, 8:45 pm | |
| I do not think that a simple double post warrants banning. | |
|
| |
raboy117 Novice Scripter
Posts : 75 Join date : 2011-01-19 Age : 27 Location : Canada, PEI, Charlottetown
| Subject: Re: Something wrong with this script? January 23rd 2011, 9:53 pm | |
| | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Something wrong with this script? January 26th 2011, 7:44 am | |
| But if it isn't cleaned up by deleting one of the posts every time it glitches and ignoring a reminder to delete one of the posts then I think it should. | |
|
| |
slayer9365 Expert Scripter
Posts : 233 Join date : 2010-07-31 Age : 29
| Subject: Re: Something wrong with this script? January 26th 2011, 5:17 pm | |
| bluey, I think you should help him out when you notice, and delete the posts, it isn't really that difficult. | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Something wrong with this script? January 26th 2011, 10:09 pm | |
| it is on my ipod because it takes a while to load pages. :/ though 2 day ban was a bit unfair i guess. :| | |
|
| |
Sponsored content
| Subject: Re: Something wrong with this script? | |
| |
|
| |
| Something wrong with this script? | |
|