xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
|
| 28 Apr 2014 07:19 PM |
x = script.Parent.Slide1 z = script.Parent.Slide2 wait(1) function slide() wait(.5) for i = 1, 10 , 0.5 do wait(.5) x.CFrame = CFrame.new(268,-78.2, -977.5 + i) end end slide() |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 28 Apr 2014 07:24 PM |
You're just playing the function immediately after creating it.. No Events or specifications to activate it? :P
x = script.Parent.Slide1 z = script.Parent.Slide2 wait(1) function slide() wait(.5) for i = 1,10,.5 do x.CFrame = CFrame.new(x.Position+Vector3.new(0,0,i)) end end slide() |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2014 07:34 PM |
| How does the variable 'z' play into this script? If you are using it, why is it not referenced? |
|
|
| Report Abuse |
|
|
xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
|
| 28 Apr 2014 11:31 PM |
| If it wasnt used I know that wasnt the problem. I had to be used later on until I figured out the problem. -I figured like a minute after I posted the forum.. So it kinda wasted my time making the forum. |
|
|
| Report Abuse |
|
|