|
| 29 Mar 2014 06:08 AM |
local Water = script.Parent Water.Position = Vector3.new(Water.Position.x+1,Water.Position.y+1,Water.Position.z+0) end
Can someone help me? I dont know what i did wrong... |
|
|
| Report Abuse |
|
|
| |
|
compy111
|
  |
| Joined: 02 Apr 2009 |
| Total Posts: 583 |
|
|
| 29 Mar 2014 06:13 AM |
Please be more detailed in your subject and the explanation of your problem, explain us what you are trying to achieve with the script.
But I guess you want to move the brick called water. Your script will more the brick in x and y position by 1 and then your script ends. The word 'end' is used to stop a loop or statement. You must add a loop to it first.
local Water = script.Parent while true do Water.Position = Vector3.new(Water.Position.x+1,Water.Position.y+1,Water.Position.z+0) end
Many people remember while true do as one piece but it actually says: while the boolean true is true then do.
You can also change while true do with while 1==1 do (double = is needed) |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 29 Mar 2014 06:23 AM |
@Comp
Or maybe he just wants it 1 step forward on realtive to it's x,y and z offsets .-. |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 29 Mar 2014 06:24 AM |
But Ye you're kinda right
you place an end for no reason @ OP so there must be some function you missed e.e |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 06:28 AM |
It didnt worked. I did this now.
local Water = script.Parent while true do Water.Size = Vector3.new(Water.Size.995.4,1.4,996) wait(1) Water.Size = Vector3.new(Water.Size.995.4,1.2,996) end |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 29 Mar 2014 06:29 AM |
@Bon
What do you want it to do?(the script) |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 06:31 AM |
| I want to make the water bigger and then smaller the whole time... |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Mar 2014 06:48 AM |
Ugh can someone please help me???!!!
|
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 29 Mar 2014 06:51 AM |
local Water = script.Parent while true do Water.Size = Vector3.new(Water.Size.995.4,1.4,996) wait(2) Water.Size = Vector3.new(Water.Size.5005.4,0.2,500) end |
|
|
| Report Abuse |
|
|
| |
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 29 Mar 2014 07:05 AM |
local Water = script.Parent while true do Water.Size = Vector3.new(995.4,1.4,996) wait(2) Water.Size = Vector3.new(5005.4,0.2,500) end
silly us111 |
|
|
| Report Abuse |
|
|