ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 09 Mar 2013 08:20 PM |
while true do script.Parent.Position.X= +1 if script.Parent.Position.X>1300 then script.Parent.Position.X=-100 end end |
|
|
| Report Abuse |
|
|
HD188753
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 5021 |
|
|
| 09 Mar 2013 08:21 PM |
You need a wait in any while true do loop as it otherwise would go so fast, it would crash the player
while true do wait() script.Parent.Position.X= +1 if script.Parent.Position.X>1300 then script.Parent.Position.X=-100 end end
|
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 09 Mar 2013 08:22 PM |
| Still didn't work... Sorry I am new to scripting... |
|
|
| Report Abuse |
|
|
HD188753
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 5021 |
|
|
| 09 Mar 2013 08:25 PM |
Sorry, skimed that really fast, missed some stuff
while true do wait() script.Parent.Position.X= script.Parent.Position.X +1 if script.Parent.Position.X>1300 then script.Parent.Position.X= script.Parent.Position.X -100 end end
Also, if it breaks agian, tell us output.
|
|
|
| Report Abuse |
|
|