How to Make a Cutscene Camera | 2024 Roblox Studio

Поділитися
Вставка
  • Опубліковано 10 лют 2025

КОМЕНТАРІ • 92

  • @kevlarstudiorblx
    @kevlarstudiorblx  6 місяців тому +14

    local tweenservice = game:GetService("TweenService")
    local plr = game.Players.LocalPlayer
    local currentCamera = workspace.CurrentCamera
    local folder = workspace:WaitForChild("Cutscene")
    local db = true
    local function cueCutsceneCam(speed)
    local tweeninfo = TweenInfo.new(speed, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
    currentCamera.CameraType = Enum.CameraType.Scriptable
    currentCamera.CFrame = folder[1].CFrame
    for i = 2, #folder:GetChildren() do
    if folder:FindFirstChild(i.."S") then
    currentCamera.CFrame = folder[i.."S"].CFrame
    else
    tweenservice:Create(currentCamera, tweeninfo, {CFrame = folder[i].CFrame}):Play()
    wait(tweeninfo.Time)
    end
    end
    currentCamera.CameraType = Enum.CameraType.Custom
    end
    workspace:WaitForChild("Trigger").Touched:Connect(function(touched)
    if touched.Parent == plr.Character and db == true then db = false
    cueCutsceneCam(3)
    wait(5)
    db = true
    end
    end)

    • @Maskeowl
      @Maskeowl 6 місяців тому

      thanx

    • @willthewhitetiger
      @willthewhitetiger 6 місяців тому +2

      idk why but the comment says "local folder = workspace:WaitForChild("Cutscene")" however the video says "local folder = workspace.Cutscene" the one in the comment didnt work for me however typing the thing in your video directly did

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому +1

      Thats odd, thanks for letting us know! Our guess is that it may have been an issue with the syntax from copying text in youtube.
      Although, were glad it worked out in the end for you!

    • @whitetalewolf_V1
      @whitetalewolf_V1 5 місяців тому

      on the tutorial as you showed to put 35 it does not skip and it remains blocked on the first cam

    • @OASonicTM
      @OASonicTM 4 місяці тому +1

      @@whitetalewolf_V1it’s 3S

  • @kpamzz6443
    @kpamzz6443 6 місяців тому +6

    this guy explain more details than the other tutorial, hope you make a tutorial video about scripting

  • @FabryDolly
    @FabryDolly 6 місяців тому +2

    Tysm for this video!

    • @kuwiest
      @kuwiest 6 місяців тому +1

      hi ralsei

  • @FestimBloxTV
    @FestimBloxTV 5 місяців тому +2

    tysm

  • @furizagold
    @furizagold 2 дні тому

    Thx

  • @SaphirGX
    @SaphirGX Місяць тому +2

    how to add music

  • @PurpleGuyMemes
    @PurpleGuyMemes Місяць тому

    criminally underrated

  • @ToastyYTR
    @ToastyYTR 6 місяців тому

    Yo this is a w how to video!! Keep up the good work! 😄👍

  • @RollingSkyAC
    @RollingSkyAC 3 місяці тому +1

    Great tutorial! 🎉 But last question, how can I add and let the textbox out during camera moving, like those obby game🤔

  • @Ant9cs
    @Ant9cs 6 місяців тому +1

    fire video 👍

  • @Ultrabot-k
    @Ultrabot-k Місяць тому

    Tanks bro!!!

  • @l2708l
    @l2708l 4 місяці тому

    I LOVE SO SO MUCH 😭😭😭😭

  • @AlevStudios
    @AlevStudios 25 днів тому

    i made the trigger part in the folder and i made the folders name "Objective8" i made it when i touch the trigger part the cam will go to the 1, from 1 to 2 with 10 seconds. and i made when i touch trigger so a text get in the screen. so i made some sort of cutscene with texts.

  • @Hanniell-i5v
    @Hanniell-i5v 5 місяців тому

    TYSMMM

  • @wolfy9802
    @wolfy9802 16 днів тому

    Yo, how do u make a cutscemee play along with a roblox animation editor animation playing at the same time?

  • @ScoobRules
    @ScoobRules 6 місяців тому +2

    do u know how to make them loop??

  • @PixelProwlerPlays
    @PixelProwlerPlays Місяць тому

    is there a way to make the animation looped and make it start even if the player doesn't touch it?

  • @asriel_4955
    @asriel_4955 4 місяці тому

    maybe if u can make it so the parts act as a path for the camera to take? and the time it takes to go between them is constant. because sometimes it can be 1 second but depending on the length there is between the parts it will go faster or slower

  • @abiyyuzn
    @abiyyuzn 3 місяці тому

    what if we want to make another trigger and make it another cutscene?

  • @johncarney9049
    @johncarney9049 3 місяці тому

    Doesn't work. Placing the code, triple checking it is the same following every step to the letter - it doe snot trigger at all. Deleted everything and moving on to another "tutorial" that will hopefully work.

  • @subnex4592
    @subnex4592 4 місяці тому

    Is it possible to have this as a opening cutscene because if I place it right below me at spawn then my camera will only get stuck

  • @Maskeowl
    @Maskeowl День тому

    10 days after the vid gotuloaded i find it for first time

  • @Therealkusonokiplays
    @Therealkusonokiplays Місяць тому

    i copied and pasted the code but it didn't work

  • @ryohiro996
    @ryohiro996 4 місяці тому

    How I can do more cutscenes in the same localscript? (1 cutscene, and have 2 cutscene in the same local script but total different)

  • @BLODSWIPER
    @BLODSWIPER 6 місяців тому

    How to give it a cooldown so the same player cant trigger it again within a time limit.

  • @SmartKatega
    @SmartKatega 6 місяців тому +3

    can u show how to make the cutscene appear when u join the game?

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому +2

      We will use 'repeat wait(1) until game:IsLoaded().' This will wait 1 second repeatedly until the game loads for the player. Then the loop will stop and continue to the next line, which is 'cueCutsceneCam.' This replaces the trigger function.
      Replace your code inside your local script with this:
      local tweenservice = game:GetService("TweenService")
      local plr = game.Players.LocalPlayer
      local currentCamera = workspace.CurrentCamera
      local folder = workspace:WaitForChild("Cutscene")
      local db = true
      local function cueCutsceneCam(speed)
      local tweeninfo = TweenInfo.new(speed, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
      currentCamera.CameraType = Enum.CameraType.Scriptable
      currentCamera.CFrame = folder[1].CFrame
      for i = 2, #folder:GetChildren() do
      if folder:FindFirstChild(i.."S") then
      currentCamera.CFrame = folder[i.."S"].CFrame
      else
      tweenservice:Create(currentCamera, tweeninfo, {CFrame = folder[i].CFrame}):Play()
      wait(tweeninfo.Time)
      end
      end
      currentCamera.CameraType = Enum.CameraType.Custom
      end
      repeat wait(1) until game:IsLoaded()
      cueCutsceneCam(3)

    • @Vztxs
      @Vztxs 5 місяців тому

      @@kevlarstudiorblx it dosent end, it just stays on the last camera
      and is it possible you can tell me to make the cutscene end with a gui button eg. play button
      EDIT: i fixed the camera being stuck on the last one, now all im after is a button that pops up once the last camera is displayed, 5th for me and once the button is clicked the cutscene ends

  • @BlackCovacha
    @BlackCovacha 6 місяців тому

    how can i like change the speeds of different transitions?? like for example: i want the camera to go from 1 to 2 in 3 seconds and then i want to the camera to go from 3 to 4 in 6 seconds

  • @willthewhitetiger
    @willthewhitetiger 6 місяців тому

    hey is there a way to make it so it stays on one of the nodes for a cirtain amount of time without moving or going to another node?

  • @La_Farina
    @La_Farina 5 місяців тому

    can u do that when the player joins the game it makes you see as 1 and stay in 1? (i dont need the animation)

  • @valentine-f6z
    @valentine-f6z 3 місяці тому

    Ctrl v dose not work and what is command v thats not on my keybored

  • @Jeremyshortss
    @Jeremyshortss 6 місяців тому +1

    i've did every step of the video but,the outpot constantly say then trigger is not a valid member of the workspace,if someone can halp me w this thing,ill appreciate it ;)

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому +2

      Hi, this was my mistake. It should be workspace:WaitForChild("Trigger"). Your output happens because the script looks for the trigger part before the part is even loaded.
      :WaitForChild() should fix the problem by letting the script wait for the part until it's loaded.
      I updated the code in the description and comments.
      If the issue persists... try checking if it is spelled right and if the trigger part is under workspace!
      Hope this helps! 🙂
      Try this code instead:
      local tweenservice = game:GetService("TweenService")
      local plr = game.Players.LocalPlayer
      local currentCamera = workspace.CurrentCamera
      local folder = workspace:WaitForChild("Cutscene")
      local db = true
      local function cueCutsceneCam(speed)
      local tweeninfo = TweenInfo.new(speed, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
      currentCamera.CameraType = Enum.CameraType.Scriptable
      currentCamera.CFrame = folder[1].CFrame
      for i = 2, #folder:GetChildren() do
      if folder:FindFirstChild(i.."S") then
      currentCamera.CFrame = folder[i.."S"].CFrame
      else
      tweenservice:Create(currentCamera, tweeninfo, {CFrame = folder[i].CFrame}):Play()
      wait(tweeninfo.Time)
      end
      end
      currentCamera.CameraType = Enum.CameraType.Custom
      end
      workspace:WaitForChild("Trigger").Touched:Connect(function(touched)
      if touched.Parent == plr.Character and db == true then db = false
      cueCutsceneCam(3)
      wait(5)
      db = true
      end
      end)

    • @fronyx1
      @fronyx1 5 місяців тому

      @@kevlarstudiorblx ty bro

  • @ZSpartaFPS
    @ZSpartaFPS 6 місяців тому

    04:10:24.039 1 is not a valid member of Folder "Workspace.Cutscene" - Client - LocalScript:14 keeps popping up everytime i try to run it

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому

      Did you make sure the part is named correctly? (It should just be named 1)
      And is the part in the Cutscene folder?
      Also make sure the part is anchored. (It could get destroyed when it falls into the void)
      If the problem persists, please join our Discord so we can assist you further 🙂

  • @FGX279
    @FGX279 5 місяців тому +2

    if I touched it is it only for me or other players too?

  • @HetPorototo
    @HetPorototo 6 місяців тому

    Can you make a system where it starts the S3-4 only after clicking the screen

  • @Weird0B0y
    @Weird0B0y 5 місяців тому +2

    it dont works when ı touch the part-

    • @LSPPlayZ
      @LSPPlayZ 4 місяці тому

      Make sure you named everything right because that is the most important step

  • @나우리서포터
    @나우리서포터 5 місяців тому

    how to add music on playing cutscene

  • @SuperZ_ofc
    @SuperZ_ofc 3 місяці тому

    how add animation on cutsenes?

  • @keyblademaster8263
    @keyblademaster8263 6 місяців тому +2

    Can you do a viewpoint frames video?

  • @ellynn697
    @ellynn697 Місяць тому

    How do i make it so that when the player loads in the game the cutscene automatically starts? Love ur work

    • @Trapzx_Brodie
      @Trapzx_Brodie Місяць тому +1

      place the trigger block where the player spawns, so that when they player loads in, they automatically land on the trigger block witch will then make it play the cutscene.

    • @ellynn697
      @ellynn697 Місяць тому

      @@Trapzx_Brodie Smart tyyy x

  • @samuraii.10
    @samuraii.10 5 місяців тому

    Can you do a video explaining the script??? Its interesting. Btw, tysm!!

  • @Eternal_Night17
    @Eternal_Night17 2 місяці тому

    Hi, how to do that whenever a player joins, a cutscene will play for him? Thanks!

  • @yoyoyoyoyjaj
    @yoyoyoyoyjaj 5 місяців тому

    This is so good man no bullshit

  • @从.从
    @从.从 6 місяців тому

    better way is to use animation editor. Make it a model and rename a part HumanoidRootPart. then dd a script to have the camera set to it.

  • @Uaws-Ka82
    @Uaws-Ka82 3 місяці тому

    why no working? D:

  • @darkyrblx9160
    @darkyrblx9160 6 місяців тому

    Heyy... How could i make the same, but maybe changing the fov on some parts of the cutscene??

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому

      To achieve that, we'll need a completely new script. We are planning to create a more advanced and modular tutorial for you and others! 😊
      This tutorial was meant to be as simple as possible.

    • @darkyrblx9160
      @darkyrblx9160 6 місяців тому

      @@kevlarstudiorblx thanks!!

    • @darkyrblx9160
      @darkyrblx9160 6 місяців тому

      @@kevlarstudiorblx btw ill credit this channel if i ever get to use some tutorials of it, im kinda overworking myself on some experiences and this would save my life hehe.

  • @Loyalツ
    @Loyalツ 16 днів тому

    it doesnt work..

  • @AMBDONO
    @AMBDONO 6 місяців тому

    You need 1000 follows !

  • @yangheyu
    @yangheyu 6 місяців тому

    why can‘t it run? It’s exactly the same as in the video 😢

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому +3

      Did you make sure that everything is named properly? (Capitalization, spacing, and spelling matters!) Is everything in the right place? (Like the cutscene folder should be under workspace)
      Finally, whats your output? (Go to View from the top of your screen then>Output to open it) Let me know if you see any errors.

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому +2

      Hi, I just updated the code which may fix your issue.
      Try the updated code from the comments or the description 🙂

    • @yangheyu
      @yangheyu 6 місяців тому +1

      @@kevlarstudiorblx i made it according to your updated code,and I succeeded. It runs very well, thanks you for your help

    • @Mihitsinha1910
      @Mihitsinha1910 Місяць тому

      @@kevlarstudiorblx the normal code worked but the new one didnt

  • @Denquill
    @Denquill 6 місяців тому +1

    Thank you for the cutscene tutorial but my camera is going undersground the map??? please help me quickly btw W tutorial my guy!

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому +1

      Did you make sure all of the parts are anchored?

    • @Denquill
      @Denquill 6 місяців тому +2

      @@kevlarstudiorblx Oh I forgot about that XD Thank you a lot for your help 😄 I'll make my first animation 😊 I really appreciate it

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому +1

      Of course! Good luck on your animation!🙂

  • @user-ke7sd2ub5c
    @user-ke7sd2ub5c 5 місяців тому

    Cutscene

  • @ST4ROLIVI4234
    @ST4ROLIVI4234 5 місяців тому

    it didn't work because it 2 year ago

  • @milo-dt6mb
    @milo-dt6mb 5 місяців тому

    it dont work :(

    • @kevlarstudiorblx
      @kevlarstudiorblx  5 місяців тому

      What does your output look like? To view the output go to view>output

  • @er_aviation
    @er_aviation 6 місяців тому

    Is this server sided?

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому

      This is client sided, aka local sided. To make this server sided we would need to use remote events.

    • @er_aviation
      @er_aviation 6 місяців тому +1

      @@kevlarstudiorblx alright thank you! I'll try to revise this to become server-sided for my story game :)

    • @er_aviation
      @er_aviation 6 місяців тому +1

      Update, I've managed to make the server-sided version work with the use of serverscriptservice scripts and remote events as well. Thank you so much for this tutorial! Without you, my story game won't be finished. If anyone wants it, lmk!

    • @kevlarstudiorblx
      @kevlarstudiorblx  6 місяців тому +1

      Im glad you were able to get it to work! We wish you the best in your story game 🙂

    • @billmedici
      @billmedici 5 місяців тому

      @@er_aviation please provide

  • @Gabri_KrOfficial
    @Gabri_KrOfficial 4 місяці тому

    555th to put like

  • @valentine-f6z
    @valentine-f6z 3 місяці тому

    to much words what this is going to take days but ok

  • @user-ke7sd2ub5c
    @user-ke7sd2ub5c 5 місяців тому

    Trigger

  • @pangponzx2076
    @pangponzx2076 3 місяці тому

    ขอบคุณครับอาจารตอนนี้ผมทำกล้องเป็นแล้ว

  • @valentine-f6z
    @valentine-f6z 3 місяці тому

    not working