The script keeps rotating, help??
03 | script.Parent.Parent.SpawnLocation.ClickDetector.MouseClick:connect( function (yoo) |
04 | if debounce = = false then |
06 | local target = workspace.CIRCLETHIS |
07 | local camera = workspace.CurrentCamera |
08 | camera.CameraSubject = target |
11 | camera.CoordinateFrame = CFrame.new(target.Position) |
12 | * CFrame.Angles( 0 , angle, 0 ) |
13 | * CFrame.new( 0 , 0 , -. 1 ) |
14 | angle = angle + math.rad( 1 ) |
19 | workspace.CIRCLETHIS.ClickDetector.MouseClick:connect( function (click) |
20 | if debounce = = true then |
21 | local player = game.Players.LocalPlayer.Character:FindFirstChild( "Torso" ) |
23 | local camera = workspace.CurrentCamera |
24 | camera.CameraSubject = target |
After I click the part it starts circling, it returns to me but it doesn't stop spinning,