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: Begining race script(HELP D:) OH NO!!!!

Previous Thread :: Next Thread 
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
29 Sep 2011 09:05 PM
Here's the script:

if (msg == "beginsupahraceover9000timesbetterthanpoop")
wait(1)
message = Instance.new("Message")
message.Text = "TESTING!!! Testing your name: "name.."."
wait(5)
message:remove()
message = Instance.new("Message")
message.Text = "OK, "name..", go in 5,"
wait(1)
message:remove()
message = Instance.new("Message")
message.Text = "4,"
wait(1)
message:remove()
message = Instance.new("Message")
message.Text = "3,"
wait(1)
message:remove()
message = Instance.new("Message")
message.Text = "2,"
wait(1)
message:remove()
message = Instance.new("Message")
message.Text = "1,"
wait(1)
message:remove()
message = Instance.new("Message")
message.Text = ""name..", U FAIL"
wait(0.000000000001)
message:remove()
message = Instance.new("Message")
message.Text = "Deleting..."
wait(3)
game.workspace.beginsupahraceover9000timesbetterthanpoop:remove()
wait(2)
message:remove()
message = Instance.new("Message")
message.Text = ""name..", if you see this, the script WORKED!!! GO!!!"
wait(5)
message:remove()

Can you fix it?
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
29 Sep 2011 09:08 PM
So many things wrong. Pleaase explain what the variables in the script are for and what the script does
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
29 Sep 2011 09:09 PM
function SendChatMessage(Channel,Text,RemoveOn)
local Chanel = Instance.new(Channel)
Chanel.Text = Text
Chanel.Part = game.Workspace
wait(RemoveOn)
Chanel:Remove()
end

Now you can just say:

SendChatMessahe("Message","Hello World!",10) --Type, Text, Wait time
Report Abuse
Lowcart is not online. Lowcart
Joined: 12 Sep 2011
Total Posts: 1323
29 Sep 2011 09:10 PM
[ Content Deleted ]
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
29 Sep 2011 09:10 PM
Also.. > player.Name.. ".. you are awesome!!!!"
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
29 Sep 2011 09:11 PM
SendChatMessage("Message","Hello World!",10) --Type, Text, Wait time
Report Abuse
Lowcart is not online. Lowcart
Joined: 12 Sep 2011
Total Posts: 1323
29 Sep 2011 09:12 PM
[ Content Deleted ]
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
29 Sep 2011 09:13 PM
Chanel.Part = game.Workspace

Yes I did.
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
29 Sep 2011 09:13 PM
OH DERP..
Chanel.Parent = game.Workspace
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
30 Sep 2011 03:49 PM
I mean rewrite the script.
So then next time I make a script, I'll do WAY better.
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
30 Sep 2011 09:53 PM
Re: I mean rewrite the script.
So then next time I make a script, I'll do WAY better.
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
30 Sep 2011 10:02 PM
"...message:remove()
message = Instance.new("Message")
message.Text = "1,"
wait(1)..."

Perhaps an apology for such horrendous code? lol jk :3


if (msg == "beginsupahraceover9000timesbetterthanpoop") then
local msg = Instance.new("Message", game.Workspace)
msg.Text = "TESTING!!! Testing your name: "name.."."
wait(5)
for i = 5, 1, -1 do
msg.Text = "OK, "..name..", go in:".i
wait(1)
end

msg.Text = name..", YOU FAIL"
wait()
msg.Text = "Deleting..."
wait(3)
game.Workspace.beginsupahraceover9000timesbetterthanpoop:remove()
msg.Text = name.." if you see this, the script WORKED!!! GO!!!"
wait(5)
msg:remove()
end


~ I'm a unicorn! ~
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
01 Oct 2011 09:01 AM
It didn't work...
I'll change message.
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
01 Oct 2011 09:12 AM
The script still didn't work :(
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
01 Oct 2011 09:16 AM
Show me the output what pwn gave you...?
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
01 Oct 2011 02:33 PM
Output of the script: Begin_race
Sat Oct 01 14:31:21 2011 - Running Script "Workspace.Begin_Race"
Sat Oct 01 14:31:21 2011 - Workspace.Begin_Race:3: '=' expected near '..'

Do you fix?
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
01 Oct 2011 02:38 PM
hmmm....Let me think :D xD
Report Abuse
dirk29 is not online. dirk29
Joined: 26 May 2010
Total Posts: 1142
01 Oct 2011 02:40 PM
Fun ill make you a better script give me 10 - 15 mins
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
01 Oct 2011 02:49 PM
OK
Make sure the messages and the chat is the same as mine :D
Report Abuse
dirk29 is not online. dirk29
Joined: 26 May 2010
Total Posts: 1142
01 Oct 2011 02:54 PM
Theres no errors in this...i dont know what the rest of your script looks like so i cant do very much more



local msg = Instance.new("Message")
local Text = msg.Text
local Texts = {""}
local name = "dirk29"




if (msg == "beginsupahraceover9000timesbetterthanpoop")
msg.Parent = game.Workspace
Text = "TESTING!!! Testing your name: "..name.."."
wait(1)
for i = 5,0,-1 do
msg.Parent = game.Workspace
Text = "OK, "..name..", go in " ..i.. ","
end
for i = 1,0,-1 do
msg.Parent = game.Workspace
Text = "" ..name.. ", U FAIL"
end
for i = 1,0,-1 do
msg.Parent = game.Workspace
Text = "Deleting"
end
msg:remove()
for i = 5,0,-1 do
msg.Parent = game.Workspace
Text = ""..name..", if you see this, the script WORKED!!! GO!!!"
end end
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
01 Oct 2011 04:23 PM
Error(says in output):
Workspace.Begin_Race:10: 'then' expected near 'msg'

Script(a little was changed):
local msg = Instance.new("Message")
local Text = msg.Text
local Texts = {""}
local name = "FunKid6"




if (msg == "4952")
msg.Parent = game.Workspace
Text = "TESTING!!! Testing your name: "..name.."."
wait(1)
for i = 5,0,-1 do
msg.Parent = game.Workspace
Text = "OK, "..name..", go in " ..i.. ","
end
for i = 1,0,-1 do
msg.Parent = game.Workspace
Text = "" ..name.. ", U FAIL"
end
for i = 1,0,-1 do
msg.Parent = game.Workspace
Text = "Deleting"
end
msg:remove()
game.Workspace.beginsupahraceover9000timesbetterthanpoop:remove()--Added & only edited part.
for i = 5,0,-1 do
msg.Parent = game.Workspace
Text = ""..name..", if you see this, the script WORKED!!! GO!!!"
end end
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
01 Oct 2011 08:44 PM
Hey Josh, wanna...
ZOMBIE!!!! bonk
C-copied Advertizement? Oh...
Report Abuse
TigerBloodd is not online. TigerBloodd
Joined: 24 Oct 2010
Total Posts: 2430
01 Oct 2011 09:41 PM
local msg = Instance.new("Message")
local Text = msg.Text
local Texts = {""}
local name = "FunKid6"




if (msg == "4952") then
msg.Parent = game.Workspace
Text = "TESTING!!! Testing your name: "..name.."."
wait(1)
for i = 5,0,-1 do
msg.Parent = game.Workspace
Text = "OK, "..name..", go in " ..i.. ","
end
for i = 1,0,-1 do
msg.Parent = game.Workspace
Text = "" ..name.. ", U FAIL"
end
for i = 1,0,-1 do
msg.Parent = game.Workspace
Text = "Deleting"
end
msg:remove()
game.Workspace.beginsupahraceover9000timesbetterthanpoop:remove()--Added & only edited part.
for i = 5,0,-1 do
msg.Parent = game.Workspace
Text = ""..name..", if you see this, the script WORKED!!! GO!!!"
end end

TigerBloodd | Programmer | Developer
Report Abuse
FunKid6 is not online. FunKid6
Joined: 01 Feb 2010
Total Posts: 290
02 Oct 2011 09:39 AM
I said 4952 in the game(no error in output), but it didn't work.
SAD, SAD PEANUTZ
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