java1999
|
  |
| Joined: 03 Dec 2009 |
| Total Posts: 892 |
|
|
| 23 Jul 2012 11:52 AM |
The problem is that i cant view the GUI while this script is running. Is there any other way to do it?
----Script Start---- local target = workspace.Part local camera = workspace.CurrentCamera camera.CameraSubject = target local angle = 0 while wait() do camera.CoordinateFrame = CFrame.new(target.Position) --Start at the position of the part * CFrame.Angles(0, angle, 0) --Rotate by the angle * CFrame.new(0, 0, -5) --Move the camera backwards 5 units angle = angle + math.rad(1) end ----Script End--- |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 23 Jul 2012 11:55 AM |
SDuke524 first wiki tutorial.... I miss that guy.
local target = workspace.Part local camera = workspace.CurrentCamera camera.CameraSubject = target local angle = 0
repeat wait() until game.StarterGui.ScreenGui.TextButton.Visible == false --Change the childs and st00f.
while wait() do camera.CoordinateFrame = CFrame.new(target.Position) --Start at the position of the part * CFrame.Angles(0, angle, 0) --Rotate by the angle * CFrame.new(0, 0, -5) --Move the camera backwards 5 units angle = angle + math.rad(1) end
|
|
|
| Report Abuse |
|
|
java1999
|
  |
| Joined: 03 Dec 2009 |
| Total Posts: 892 |
|
| |
|