How to Make a Simulator in Roblox Studio Episode 1
HTML-код
- Опубликовано: 9 июл 2024
- In this Roblox Scripting Tutorial, I explain how to make a Simulator in Roblox Studio! When I first began trying to learn how to create a Simulator, I found it very hard to find a video series, which explained and handled advanced topics very well. Many series either skipped or poorly explained things like Data Stores, Trading Systems, & much more.
Hopefully, this series will be a good learning resource for making your first Simulator. My goal is to guide you in creating a production-ready Simulator that won't cause issues when you launch and get your first 1,000 players.
I try hard to use the best practices and explain everything I do in these episodes, but I'm still learning daily! If there are things I can improve upon, please let me know in the comments, thanks!
Subscribe for more Roblox Scripting Tutorials!
Join my Patreon to support me and gain access to the Scripts in this video! / monzterdev
Download the Scripts from this video here:
/ 70313821
Download the Game file from this video here:
/ 70325228
Here is the Auto-Scale Lite Plugin I used for the GUI:
devforum.roblox.com/t/plugin-...
0:00 Intro
2:05 Creating the Basic Currency System
3:04 Creating Leaderstats
3:59 Creating the Currencies
5:13 Assigning the Currencies to Players
5:56 Verifying the Currency System worked
6:30 Increasing the Player's Currency, Test Function
8:18 Creating the Currency GUI Indicators
15:38 Creating the Coins GUI Indicator
16:25 Scripting the Currency GUI Indicator
23:04 Outro
The Simulator we're using for reference is Eating Simulator:
www.roblox.com/games/69532914...
➜Join my Discord / discord
➜Follow me on Twitter @MonzterDev / monzterdev
➜Follow me on Instagram @DanThatsMe / danthatme
➜Support me on Patreon / monzterdev
Business Email: MonzterSlayer4@gmail.com
#Roblox #RobloxDev #RobloxScripting
Hey, I recently created a resource which covers most of the commonly faced issues during our series. I'd HIGHLY recommend you read this and implement the changes before going further into the series to avoid any possible errors. You can view the short guide here: monzter.dev/knowledge-base/clicking-simulator/clicking-simulator-changes/prepping-for-clicking-simulator-series/
You can get the SCRIPTS & GAME FILE from my Patreon here: www.patreon.com/MonzterDEV
If you need help, join our Discord server here: discord.gg/LearnRoblox
I got unknow global what do i do?
Hey bro If i can get A response I will be really happy so in this episode when we code local foodFrame = script.Parent currencyholderframe:FindFirstChild("Food")
local coinsFrame = script.Parent currencyholderframe:FindFirstChild("Coins") The currencyholderframe does not work for coins and food. It shows up with global error if you can help me out ill be so happy. I subbed
@@LhLh-eb6cf same, If you figure out a way, please tell me.
When I tried getting the leaderboard thingy it never really worked, might've been the new Roblox update or something but now it doesn't work, but this could be just me.
you gotta use caps, instead of "currencyholderframe" it should be "currencyHolderFrame"@@pigeon5656
This is the best Tutorial I've ever seen. I am creating a simulator and I found your channel. I now feel comfortable when making my game because you taught me 98% of what I know.
Aw, I’m so glad to hear that! Really happy this series helped you out!
what’s the game called? i don’t mind helping another simulator builder out!
@@xartie hello
I can deffenly agree to that.
This is the best tutorial i've ever seen, most people just do it and don't explain What they've done however you really explained it thoroughly. I just got into development and this is really helping. Thanks!
Hey, thanks a ton for the kind words, especially because that was my exact intentions.
When I look back on this series, I mostly think negatively because I see the 100s of ways I could’ve improved.
I’d recommend also checking out my newest Simulator series because I made a ton of improvements since this one!
same Im new to game development so this really helped
Best tutorial ever found! Amazing. Learnt a lot. Thanks MonzterDev!
Glad you enjoyed!
@@MonzterDEV 😁
Amazing tutorial, unlike all the other tutorials you actually take time to explain everything which is why I don't mind the video length at all. Hope the next videos are as well-explained as this one, I'm gonna go watch the next video in the playlist now.
Thanks! I'm really glad you enjoyed :D Hopefully you enjoy the rest of the series!
@@MonzterDEVI have an issue on the manager script the gui doesn’t change it stays the same I did put the code exactly how u have put but the issue is not solved could you help I liked and subbed
@@rashidtroller77 same
Same @@rashidtroller77
Hi! I'm just getting into game development, and this series has helped me SO MUCH! I just want to say thank you. All the other tutorials are way outdated and don't even make since.
I wish you the best of luck on your journey! Glad you found my videos helpful :D
Thank you!!! This is perfect because I'm trying to learn to code and this is legit exactly what I need lol
Your skills have made me really good at making me better at making games. Keep up the hard work!
Thank You So Much @MonzterDEV, this is so helpfull to not only learning how to script, but using the different utilities in Roblox Studio
Glad you enjoyed and learned something! Checkout my newest series as well, you'll probably learn more!!
@@MonzterDEV i learned alot until the leaderstats would increase but the gui wouldnt change at all
@@Choppa_games187same issue
2:05 to 8:28 is not working for me, do you mind giving me the script so i can copy and paste it then I can add my item?
UR THE GOAT MAN U SHOWED EVERY PART AND IM MAKING IT SUCCESSFULLY I HAVE NO MISTAKES RN TY BRO UR THE BEST
I love this tutorial! Also you just earned a new sub :)
Thanks :D
Hello i get to the first poin to do the leaderboard I have all same but it doesnt work do you know why?
incredibly amazing i have never watched any tutorial with this professionalism :)
Thanks! Glad you liked it!
@@MonzterDEV im getting this error " Players.pokerikelikestohack.PlayerGui.CurrencyGui.Manager:12: attempt to index nil with 'Amount'" ans its highlighting this code "trashFrame.Amount.Text = player.leaderstats.Trash.Value"
i did trash instead of Food
Hello MonzterDev This video was so helpful im gonna continue watching this series!
I’m glad, hope you enjoy!
@@MonzterDEV No problem i want to be a big dev on roblox and because of you i might be! :D
You are so easy to follow along to thank you for posting these!
I'm happy to hear! I try to make the vids as digestible as possible.
Hey man, just a question, I copied your script for the currency GUI at 22:39 but even after i pressed run, the currency GUI did not update when the stats were updating. whats the fix
Same
Same
Same
Same
Sane
Hello, there there is one thing that isnt working for me! in this tutorial! the coins frame isn't showing up when i make it!
You have to copy and pasted it from a different game then it will show
Lots of value in this video. Thanks : )
Glad you enjoyed :D
Awesome tutorial thank you! This helped me so much.
on my script the GUI didnt go up every second but on the top right side (leaderboard) its going up.
Same
Also just a tip, zoom your script in so people can see what your scripting easily.
Thanks for the feedback! I have pre-reocrded a few episodes, so this won't be improved for a bit, but I'll try making my font size bigger in Roblox Studio to hopefully make it easier to see.
Thank god for the zoom feature now lol
thank god i discovered a zoom feature on youtube
@coltongabelwells1683 use your two fingers right right then put them on the screen and pull them apart
@@Altactic what if you dont have a touch screen, like me?
This video was so hopeful and it works!
Your videos are so helpful!
I'm so glad!
I was scirpting and came across with 2 red underline and 1 cyan underline in Manager.
The cyan one said "Condition has already been checked on line 11"
The first red underline said "Expected 'then' when parsing if statement, got 'coldnessFrame"
The second red underline said the same as the first one but 'coinsFrame'
del them line
the first red one is saying that it expected "then" in the statement/code
It works for me with no errors
5:51 for some reason the "setupPlayerData" is always glowing like it's an error and because of that everything doesn't works. I did exactly the same thing you did and yet everything is still wrong. PLS help me because I cannot fix this, I tried everything and yet it doesn't works.
me too dude im really sad i spent a while on this thing
@@HotBlaze219sorry im late but did you name your script file PlayerData? thats really important
This is what I have been needing!
Glad you enjoy it :D
Worked perfectly, thank you so much!
Love to hear that, thank you!
What a chad he even responds to all his fans and teaches you better than other creators
Aw, thanks!
I think I'm doing something wrong because I did all of the scripting the way you said with the caps but the food and coins won't go up as you said It would at the end of this video
same i dont get it ive done it 3 times
me to
this was a really good episode and helped me alot! thank you
Thanks for the feedback, glad I could help 😃
@@MonzterDEV could you have figure out why my gui wont increase but the leaderstats will
I really appreciate this content! + New Subscriber ;)
Glad you enjoy!
It's always been a dream of mine to make a roblox game so i clicked on these tutorials, i'm a slow typer and it took me 3 days to compleat the first two videos, but then my friend asked me if he could help so i turned on team building, so i did. He never helped me. I forgot to turn it off and one day after i finished episode two i got off, the next morning when i got on excited to start working on my game an error msg popped up, once i closed it all my scripts had been reset. I spent the entire day trying to get the scripts back but it was no use. So now i'm conflicted on asking my parents for money just to get the script back or to try and redo 3 days of work which will probably take longer because the break is over and i have school, the problem is i don't want to ask my parents for money because they do so much for me and we are at a low time. =(
Redoing the series is definitely the best thing to do, that's how you learn!
Ive had many of these instances where i lost whole games that ive scripted because of my wifi turning off randomly, and everytime i code them again i get better at it. Personally i think you should try coding it now and this time without the video and only check the video on parts where you need help, Ive even done this on purpose where i follow tutorials and delete the work i did and do it again by my self.
@@MonzterDEV he's just begging for money this comment is a lie trust me
@@doober.43 nah nah dude
@@doober.43and how is he even gonna get money from the comments bro💀💀💀💀💀
this kind of helped i guess, the issue I'm having though is the leaderboard stuff. I do it in the exact order you do and I put caps where you have caps , but it never ends up like it should end up
bro same
turns out i forgot to capitalize a few of the letters, maybe try checking line by line
Make sure you say player without s in some spots
This is a W man, I was originally working on my own BY WATCHING YOUR VIDEOS but college hit hard as a rock lol so I am definitely getting back into game development
Glad you enjoy and thanks for the kind words! Hopefully this helps ya out. Good luck managing your time with college and everything else you wanna do!
@@MonzterDEV id enjoy it more if you could help me figure out why my gui wont increase but the leaderstats will
GREATEST simulator tutorial ever also it's easy because your explain is so easy and good tysm
If you guys are having problems there’s most likely a typo or something’s not capitalized cause I had that problem and I just found mistakes fixed them and it worked
BRO YOU ARE A LIFESAVER
@@sheepgamering🤯
@@dumboompa4989 huh? do i know u?
you deserve more subscribers man everything worked
Thank you very much :D
Thank you for this video this was really helpful, although 19:20 this part the gui number wasn’t counting to the leader stats. Please help 🙏🙏😊
Its not working with the leader board stats.
e
not working for me either
Me nether
happened to me also, just delete it and recode it exactly how he did it, I did this and for some reason it worked im still confused why it didnt show up and what i did wrong tho
@@rip_krazzy I tried to do it without adding a UIList and adding a "Gem" section and it did the same. I actually spent like 2 hours trying to figure out what was wrong and ended up just giving up
Im struggling on the Assigning the Currencies to Players part, I did all of the script exactly how you did yet the scoreboard still only says my name
Same
Yeah at the top TEH game for me isn’t a valid script thingy
same but i can only have foood the coins doesent show up
@@shortdvloper8349 same
Just remove the script and type it back idk how it works but it does
thnx a lot for this series !
Glad you enjoy it!
dude u have the best videos and u explain verry well! thank u so much!!
Aw, thanks! I’m glad you were able to learn from them.
Hey if you guys need help, I'd recommend joining our community Discord! Lots of others are in there who have had similar issues, so join here: discord.gg/learnroblox
You can also download the game file from my Patreon here: www.patreon.com/posts/70325228
Do you think you know a way to make a Pls Donate Nuke and Smite test?
when I have filled in the script I press play and then I don't see any food or coins
the first script isn’t working for me could you write the script here so I can copy and paste it?
The leaderboard isn't working.
@@tristan8538 me too
Hey, I love your videos! Just one problem. When I typed out the script and tested the game, I did not see “Food” or “Coins” on the leaderboard. Anyway you could help? Maybe put the script in the description? Thank you! Bye
Same I did not either
Same
It also happend to me try to delete the script and write it again then it just worked i don't know why but it just worked afterwards
@@mystical__wolfie3706 TY IT WORKEDDDD
same
This was super helpful thanks!!!
Glad it was helpful!
this is you, isn't it? lol
It helps me alot. Thank you!!!!
Hey, when I did this tutorial the numbers in the leaderstats went up but on the guis the numbers only went up to 1. Confused?
Same
the first script isn’t working for me could you write the script here so I can copy and paste it?
omg HE IGNORED YOU
what error is appearing
thanks for the vid this is the best devloment for people that dont know scripts just like me and this helped me out alot thanks for your help
this video was very helpful, thanks!
Glad it was helpful :D
you sound like laughability
That is 1000000000% true man is this laugh?…
Quick tip for anyone learning alongside me, make sure to utilize comments frequently by putting -- and then explaining what a function does and why it's important. If you're simply creating a test game alongside the video like me, being able to know what the functions do and why they're necessary later will be a huge help
I completely agree! That's exactly what I did when I was learning as well.
Thanks alot MonzterDev, This tutorial was very straightfoward and right to the point, and better quality. Only things I would say is make text size bigger, but this tutorial was amazing!
thank you so so much this is the best tutorial ive ever seen
Thanks for the feedback, glad you enjoyed :D
Its not working😢
The scripts are different know
Fr
@@GamerCoen know or now
Mee too it's only showing 1 value and it's isn't updating
Now
bro your now my new fav RUclipsr and i am now getting better at scripting & my simulator game is pretty close to being finished
Hey, thanks a ton! Hopefully you enjoy the future episodes!
@@MonzterDEV i will
Hi, I really like that tutorial because all of the Spanish tutorials are uncompletely, so thanks dude and I love you 🙂❤ (i am from mexico)
It’s really awesome to see these comments! Is there anything I can do to make my content easier to learn from for you?
Are you reading subtitles or is my English easy to understand? I speak fast, but kinda improve on this a bit.
Checkout my more recent Simulator series for better quality!
Im planning on trying to make a game and this tutorial really helped me, i will check out your new videos and might subsribe to your patreon too
Hey, I’m happy it helped. I’d recommend checking out the newest Simulator series as well!
THE BEST IVE EVER SENCENE I HAVE SUBBED!
😀😀😁😁
Thanks so much :D
I’m trying to make a simulator game and I’ve been look for a video then I found this
Thx so much for this.
No worries, hope you enjoyed!
This is FIRE AS HELL and you did do REALLLLLLLLLLLY GOOOOOOOOD but I was STRUGGLING to see the scripting but you did GOOOOOOOOOOD so i’d rate this 1000/10:)
WOW THANKS it works
Nice tutorial! I always wanted to make a simulator then i found you!
I'm happy to hear! I'd also recommend checking out my newer Simulator series as well!
I will do!@@MonzterDEV
this helped me so much thank you
I'm glad :D
You saved my life!!!
+1 Subscriber
This helped alot! As an new game developer this is so helpfull! U probably helped alot of players that are new on developing games!
Aw, thanks so much. You don’t know how motivating it is to hear that. I’m super happy to hear that the series has been working for you!
@@MonzterDEV yw! And it did rlly help me out even tho it was a lil bit hard to understand!
Wow this real helped!
youre the best thank you and bw you earned a sub
Thanks :D
you really help alot, thank you
Happy I could help :D
bro can you give me all script
deserved an instant sub! Respect bro
Thanks so much!
@@MonzterDEV no thank YOU so much to make all those useful well explained video’s 🤝
This guy deserves 1M subs! Thanks so much for your help!
😁😁
Hey, thanks so much! Glad the vids could help!
im just learning how to do this i made it exactly the same and it works perfectly thank you for the help
new sub this helped so much
Glad you enjoyed :D
i was about to say it didnt work then i looked at my capitals fixed capitals and it worked and i new to fix capitals because of the other tutorials you made i love your channel man
Glad you were able to find your mistake and fix it :D Simple, but easy to miss mistakes are the most annoying lol
No cap I was looking for answers saw your comment, and had a moment of realization.
helped me a lot🎉 thank you im a starter dev❤
Keep it up!
Thanks MonzterDEV, I like this video even though I know dang well i am probably gonna screw up somewhere
i cant believe you dont have more subs. you are almost at 1k tho!
We’re almost there!!
thank you for the tutorial
Thank you for watching :D
This is kinda of late, but this is really helpful as none of my family wants to help me out, I subscribed and found this really helpful. I will give my game name once it is released. So thanks you so much monzter and i hope you have a great life. I will try and watch every single one of your videos and i want to be really kind to this commuinity
Thanks once again monzter
I love you so much thank you
the in scripts do u have to add the spaces between the line numbers.bc i dont know if i did something wrong or not bc mine didnt work
Bro is a god in my world thanks so much
Just started my own simulator game with this tutorial. Thank you so much!!!
thank you so much!
This man needs more subs fr
I copied the script made sure for no typing errors but even after when I click run the food and coins GUI did not update when the stats on the leaderboard are updating can you help me fix this
Helped me create my game in ez thank you for the vid
I’m glad to hear!
I hope i will learn scripting by this, thank you!
Hope you enjoy it!
@@MonzterDEV :)
This is the best tutorial ever I will watch make more good job
Wow, thank you so much. Although, I think you may find my newer Simulator series even better!
Ok I’ll look at that and your welcome
This is such a good beginner tutorial! After this series, are you able to make a experienced OOP tutorial.
Thanks! I have made an OOP video already, but I can certainly make a mini-series of at least another video explaining it and demonstrating further how I use it!
Here's a link to the video if you haven't seen it: ruclips.net/video/aIjv6JPjesI/видео.html
@@MonzterDEV Yeah I've seen that video, and it helped me out alot. I'm just still a Lil confused on how it's better then just the standard scripting, and whether I should use it all the time. So a new series would be awesome!
Hey whenever I increase the number for example like you said 30,000,000 on the GUI the size of the text doesn't change and it stays the same, how do I fix this?
thank u so much for this tutorial
You're welcome 😊
@@MonzterDEV after like 20 minutes of the datastore video it no longer works i dont have the leaderstats in the top my coins doesnt update and it gives me the error leaderstats is not a valid member of Player "Players.tobi255e" - Client - Manager:19
please help
im going to follow this long tutorial and remake it as you do, add my own things n such, and i dont plan on uploading it obviously because itd basically be stolen off you but i hope to learn a lot so i can go on to make my own games some day
You can upload it! This is mostly just a learning resource, but I don't mind if you publish it! Wish you the best in creating your game!
Too thank you so much ❤ you helped me with a lot I appreciate it I subbes❤❤❤
Glad I could help!!
New sub
You are the best I was about to say it doesn’t work but I checked my capitals and it worked
tysm your the best
hi i am at minute 21:09 and i am pretty sure i have the exact same script as you but when i load in it doesnt show the number 2 for food and coins any idea why?
Absolute legend
Thanks!