| |
|
»
»
|
|
| |
Re: Fix this please
|
|
|
toxic69
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 11787 |
|
|
| 03 Mar 2014 01:07 PM |
while true do script.Parent.Scale=1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2 wait() script.Parent.Scale=1 end
No red lines, but I want the mesh to extend then go back to the regular size |
|
|
| Report Abuse |
|
|
toxic69
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 11787 |
|
|
| 03 Mar 2014 01:10 PM |
| It doesn't do anything to the brick... Sorry for not including that |
|
|
| Report Abuse |
|
|
toxic69
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 11787 |
|
|
| 03 Mar 2014 01:14 PM |
Alright, I did more to it
while true do script.Parent.Scale=((1.1,1,1),(1.2,1,1),(1.3,1,1)(1.4,1,1),(1.5,1,1),(1.6,1,1),(1.7,1,1),(1.8,1,1),(1.9,1,1),(2,1,1)) wait() script.Parent.Scale=1, 1, 1 end
This does have a red line. |
|
|
| Report Abuse |
|
|
toxic69
|
  |
| Joined: 29 Jan 2011 |
| Total Posts: 11787 |
|
|
| 03 Mar 2014 01:28 PM |
Alright, sorry
Couple of things in that previous post I made that my eye didn't catch
while true do script.Parent.Mesh.Scale=(1.1,1,1),(1.2,1,1),(1.3,1,1),(1.4,1,1),(1.5,1,1),(1.6,1,1),(1.7,1,1),(1.8,1,1),(1.9,1,1),(2,1,1) wait() script.Parent.Mesh.Scale=1, 1, 1 end |
|
|
| Report Abuse |
|
|
Aethea
|
  |
| Joined: 12 Dec 2008 |
| Total Posts: 9836 |
|
|
| 03 Mar 2014 01:54 PM |
while wait() do <--True is for the weak for i=1,2,.1 do wait() script.Parent.Size=(0,i,0) end script.Parent.Size=(0,1,0) end |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2014 01:59 PM |
| Make sure you change the 0s otherwise it would be no existant |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2014 02:06 PM |
Breaking down Aethea's comment;
while wait() do _ --while (wait a bit, and if it actually ticks) do _ _ for i=1, 2, .1 do ___ -- for (i = 1; i < 2; i = i + 0.1) do ___ ___ wait() -- wait another tick ___ ___ script.Parent.Size = Vector3.new(0,i,0) ___ -- unless "(0,i,0)" is translated into the Vector3 ___ _ end _ _ script.Parent.Mesh.Scale = Vector3.new(1,1,1) -- reset end |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2014 02:07 PM |
And rather, fixing it (@crazynerd11 :3) (+ fixing wrong axis on Aethea's part :P)
while wait() do _ --while (wait a bit, and if it actually ticks) do _ _ for i=1, 2, .1 do ___ -- for (i = 1; i < 2; i = i + 0.1) do ___ ___ wait() -- wait another tick ___ ___ script.Parent.Size = Vector3.new(i,1,1) ___ -- unless "(i,1,1)" is translated into the Vector3 ___ _ end _ _ script.Parent.Mesh.Scale = Vector3.new(1,1,1) -- reset end |
|
|
| Report Abuse |
|
|
|
| |
|
|
| |
|
»
»
|
|
|
|
|