Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
-- If you're making another cutscene, replace all of the "PointA"s and "PointB"s into the names of your cameras -- local TweenService = game:GetService("TweenService") local CutscenesFolder = game.ReplicatedStorage:WaitForChild("Cutscenes") local CutsceneEvent = CutscenesFolder:WaitForChild("Cutscene1") local CutsceneCameras = game.Workspace:WaitForChild("CutsceneCameras") local PointA = CutsceneCameras:WaitForChild("CameraA") local PointB = CutsceneCameras:WaitForChild("CameraB") local CutsceneTime = 10 local TweenInfo = TweenInfo.new( CutsceneTime, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0 ) CutsceneEvent.OnClientEvent:Connect(function() game.Workspace.Camera.CameraType = Enum.CameraType.Scriptable game.Workspace.Camera.CFrame = PointA.CFrame local Tween = TweenService:Create(game.Workspace.Camera, TweenInfo {CFrame = PointB.CFrame}) Tween:Play() wait(CutsceneTime) game.Workspace.Camera.CameraType = Enum.CameraType.Custom end)
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)