BaconSoap
|
  |
| Joined: 12 Sep 2010 |
| Total Posts: 1882 |
|
|
| 09 Jun 2014 08:18 PM |
When I run it, it breaks the script.
local part = Instance.new("Part")
part.Anchored = true part.Parent = Workspace
while wait(0.5) do part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(1), 0) end |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2014 08:22 PM |
define "breaks"?
theres nothing rong with that, except maybe efficiency
p = Instance.new("Part",Workspace) p.Anchored = true game:GetService("RunService").RenderStepped:connect(function() wait(0.5) p.CFrame = p.CFrame*CFrame.Angles(0,math.rad(2),0) end) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Jun 2014 08:24 PM |
| lol his was more efficient than yours. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2014 08:24 PM |
| meh, I just felt like using renderstpeed .-. |
|
|
| Report Abuse |
|
|
BaconSoap
|
  |
| Joined: 12 Sep 2010 |
| Total Posts: 1882 |
|
|
| 09 Jun 2014 08:25 PM |
| I know, nothing wrong with it, but it points an arrow at line 1, the script pops up, and the brick never appears. |
|
|
| Report Abuse |
|
|
BaconSoap
|
  |
| Joined: 12 Sep 2010 |
| Total Posts: 1882 |
|
|
| 09 Jun 2014 08:26 PM |
| Ah it was just a bug.. I deleted the script and pasted it again, it worked. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2014 08:28 PM |
is there a circle next to line 1? click it if there is, its telling the script to stop there |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 09 Jun 2014 08:31 PM |
| Why stick in that wait(0.5)? It's gonna go way faster than 0.5 if multiple threads run every 1/60. |
|
|
| Report Abuse |
|
|