Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Roblox Tutorial Scripting[4] If Statements

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,853
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 21, 2011

The fourth Roblox tutorial on how to script. There are many more to come.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Top Comments

  • Stickmasterluke explains EVERY detail in his videos! It's so much easier to understand! Thank you SO much!! :)

  • I looked at the 1M+ tix and just fainted

see all

All Comments (100)

Sign In or Sign Up now to post a comment!
  • @TheShiva1997 verga

  • @romodomo1 seta

  • 2:37 LOL, the mushroom noise XD

  • @stropaloticus thtl give u al least 100 robux! lol jk

  • @RobloxInstructive Spelling error:

    elseif spawn.BrickColor == BrickColor.new("Really black") then

  • @TLTutorials Try this:

    if spawn.BrickColor == BrickColor.new("Medium stone grey") then

    wait(5)

    spawn.BrickColor = BrickColor.new("Really black")

    elseif spawn.BrickColorn == BrickColor.new("Really black") then

    wait(5)

    spawn.BrickColor = BrickColor.new("Medium stone grey")

    end

  • I can script also just find me on ROBLOX at Ziggy982 Ill help correct scripts if they dont work

  • @TLTutorials Before and after all the '=' put a space. Make sure that inside the if press the 'TAB' button.

  • I tried this script and now it's not working, can someone help?

    --Made by Himan123123

    --Color changing spawn

    spawn=game.Workspace.SpawnLoca­tion

    if spawn.BrickColor=Medium stone grey then

    wait(5) spawn.BrickColor=Really black

    if spawn.BrickColor=Really black then

    wait(5) spawn.BrickColor=Medium stone grey

    end

    

  • @MegaRichardharris you should make it

    game.Workspace.base.Reflectanc­e=5

    wait(1)

    game.Workspace.base.Reflectanc­e=1 then it could be a dance pad

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more