Beginner’s Roblox Scripting Tutorial #8 – If Statements (Beginner to Pro 2019)

Beginner’s Roblox Scripting Tutorial #8 – If Statements (Beginner to Pro 2019)

Hey guys, in today’s video I am going to be teaching you about if statements. Now these are very important because you will use these all the time when you are scripting and they are useful for finding out values of variables. If statements are pretty easy though so no need to worry. As always if you have any questions be sure to leave a comment, and I will get back to you as soon as I can! I hope you guys enjoy the video and I’ll see you tomorrow!

Link to Beginner’s Tutorial Series:
https://www.youtube.com/playlist?list=PLhieaQmOk7nIfMZ1UmvKGPrwuwQVwAvFa />
— Follow me on twitter! (my name is tapwater because thats my main channel):
https://twitter.com/realtapwater

— Join my Discord Server to learn and meet other developers!–
https://discord.gg/FKcSyRh

–What is this series about and who is it for?

So this series is meant for people who really want to learn exactly how to script, if that is you then I promise by the time you watch this whole series you will know exactly how to script on roblox. Anyways be sure to subscribe to see whenever I release a new tutorial and I will see you guys in the next one. Peace!

Alex
Alex

Hi, I'm Alex! I've been obsessed with Roblox ever since I first started playing at the age of 15. Now at 25, Roblox is still my number one hobby and passion.

When I'm not working my day job, you can find me gaming for hours on end, playing and creating all kinds of imaginative worlds. I love participating in building challenges and mini-games with friends. My favorite thing is designing intricate obstacle courses and racing tracks.

I run a Roblox gaming website where I post articles, guides, and tips about my gameplay and creations. I provide tricks and advice for fellow adult gamers and try to keep things entertaining with my fun writing style.

Articles: 2951

11 Comments

  1. For who still doesent get it it's simple it's just like if this block is anchored then play that music or something, and for who doesent understand wait you just put wait(any number) and the number you put next to wait is how many seconds it will wait and after the seconds finishing you have to put a script after the wait and it will play the script after waiting

  2. Im a few months into scripting. Watching through the playlist for beginners to refresh! This one caught my attention pretty awesome if statement tutorial!

  3. THATS THE MOST EXPLAINED AND BASIC THING YOU EXPLAINED ME, here is a script that makes the baseplate invincible after 3 seconds:
    local Cheese = true

    if Cheese == true then

    wait(3)

    game.Workspace.Baseplate.Transparency = 1

    end

  4. a cool script

    local x = 3

    local y = 9

    if x == 3 and y == 9 then

    print("YES")

    end

    if x == 4 or y == 9 then

    print("MAYBE")

    end

    if x == 5 and y==7 then

    print("PROBALLY")

    else

    print("NO")

    end

  5. When i try to use equal on if statement, it turns into an error. How to fix that?
    Edit: I figured out that I need 2 equals

Leave a Reply

Your email address will not be published. Required fields are marked *