Script: game.ReplicatedStorage:WaitForChild("Cutscene1")OnClientEvent:Connect(function) if script.Done.Value == false then script.Done.Value = true local camera = game.Workspace.CurrentCamera camera.CameraType = "Scriptable" camera:Interpolate(game.Workspace.part1.CFrame, game.Workspace.part2.CFrame, 2) wait(2) camera:Interpolate(game.Workspace.part2.CFrame, game.Workspace.part3.CFrame, 2) wait(2) camera:Interpolate(game.Workspace.part3.CFrame, game.Workspace.part4.CFrame, 2) wait(2) camera:Interpolate(game.Workspace.part4.CFrame, game.Workspace.part5.CFrame, 2) wait(2) camera:Interpolate(game.Workspace.part5.CFrame, game.Workspace.part6.CFrame, 2) wait(2) camera.CameraType = "Custom"
end
end)
Error comes up when trying to view cutscene.
Hi. You forgot an ( at line 1 and a point between ("Cutscene1") and OnClientEvent
game.ReplicatedStorage:WaitForChild("Cutscene1").OnClientEvent:Connect(function() if script.Done.Value == false then script.Done.Value = true local camera = game.Workspace.CurrentCamera camera.CameraType = "Scriptable" camera:Interpolate(game.Workspace.part1.CFrame, game.Workspace.part2.CFrame, 2) wait(2) camera:Interpolate(game.Workspace.part2.CFrame, game.Workspace.part3.CFrame, 2) wait(2) camera:Interpolate(game.Workspace.part3.CFrame, game.Workspace.part4.CFrame, 2) wait(2) camera:Interpolate(game.Workspace.part4.CFrame, game.Workspace.part5.CFrame, 2) wait(2) camera:Interpolate(game.Workspace.part5.CFrame, game.Workspace.part6.CFrame, 2) wait(2) camera.CameraType = "Custom" end end)