Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

On die camera zooming out ?

Asked by
Bulvyte 388 Moderation Voter
8 years ago

How you do it ? Player dies > Camera starts zooming out from player slowly ? How would you write this ? Help plz

repeat wait() until game.Players.LocalPlayer.Character
game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
    wait(2.50)
-- <<<< and in this line i want the camera to start zooming out from player's body slowly

end)

0
anyone ? :// Bulvyte 388 — 8y
0
You can try using CFrame:lerp() to smoothly transition the camera from one position to another. Here is a very detailed tutorial on Lerping by Crazyman32. http://www.roblox.com/Lerp-Tutorial-Adv-Scripting-item?id=65231181 Discern 1007 — 8y

Answer this question