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: hey i can't figure this thing out.

Previous Thread :: Next Thread 
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
23 Oct 2008 09:56 AM
i can't figure it out when i put this script:


print("death11/haki's script loaded!")

while true do
hill = script.parent

wait(30)
hill.Velocity = (0, 0, -100)
wait(20)
hill.Velocity = (0, 0, 0)

it says in output:


Thu Oct 23 10:54:53 2008 - Workspace.distant planet.hill.Script:7: ')' expected near ','

how do i fix this. (and the script is supposed to be never ending just so you know)
Report Abuse
Cassian is not online. Cassian
Joined: 13 Feb 2008
Total Posts: 5074
23 Oct 2008 10:02 AM
print("death11/haki's script loaded!")
hill = script.parent
while true do
wait(30)
hill.Velocity = (0, 0, -100)
wait(20)
hill.Velocity = (0, 0, 0)
end
Report Abuse
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
23 Oct 2008 10:05 AM
oh ty
Report Abuse
Cassian is not online. Cassian
Joined: 13 Feb 2008
Total Posts: 5074
23 Oct 2008 10:08 AM
does it work?
Report Abuse
haki is not online. haki
Joined: 05 Feb 2007
Total Posts: 13
23 Oct 2008 10:14 AM
yes


--death11 on other acount---
Report Abuse
Cassian is not online. Cassian
Joined: 13 Feb 2008
Total Posts: 5074
23 Oct 2008 10:15 AM
could you help me with a function onPlayerEntered(newPlayer)?
Report Abuse
haki is not online. haki
Joined: 05 Feb 2007
Total Posts: 13
23 Oct 2008 10:16 AM
-_- now it says:


Thu Oct 23 11:15:59 2008 - Workspace.distant planet.hill.Script:5: ')' expected near ','
Report Abuse
haki is not online. haki
Joined: 05 Feb 2007
Total Posts: 13
23 Oct 2008 10:17 AM
yes maybe i could help
Report Abuse
Cassian is not online. Cassian
Joined: 13 Feb 2008
Total Posts: 5074
23 Oct 2008 10:17 AM
what is output?
Report Abuse
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
23 Oct 2008 10:19 AM
solo/edit > tools > view > output


it tells you what is wrong with your script or is where whatever your print goes
Report Abuse
Cassian is not online. Cassian
Joined: 13 Feb 2008
Total Posts: 5074
23 Oct 2008 10:24 AM
how do you use it?
Report Abuse
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
23 Oct 2008 10:26 AM
you can't it just tells you whats wrong with a script when you cut/paste it
Report Abuse
Cassian is not online. Cassian
Joined: 13 Feb 2008
Total Posts: 5074
23 Oct 2008 10:27 AM
ok
Report Abuse
jester354 is not online. jester354
Joined: 25 Jan 2008
Total Posts: 26
23 Oct 2008 12:24 PM
does the script work now?

wel if it dont maybe add end
Report Abuse
jester354 is not online. jester354
Joined: 25 Jan 2008
Total Posts: 26
23 Oct 2008 12:25 PM
like this:

print("death11/haki's script loaded!")
hill = script.parent

while true do

wait(30)
hill.Velocity = (0, 0, -100)

wait(20)
hill.Velocity = (0, 0, 0)

end

im a noob scripter so i dont now
Report Abuse
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
23 Oct 2008 12:31 PM
i added end before and it said whats up above but not at top ^




but ty anyway
Report Abuse
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
23 Oct 2008 12:31 PM
or what haki said =)
Report Abuse
GamingPro is not online. GamingPro
Joined: 16 Jun 2008
Total Posts: 212
23 Oct 2008 01:26 PM
You need an end for the while statement...

When defining a 3-digit value separated by commas (,) use Vector3.new(0,0,0)

You use Vector3 when defining values with an x, y, and z value.
Report Abuse
haki is not online. haki
Joined: 05 Feb 2007
Total Posts: 13
23 Oct 2008 03:36 PM
O_O ok
Report Abuse
haki is not online. haki
Joined: 05 Feb 2007
Total Posts: 13
29 Oct 2008 06:09 PM
bump i need it to work for my place... same with death11
Report Abuse
Meelo is not online. Meelo
Joined: 04 Jul 2008
Total Posts: 14763
29 Oct 2008 06:12 PM
print("death11/haki's script loaded!")
local hill = script.Parent
while true do
wait(30)
hill.Velocity = Vector3.new(0, 0, -100)
wait(20)
hill.Velocity = Vector3.new(0, 0, 0)
end
Report Abuse
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
29 Oct 2008 06:14 PM
oh ok thanks me and haki are noobs are changing stuff scripts but good at modifing them.
Report Abuse
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
29 Oct 2008 06:15 PM
so i could add like changing the color in there and it would run? because thats whats i'm gonna do
Report Abuse
death11 is not online. death11
Joined: 12 Nov 2007
Total Posts: 402
29 Oct 2008 06:15 PM
wanna*


flodd count: 2
Report Abuse
haki is not online. haki
Joined: 05 Feb 2007
Total Posts: 13
29 Oct 2008 06:27 PM
any one please?
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