make a script and put it in the dialog then put this in it.
function check(Player, Choice)
if Choice.Name == "Choice1" then
local target = workspace.Part
local camera = workspace.CurrentCamera
camera.CameraSubject = target
local angle = 0
while wait() do
camera.CoordinateFrame = CFrame.new(target.Position)
* CFrame.Angles(0, angle, 0)
* CFrame.new(0, 0, 5)
angle = angle + math.rad(1)
end
end
end
script.Parent.DialogChoiceSelected:connect(check) |