SuperSy
|
  |
| Joined: 11 Aug 2007 |
| Total Posts: 861 |
|
|
| 05 May 2012 02:55 PM |
Here's the script that I have, that seems not to work very well:
Angle=script.Parent.CFrame:toEulerAnglesXYZ() while true do wait(60) for i=1542,1521,-1 do script.Parent.CFrame=CFrame.new(269.78,i,116.43)*Angle wait(.1) end wait(60) for i=1522,1542 do script.Parent.CFrame=CFrame.new(269.78,i,116.43)*Angle wait(.1) end end
What I'm trying to do is have the block move down to y position 1521 every 60 seconds. Then, after another 60 seconds, it would move back to y position 1452. This would be done all while staying in the exact same angle, in the x and z positions 269.78 and 116.43. What seems to be wrong? |
|
|
| Report Abuse |
|
|
|
| 05 May 2012 02:59 PM |
I have a much better one on my main...Im to lazy to go get it. Sorry
~!~ Plus One Post ~!~ |
|
|
| Report Abuse |
|
|
SuperSy
|
  |
| Joined: 11 Aug 2007 |
| Total Posts: 861 |
|
|
| 05 May 2012 03:05 PM |
| Oh OK. Thank you for telling me that, that's really helpful to know that you HAVE the script, and you're unwilling to get it :3 |
|
|
| Report Abuse |
|
|
|
| 05 May 2012 03:08 PM |
As you where posting that I was looking for the script.
I found it.
I'll post it after I make it shorter. Or do you want 1K lines?
~!~ Plus One Post ~!~ |
|
|
| Report Abuse |
|
|
SuperSy
|
  |
| Joined: 11 Aug 2007 |
| Total Posts: 861 |
|
| |
|
|
| 05 May 2012 03:11 PM |
Here you go.
Brick = script.Parent WaitTime = 0.1
while true do Brick.CFrame = CFrame.new(-65, 1.6, -75) wait(WaitTime) end
~!~ Plus One Post ~!~ |
|
|
| Report Abuse |
|
|
SuperSy
|
  |
| Joined: 11 Aug 2007 |
| Total Posts: 861 |
|
|
| 05 May 2012 03:16 PM |
| Ahhhh. I see. But that makes the brick teleport down. See, what happened with the script I posted above is that the original version would move down 0.5 on the y coord every 0.1 second until it reached 1521. However, it would rotate to default rotation as it did so, so my friend changed it so that it would stay at the angle I needed it to be at. Unfortunately when he added the part in the script about the angles, it wouldn't work at all. See, I need the script to move down 0.5y every 0.1 second, WHILE staying at the rotation it was previously at. I should have mentioned that, ^-^ silleh Sy. |
|
|
| Report Abuse |
|
|
|
| 05 May 2012 03:17 PM |
Thats alot of text I dont feel like reading. Hope I helped and if not I hope you get help.
~!~ Plus One Post ~!~ |
|
|
| Report Abuse |
|
|
SuperSy
|
  |
| Joined: 11 Aug 2007 |
| Total Posts: 861 |
|
| |
|