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
|
  |
| 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
|
  |
| Joined: 12 Nov 2007 |
| Total Posts: 402 |
|
| |
|
Cassian
|
  |
| Joined: 13 Feb 2008 |
| Total Posts: 5074 |
|
| |
|
haki
|
  |
| Joined: 05 Feb 2007 |
| Total Posts: 13 |
|
|
| 23 Oct 2008 10:14 AM |
yes
--death11 on other acount--- |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| Joined: 05 Feb 2007 |
| Total Posts: 13 |
|
| |
|
Cassian
|
  |
| Joined: 13 Feb 2008 |
| Total Posts: 5074 |
|
| |
|
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
|
  |
| Joined: 13 Feb 2008 |
| Total Posts: 5074 |
|
| |
|
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
|
  |
| Joined: 13 Feb 2008 |
| Total Posts: 5074 |
|
| |
|
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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 12 Nov 2007 |
| Total Posts: 402 |
|
| |
|
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
|
  |
| Joined: 05 Feb 2007 |
| Total Posts: 13 |
|
| |
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 12 Nov 2007 |
| Total Posts: 402 |
|
| |
|
haki
|
  |
| Joined: 05 Feb 2007 |
| Total Posts: 13 |
|
| |
|