A Roblox Community

A community of Robloxians who want to learn to script and build on Roblox Studio.
 
HomeFAQRegisterLog in
If you're a experienced coder make some tutorials! It would really help the site grow.
Make sure you read the rules(Which can be found by clicking here)
If you're a beginner at coding, try some tutorials.
We have many Moderators/Admins watching this site. Contact them with Questions.
Let us know what your favorite sport is. By clicking here to vote (Click here)
This site is becoming inactive. Lets make it active.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
blueymaddog
 
naknak
 
Supernapalm
 
m27frogy
 
slayer9365
 
myrco919
 
branefreez
 
ninga95
 
CloneTrooper787
 
raboy117
 
Top posting users this month
Latest topics
» Send me an Email
January 8th 2016, 10:14 am by naknak

» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]
July 6th 2015, 7:38 pm by m27frogy

» New Site Possibly
July 6th 2015, 4:16 pm by m27frogy

» Ambassador!
April 15th 2015, 11:40 pm by naknak

» Boop - Tag
April 13th 2015, 9:46 pm by naknak

» Vip Class Script
April 13th 2015, 4:54 pm by naknak

» Who's active?!
April 13th 2015, 4:52 pm by naknak

» Where to go from here.
April 13th 2015, 4:51 pm by naknak

» Genesis Point
July 17th 2014, 7:04 pm by branefreez

» Reward System
July 17th 2014, 5:41 am by m27frogy

» Script Request
July 10th 2014, 11:43 am by naknak

» local scripts?
July 10th 2014, 11:39 am by naknak

» Project: Reconstruction [Died]
July 10th 2014, 11:36 am by naknak

» Hi. I am new here
April 26th 2014, 4:01 pm by altshiftkey

» What's your favorite sport?
January 1st 2014, 2:13 pm by m27frogy

» FlashLight Script
January 1st 2014, 2:11 pm by m27frogy

» Gun Making! [READ DESC]
January 1st 2014, 2:10 pm by m27frogy

» Hi, I am new here!
November 26th 2013, 3:33 pm by Keanu73

» Improve Coding
October 26th 2013, 1:12 pm by pook03

» Simple Button
September 1st 2013, 6:19 pm by branefreez


Share | 
 

 Something wrong with this script?

View previous topic View next topic Go down 
AuthorMessage
Guest
Guest



PostSubject: 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
Back to top Go down
Guest
Guest



PostSubject: 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)
Back to top Go down
Guest
Guest



PostSubject: 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.
Back to top Go down
blueymaddog
Administrator
Administrator
avatar

Posts : 1081
Join date : 2010-12-09
Age : 19

PostSubject: 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

_________________
blueymaddog
Administrator • Moderator • Expert Scripter
PM: blueymaddog
<+1 post. ujelly?>
Back to top Go down
Guest
Guest



PostSubject: 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.....
Back to top Go down
blueymaddog
Administrator
Administrator
avatar

Posts : 1081
Join date : 2010-12-09
Age : 19

PostSubject: 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)
Back to top Go down
raboy117
Novice Scripter
Novice Scripter
avatar

Posts : 75
Join date : 2011-01-19
Age : 20
Location : Canada, PEI, Charlottetown

PostSubject: Re: Something wrong with this script?   January 20th 2011, 9:26 pm

Dont quite know whats wrong...
Back to top Go down
Supernapalm
Expert Scripter
Expert Scripter


Posts : 393
Join date : 2011-01-17

PostSubject: 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
Back to top Go down
http://hackthissite.org
raboy117
Novice Scripter
Novice Scripter
avatar

Posts : 75
Join date : 2011-01-19
Age : 20
Location : Canada, PEI, Charlottetown

PostSubject: Re: Something wrong with this script?   January 20th 2011, 11:27 pm

Test
Back to top Go down
raboy117
Novice Scripter
Novice Scripter
avatar

Posts : 75
Join date : 2011-01-19
Age : 20
Location : Canada, PEI, Charlottetown

PostSubject: Re: Something wrong with this script?   January 20th 2011, 11:27 pm

Why wont that bug fix...
Back to top Go down
myrco919
Intermediate Scripter
Intermediate Scripter
avatar

Posts : 190
Join date : 2011-01-21
Age : 19
Location : Holland

PostSubject: 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

Back to top Go down
myrco919
Intermediate Scripter
Intermediate Scripter
avatar

Posts : 190
Join date : 2011-01-21
Age : 19
Location : Holland

PostSubject: Re: Something wrong with this script?   January 21st 2011, 11:31 am

Though I wanted to say hi :o
Back to top Go down
blueymaddog
Administrator
Administrator
avatar

Posts : 1081
Join date : 2010-12-09
Age : 19

PostSubject: Re: Something wrong with this script?   January 22nd 2011, 12:06 am

@mycro, hi
@raboy, stop spamming. delete your spam posts

_________________
blueymaddog
Administrator • Moderator • Expert Scripter
PM: blueymaddog
<+1 post. ujelly?>
Back to top Go down
slayer9365
Expert Scripter
Expert Scripter
avatar

Posts : 233
Join date : 2010-07-31
Age : 22

PostSubject: 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.
Back to top Go down
Supernapalm
Expert Scripter
Expert Scripter


Posts : 393
Join date : 2011-01-17

PostSubject: Re: Something wrong with this script?   January 23rd 2011, 7:46 pm

This message shows Abusive Language. It has been removed.
Back to top Go down
http://hackthissite.org
slayer9365
Expert Scripter
Expert Scripter
avatar

Posts : 233
Join date : 2010-07-31
Age : 22

PostSubject: Re: Something wrong with this script?   January 23rd 2011, 8:45 pm

I do not think that a simple double post warrants banning.
Back to top Go down
raboy117
Novice Scripter
Novice Scripter
avatar

Posts : 75
Join date : 2011-01-19
Age : 20
Location : Canada, PEI, Charlottetown

PostSubject: Re: Something wrong with this script?   January 23rd 2011, 9:53 pm

Least It's fixed now.
Back to top Go down
blueymaddog
Administrator
Administrator
avatar

Posts : 1081
Join date : 2010-12-09
Age : 19

PostSubject: 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.

_________________
blueymaddog
Administrator • Moderator • Expert Scripter
PM: blueymaddog
<+1 post. ujelly?>
Back to top Go down
slayer9365
Expert Scripter
Expert Scripter
avatar

Posts : 233
Join date : 2010-07-31
Age : 22

PostSubject: 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.
Back to top Go down
blueymaddog
Administrator
Administrator
avatar

Posts : 1081
Join date : 2010-12-09
Age : 19

PostSubject: 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. :|

_________________
blueymaddog
Administrator • Moderator • Expert Scripter
PM: blueymaddog
<+1 post. ujelly?>
Back to top Go down
Sponsored content




PostSubject: Re: Something wrong with this script?   

Back to top Go down
 
Something wrong with this script?
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Spearhead: You're doing it wrong lolololololol
» Fireworks gone wrong
» Chess Script
» Theres SOMETHING WRONG With The Way I Sketch?
» Autohotkey script for melee barbarian

Permissions in this forum:You cannot reply to topics in this forum
A Roblox Community :: Questions and Help :: Scripting-
Jump to: