local target = Workspace.Grass
local camera = Workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target
local angle = 100
local i = 0
 

while wait() do
    camera.CoordinateFrame = CFrame.new(target.Position)
							* CFrame.Angles(0, angle, 0)
							* CFrame.new(0, 100, 200)
    angle = angle + math.rad(1)
	script.Parent.StartGui.ClassFrame.Buttons.PlayKnightButton.MouseButton1Down:connect(function(onClick)
		camera.CameraType = Enum.CameraType.Custom
		game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
	end)
end

I want this to circle the Grass part for ever, until... a button is pressed. I have made it work so when the button is pressed it works, but it dosent change the camera angle to its normal state. I have tried multiple times with no success. I just want it so when a player joins their camera rotates around the baseplate (grass) until the button is pressed when the camera is changed back to the normal camera psoition.

3 comments

0

Try changing game.Workspace.CurrentCamera on the 16th line to camera. Not sure if that will work but try it.

0

Posting your question over and over doesn't help you at all.

0

Well no-ones answering so