Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cam = require(game.Workspace.CameraPlus)
- cam:TweenTo(
- CFrame.new(Vector3.new(50, 50, 50), Vector3.new(0, 5, 0)), -- End CFrame
- 3, -- Duration
- cam.Ease.InOut.Sine -- Easing Function
- )
- cam:TweenToFOV(
- 20, -- New FieldOfView
- 3, -- Duration
- cam.Ease.InOut.Expo -- Easing Function
- )
- cam:TweenToFOV(
- 70, -- New FieldOfView
- 3, -- Duration
- cam.Ease.InOut.Expo -- Easing Function
- )
- cam:TweenToPlayer(
- 3, -- Duration
- cam.Ease.InOut.Sine -- Easing Function
- )
- cam:TweenToAll(
- CFrame.new(Vector3.new(50, 50, 50), Vector3.new(0, 5, 0)), -- End CFrame
- 70, -- End FieldOfView
- math.rad(360*2), -- End Roll
- 3, -- Duration
- cam.Ease.InOut.Expo -- Easing Function
- )
- -- Bounce to the ground:
- cam:TweenTo(
- CFrame.new(Vector3.new(50, 1, 50), Vector3.new(0, 5, 0)), -- End CFrame
- 3, -- Duration
- cam.Ease.Out.Bounce -- Easing Function
- )
- -- Rotate 360:
- cam:TweenToRoll(
- math.rad(360),
- 2,
- cam.Ease.InOut.Expo
- )
- -- Elastic to the sky:
- cam:TweenTo(
- CFrame.new(Vector3.new(50, 50, 50), Vector3.new(0, 5, 0)), -- End CFrame
- 2, -- Duration
- cam.Ease.Out.Elastic -- Easing Function
- )
Add Comment
Please, Sign In to add comment