Beginner's Roblox Scripting Tutorial #16 - Random (Beginner to Pro 2019) [FIXED]

211,347
0
Published 2019-07-24
Beginner's Roblox Scripting Tutorial #16 - Random (Beginner to Pro 2019)

Hey guys! welcome back in today's video im teaching you about the random function. this is very useful when scripting in roblox because you're gonna need it for a lot of the games you make. Anyways enjoy! :)

Link to Beginner's Tutorial Series:
   • Beginner's Roblox Scripting Tutorials... …

-- Follow me on twitter! (my name is tapwater because thats my main channel): twitter.com/realtapwater

- Join my Discord Server to learn and meet other developers!-
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!

All Comments (21)
  • @raheen7570
    Important: if you want to do this with a negative number like -20 make sure you have the lowest number first like local Number = math.random (-40, - 20) It won’t work if you have a higher number first like local Number = math.random (-20,-40) Please reply if you don’t understand Also make sure to like so other people can see this!
  • @64fishbones85
    The best thing about his tutorials is that there is happiness. He laughs. Unlike other turotials where they just talk and talk and type with no emotion. This why his tutorial the best.
  • @TheDevKing
    Hey guys I AM SO SORRY About the AUDIO on the last video. Seriously it will not happen again! anyways here you guys go if you couldn't understand it before you should be able to now!
  • @freshpeanut4967
    It feels nice to learn With someone. It’s like we’re in the same boat
  • @dinujupanu
    I started scripting in Roblox LUA 3 days ago and I can say that this is the best playlist for it. This is like school but better. You don't have to search for the stuff that you want to learn, since, as a beginner you might not know what else you'd like to or should learn. This just gets it in a good order.
  • @warjt4737
    If you want to generate a random decimal, what you can do is generate a number between 1 and 10000, or something like that, and divide that number by a power of ten, to give you decimals. You can change the numbers around until you get your desired random decimal. Hope this helps!
  • I have learnt so much from you. I learned how to make a button that spawns stuff, rain(obviously), a disco ball, disappearing and reappearing locks and more. These are the best tutorials on scripting.
  • @berd1968
    excitedd to see that im almost done with the beginners tutorial
  • @slorg_
    9:06 you could put it in a game if you add the line Rain.CanCollide = false, then it automatically despawns because of falling through the baseplate
  • @OBzx
    Thank you for the Tutorials keep doing them!
  • @ZZZ_Jaydee
    This is like the best Scripting tutorial! I have watched so much scripting tutorials and they I didn't really understand them but with you I understand them clearly! Thank you TheDevKing and also congratulations on hitting 50k subs!
  • @spring5005
    The way he explains it is so simple, and the way he breaks down the code is just different from everybody else. Everything about the tutorial is so engaging and honestly just makes scripting so much more fun and enjoyable. Literally quit trying to script because the developer hub tutorials never explained the terms well or anything they did 😩
  • @vaeonaw
    this is my 3rd time trying to learn coding and its actually going pretty well because of you !!!
  • @anime_mixxer2
    I love these tutorials, now I think I'm starting to understand how to script now a little bit better now. Thank you!🔥
  • @olikjam1372
    these tutorials are great! helped me alot if u wanna learn to script watch this
  • @ratking6133
    Tick is actually super cool. It shows the time since January 1st 1970. Usually being used for systems that need to check the time somehow.
  • @AikoGames1214
    Thank you so much such a good reason I needed this in my game!!!