MTamidex
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
|
| 16 Mar 2014 11:53 AM |
Hey, i have a project for a WipeOut Game and i need a script that makes the Giant Red Balls Move, i thought of something like:
while true do for num=12-1 do Brick1.Position = Vector3.new(num) wait(0.2) end
I DON'T SCRIPT OKAY? SINCE LUALEARNERS.ORG CLOSED I DIDNT LEARN ANYTHING NEW D:
or it could be like this
while true do Brick1.Position = Vector3.new(12, 12, 12) wait(0.25) Brick1.Position = Vector3.new(11.5, 11.5, 11,5) end
They told me the ugliest thing to see in a script is make something over and over again but i dont script so i gotta do it harder. |
|
|
| Report Abuse |
|
|
|
| 16 Mar 2014 11:58 AM |
brick1 = workspace.NAMEOFBRICKHERE
for i = 1,10 --change 10 to whatever you want. You'll see what it does if you change it. brick1.CFrame = brick1.CFrame * CFrame.new(0,-1,0) --the middle number is the y axis. You can change -1 to a decimal to make it more smooth. wait(.1) --If you change it to 'wait(),' it will be a lot smoother. end |
|
|
| Report Abuse |
|
|
MTamidex
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
|
| 16 Mar 2014 12:01 PM |
Thanks, dude. I will test it. Your scripting looks good. If you don't mind, join FME Studio we are recruiting as much scripters as possible
|
|
|
| Report Abuse |
|
|