Tween Camera | Roblox Scripting Tutorial

Ойындар

★Subscribe to my KZread channel for more scripting videos★
► / @sicken_l
⭐Discord Server⭐
► / discord
Did you enjoy this tutorial? If you did, please leave a 👍 Like on this video to support my channel and let me know that you want more like this.
★The music in this video is from NCS★
► / @nocopyrightsounds

Пікірлер: 107

  • @NoobiGamingOfficial
    @NoobiGamingOfficial9 ай бұрын

    fun fact at August 30 of 2023: he was last online 3 days ago so he still uses roblox

  • @kokshienchin3987
    @kokshienchin39873 жыл бұрын

    WOW!! Is really cool! I like this tutorial! THANKS YOU SO MUCH!

  • @FlorizDev
    @FlorizDev3 жыл бұрын

    me watching the video for the tutorail. the second and third time: the music

  • @Ariya1234gamer
    @Ariya1234gamer5 жыл бұрын

    This is nice tut!

  • @danthomas4806
    @danthomas48063 жыл бұрын

    dude come on. game:GetService("Workspace")? Come on...

  • @39fleeting

    @39fleeting

    3 жыл бұрын

    bruh its still workspace

  • @bliss1584

    @bliss1584

    3 жыл бұрын

    lmao i noticed it as well

  • @saltedbacon8793

    @saltedbacon8793

    3 жыл бұрын

    he thinks we cant script lol

  • @danthomas4806

    @danthomas4806

    3 жыл бұрын

    @@39fleeting please just use game.Workspace Or workspace

  • @iifrostypopper1956

    @iifrostypopper1956

    3 жыл бұрын

    @@danthomas4806 His script his choice, don't judge how he writes his script.

  • @monlocohd3553
    @monlocohd35532 жыл бұрын

    How do i make it so that it only works for the specific player that touches it

  • @flairewithane
    @flairewithane5 жыл бұрын

    Can you make a Grid Placing system thing like in Booga Booga?

  • @Legend-od5dc
    @Legend-od5dc5 жыл бұрын

    I know you can’t do this but I’m asking anyways, can you make a trade Gui?

  • @Gamerboy11yt
    @Gamerboy11yt2 ай бұрын

    Is there a way to make this into a command

  • @willeboiandrandom7393
    @willeboiandrandom73933 жыл бұрын

    how can i exit out of it? i click start, everything works, but then after you cant exit out of it. how can i fix this?

  • @bliss1584

    @bliss1584

    3 жыл бұрын

    you have to have an else script for your button, so when clicking the button again after it starts tweening it will cancel the tween. in this case "Animation:Cancel()" should do the trick.

  • @Ben-ot6zh
    @Ben-ot6zh5 жыл бұрын

    Thanks!

  • @greentech1658
    @greentech16585 жыл бұрын

    nice

  • @AugustRenders
    @AugustRenders4 жыл бұрын

    Does anyone know how to give the camera a "second step?" Meaning to make the camera move to another part after having already moved to its first "goal" part.

  • @Someone12132

    @Someone12132

    4 жыл бұрын

    Use an if statement I believe. Like if the camera meets the Cframe of the first goal part, then it should tween to the second part.

  • @cckenforcer

    @cckenforcer

    4 жыл бұрын

    Local TweenSer = game:GetService("TweenService") Local TweenInf = TweenInfo.new(1, Enum.EasingStyle.Qaud, Enum.EasingDirection.Out) Local camera = workspace.currentCamera camera.CameraType = Enum.CameraType.Scriptable Local goal1 = {CFrame = workspace.End1.CFrame} Local goal2 = {CFrame = workspace.End2.CFrame} Local button = script.Parent Local Tween1 = TweenSer:Create(camera, TweenInf, goal1) Local Tween2 = TweenSer:Create(camera, TweenInf, goal2) button.MouseButton1Click:Connect(function() Tween1:Play() wait(1) -- what ever was the first. number u added for TweenInf so mine was 1 so it's one but if I wanted it to tween and then wait 3 seconds (1+3) it. would wait 4 Tween2:Play() end)

  • @cckenforcer

    @cckenforcer

    4 жыл бұрын

    Sorry I typed it on my phone

  • @simplicityd8703

    @simplicityd8703

    2 жыл бұрын

    or have two scripts and have the first script run by enabling it

  • @ap_xi

    @ap_xi

    2 жыл бұрын

    @@cckenforcer better to use tween1.Completed

  • @peeperushki2715
    @peeperushki27155 жыл бұрын

    OH MY GOD, THANK YOU SOO MUCH!

  • @Sicken_L

    @Sicken_L

    5 жыл бұрын

    No problem.

  • @s4dnie
    @s4dnie5 жыл бұрын

    Hi on the 9 row of script there is underline on the equal next to CFrame so it doesn’t work and I would like to know why or some help xD

  • @SirLumbago

    @SirLumbago

    Жыл бұрын

    change the parenthesis to curly brackets

  • @msaturn3919
    @msaturn39195 жыл бұрын

    It said that it expecting ')' to close '(' at column 15, got = (wtf?)

  • @munksterthemunkster1503

    @munksterthemunkster1503

    5 жыл бұрын

    i know... I have the same problem???? I don't know what it means... I have tried fixing it... it wont go away..

  • @guestyones

    @guestyones

    5 жыл бұрын

    Just try putting a part in and name it End

  • @jordanplayz4073

    @jordanplayz4073

    5 жыл бұрын

    @Nikeezx HD you need to place a part called "End" down, because that's the part the camera will *End* at

  • @parkerhix1057

    @parkerhix1057

    5 жыл бұрын

    You forgot to include a ")" on the end of a function. Just go back and check the function and figure out where to add it. It should be something like "end)". Most likely you only put "end" and not "end)".

  • @akiteruakashi8760

    @akiteruakashi8760

    5 жыл бұрын

    oh wait i already know its actually need to be "{" and "}" and not "(" ")" xd

  • @flameskatgamer7453
    @flameskatgamer74532 жыл бұрын

    Thx dude

  • @robotplayz4539
    @robotplayz45395 жыл бұрын

    Nice Video + 1 sub

  • @Sicken_L

    @Sicken_L

    5 жыл бұрын

    Thank you!

  • @willeboiandrandom7393

    @willeboiandrandom7393

    3 жыл бұрын

    @@Sicken_L how can i make it so that i can exit out of the camera

  • @yes-ej2uv
    @yes-ej2uv4 жыл бұрын

    You dont need to use Tweens to do this. There are other methods but Tweening is much more easier.

  • @akiteruakashi8760
    @akiteruakashi87605 жыл бұрын

    How to make the camera tweens to the player original screen?

  • @kenmitwilherndon8806

    @kenmitwilherndon8806

    3 жыл бұрын

    I want to know this too

  • @duckman1824

    @duckman1824

    3 жыл бұрын

    @@kenmitwilherndon8806 You need to change after the tween the CameraType to Custom

  • @duckman1824

    @duckman1824

    3 жыл бұрын

    You need to change after the tween the CameraType to Custom

  • @duckman1824

    @duckman1824

    3 жыл бұрын

    @@kenmitwilherndon8806 and can you pls send me the script for this its not working for me

  • @FNTDrippy
    @FNTDrippy4 жыл бұрын

    Error? ( CameraType cannot be assigned ) to help ples

  • @monke3559

    @monke3559

    4 жыл бұрын

    You need to change the camera type to Scriptable before using the tween by using this code: local cam = workspace.CurrentCamera cam.CameraType = Enum.CameraType.Scriptable

  • @peeperushki2715
    @peeperushki27155 жыл бұрын

    Can you make a in-game purchasing UI?

  • @Sicken_L

    @Sicken_L

    5 жыл бұрын

    Okay, I will.

  • @peeperushki2715

    @peeperushki2715

    5 жыл бұрын

    Scratch that, how about a Gui datastore?

  • @TeddyHartling

    @TeddyHartling

    5 жыл бұрын

    @@peeperushki2715 what is the difference between GUI datastore and leaderstat datastore, you just instead of creating the leaderstat send the data to a GUI

  • @xclusivedivinity_
    @xclusivedivinity_5 жыл бұрын

    Good

  • @Sicken_L

    @Sicken_L

    5 жыл бұрын

    Thank you!

  • @Tommy_Catz
    @Tommy_Catz5 жыл бұрын

    Thx xd

  • @supspy4012

    @supspy4012

    4 жыл бұрын

    did you use this in the piggy tutorial?

  • @saltedbacon8793

    @saltedbacon8793

    3 жыл бұрын

    @@supspy4012 definitely

  • @GrenIsDumb
    @GrenIsDumb Жыл бұрын

    Doesn't work

  • @Soulixer
    @Soulixer5 жыл бұрын

    What’s this song mashup?

  • @FloribertHD

    @FloribertHD

    5 жыл бұрын

    It's "Linked", an version with lyrics.

  • @Soulixer

    @Soulixer

    5 жыл бұрын

    Alright thanks

  • @RealSonicstudiosMB
    @RealSonicstudiosMB Жыл бұрын

    I can use this for seek in doors

  • @TheOnePlankton
    @TheOnePlankton4 жыл бұрын

    "End is not a valid member of Workspace" fml

  • @cckenforcer

    @cckenforcer

    4 жыл бұрын

    So what he didn't show is he made a part named End Cframe is a vector 3... x y z location... So he's setting the CFrame of the camera to the CFrame of the part hence Cframe = workspace.End.CFrame make a part where you want your camera to tween to and just make sure "End" is whatever you named your part

  • @gabe1351

    @gabe1351

    4 жыл бұрын

    smart^^

  • @cckenforcer

    @cckenforcer

    4 жыл бұрын

    @@gabe1351 and I was wrong about my original description... CFrame is a set of numbers that define the parts location, angles/orientation and size. You should definitely look for into it. It can be used to make a lot of cool things. I'm thinking I should post my own videos. What do you guys think?

  • @gabe1351

    @gabe1351

    4 жыл бұрын

    @@cckenforcer agreed

  • @KianB

    @KianB

    3 жыл бұрын

    @@cckenforcer _Legend says he is still thinking about making his own videos_

  • @realapeiron
    @realapeiron5 жыл бұрын

    it makes a lot of work

  • @griffinthegamer2414
    @griffinthegamer24145 жыл бұрын

    The owner got terminated on roblox.. ;-;

  • @shuyu9297
    @shuyu92975 жыл бұрын

    Give me a script pls

  • @lunacraft5895
    @lunacraft58953 жыл бұрын

    THANKS LIKE AND SUB !!!

  • @pandasprogramming8304
    @pandasprogramming83045 жыл бұрын

    *Me searching the comments for the script* - It's taking ages and nobody typed the script yet? XD

  • @tutusstuff4476

    @tutusstuff4476

    4 жыл бұрын

    @@GWRoblox Bruh, I have a full folder of just text scripts, so I can use them. It's very helpful, trust me.

  • @1santwan

    @1santwan

    4 жыл бұрын

    @@GWRoblox Your one of those people :-;

  • @1santwan

    @1santwan

    4 жыл бұрын

    @@GWRoblox Its not even your channel, your some 8 year old that just was told to do things on their own and doesnt want anyone to have help well guess what buddy, the script is on dev forum, a website you'll never take over or delete other peoples stuff on .

  • @chipman4747

    @chipman4747

    3 жыл бұрын

    @@1santwan calm down, hes just trying to give his advice, to help him learn more efficiently.

  • @SirPretenderDev
    @SirPretenderDev2 жыл бұрын

    problem solved...

  • @ServerServer-vb4oj
    @ServerServer-vb4oj Жыл бұрын

    while wait(1) do Sicken_L.Subscribers.Value = Sicken_L.Subscribers.Value +1 end)

  • @romiozatv

    @romiozatv

    Жыл бұрын

    Looping his subscribers

Келесі