🔥 How to Make a Tycoon On Roblox Studio | Scripting Tutorial
🎮 Are you ready to learn how make a tycoon game on Roblox? In this beginners' scripting tutorial, I'll show you how to build an engaging tycoon using Roblox Studio. From setting up the baseplate to designing the perfect buttons and items, you'll learn everything you need to know.
🏗️ Start by watching as I show you how to set up the foundation of your tycoon. Learn how to insert parts, move, scale, and rotate them to craft the basic structure of your game. I'll walk you through creating walls and a floor, and even ensure that your parts remain anchored for a seamless gameplay experience.
💰 You'll also discover how to create a purchase button that players can step on to buy items within your tycoon. You'll also learn how to add descriptive text on the button using a Billboard GUI, making it clear what players are purchasing.
🛍️ But that's not all - I'll teach you how to implement items that players can unlock and enjoy. Learn how to use attributes to manage costs, IDs, and ownership of these items. I'll show you the entire process, from setting up attributes to dynamically assigning a tycoon to each player.
👾 Whether you're a seasoned Roblox developer or just starting out, this tutorial is perfect for you. Join me as I guide you through the creation of your very own tycoon game in Roblox Studio.
🎉 Like, subscribe, and hit that notification bell so you won't miss the next exciting tutorial in this series. Let's create amazing games together!
Part 2: • How to make a Tycoon o...
Join my Discord server: / discord
Follow me on X: / alvinblox
Follow my Roblox account: www.roblox.com/users/14943069
Пікірлер: 1 300
I really love how this guy explains every single function of every single button and just really gives you the full detail in everything. This video is really helpful!
@nemesis549
8 ай бұрын
i know he does
@TheEpic82
6 ай бұрын
It's so helpful
@FootballSoldier1
5 ай бұрын
And how he isn’t time waisting
@Modillem
4 ай бұрын
This guy is very based.
@GoldenEdits656
4 ай бұрын
Yeah he does, he does even better with his actual scripting videos so if you wanna learn the code in general itself you should prob watch those
What I really like about this guy is that instead of just telling us what to do he explains what it does and how it will work, new sub!
@PurpleBrickster
10 ай бұрын
No one could have said it better that you @graceokaysxo!
@jojoxyz2147
10 ай бұрын
fr
@harrisontubb
10 ай бұрын
Very true
@DADDAAD205
10 ай бұрын
@@harrisontubb noo
@DADDAAD205
10 ай бұрын
@pLz
great tutorial! i've found that with many scripting tutorials, people usually just tell you what to write without explaining what the code actually does, so it's really nice to see someone actually explain what each function does!
This man explained everything to make sure everythings perfect for your tycoon. We need more people like you, AlvinBlox.
Thanks, many people talk about tycoons but I've not heard a lot about how people make these mechanics.
It has been my dream to make games on Roblox, and now you have made that a reality. Thank you
@IshqbelLovesBarcelona
7 ай бұрын
sup mate just wondering if u managed to complete the script cos for me im getting a wrong spawn error i dont get spawned wjere i meant to
i remember watching you 2 years ago! im surprised you haven't stopped! keep up the good work!
GUYS, I RECCOMEND THIS!!! ITS AWESOME :) ITS AMAZING HOW HE EXPLAINS EVERYTHINGGGG!!!!
You're truly amazing for creating this! Unlike other tutorials that tend to be slow or cause people to get stuck, your tutorial worked fantastically and kept things moving smoothly.
@goelrads
8 ай бұрын
true
@lokesax
8 ай бұрын
My script wont work, what did i do wrong? I followed the turtorial, but it wont work. Pls help me.
@CodeCrushers_29
7 ай бұрын
same @@lokesax
@MrHamsterRBLX
7 ай бұрын
me too @@lokesax
@skyle9147
6 ай бұрын
same here lol@@lokesax
Adding UI padding, with right and left padding set to 0.2 seems to work well on the text label within the billboard.
Love your voice. Definitely subscribing! Thanks for helping
Thanks! it really helped beacuse i had no idea of what to do for a tycoon but now you have given me inspiration!
I used to find these tutorials helpful… I guess I’m getting better at Studio. Thanks Alvin! 😂❤
Your way of conveying the purpose and not just telling us to copy you, is why u you are the most clear and easy to understand Roblox coding youtuber.
@THEMIXUP1
4 ай бұрын
He’s not
When it was in the leaderboard part i thinked it didnt worked but i opened the leaderboard again and it actually was working , great tutorial bro
I like how this guy explains everything for the scripting the leaderstats and assigning a tycoon
I got into scripting because of you. Thanks for the motivation
@AlvinBlox
11 ай бұрын
Glad to hear, hope everything goes well!
@Jacob_-
11 ай бұрын
Lets see if you still have motivations after 1 week if you do im impressed
@user-cs1tp1ep9m
11 ай бұрын
@@Jacob_- Its actually been 2 weeks now and im watching lua tutorials for hours a day at that point
@Jacob_-
11 ай бұрын
@@user-cs1tp1ep9m Im Proud of you keep going buddy I Wish you good luck to your journey
@elprocarlosandrerodriguezn2578
11 ай бұрын
@@user-cs1tp1ep9m do you still feel interested in scripting?
thank you so much!! I wanted to make this project 2 days ago, thanks for the huge help! ❤
This better then most things it explains everything and what it does so I can actually learn
YOUR SO AMAZING THAT YOU MAKE ALL OF THOSE VIDS! IT APPRECIATED WE ALL LOVE YOU!
yooo i love it when alvin uploads!
@AlvinBlox
11 ай бұрын
Cheers Sooper 👍
Also just a tip: If a script has a weird name and it’s unorganized and theres a bunch of weird symbols, its a bad script.. if you’re not sure what it does, use the devforum and delete it if its a bad script
@ItsLeeeroy
11 ай бұрын
@@somerandomgentleman thats what it does
@ItsLeeeroy
11 ай бұрын
@@somerandomgentleman it adds it instead of having to write (value = value + amount) you can say (value += amount)
@ItsLeeeroy
11 ай бұрын
@@somerandomgentleman you can set up a while true do loop and subtract it but there’s probably a better way to do it. Try this: while wait() do local num = math.random(1,100) - pick whatever if num == 100 then - here end end
@reminderIknows
10 ай бұрын
@@somerandomgentlemanif cloud math.randomseed(tick()) wait(2) if math.random(1, 2) == 1 then cloud += 0.02 else cloud -= 0.02 end end
@reminderIknows
10 ай бұрын
@@somerandomgentleman an even cleaner way would be: if cloud math.randomseed(tick()) local rng = {-0.02, 0.02} wait(2) cloud += rng[math.random(1, 2)] end
ey i was just thinking about this video from you ;D (your amazing btw)
yours doesn't get boring so i like it. it is also very helpful so ty.
I am unsure of what I've done wrong. My script looks identical to the one in the video and it will not assign a tycoon to me. Any suggestion?
@waxirus
6 ай бұрын
Same here.
@Iclo222
6 ай бұрын
same too
@Iclo222
6 ай бұрын
i think that the script isnt the same anymore
@waxirus
6 ай бұрын
probably@@Iclo222
@Iclo222
6 ай бұрын
i discovered in a channel called codebro29 that to the script work aparently theres can only be one local on it
I decided to get back into trying to make roblox stuff and i came across this I remember watching your tutorials all the time years ago To be honest seeing that you still make these amazing coding videos brought a tear to my eye
@hackstaoj3731
8 ай бұрын
a tear down your eye is kinda far fetched don't you think , he's done roblox for so long why stop . The only thing he can do now is keep going and get bigger
Nice video alvin, I still remember your OG tycoon series from around 2020.
@AlvinBlox
11 ай бұрын
Cheers
@dj2302brother
11 ай бұрын
@@AlvinBlox no problem man
I remember watching this series about a year ago and I could not pass a single stage of instruction because I was just a beginner trying to make a tycoon!😅 But now I've gotten better and smarter and it actually works for me😅😊
Thanks Alvin for all your tutorials!!!
@AlvinBlox
11 ай бұрын
My pleasure
“Our whole life is a tycoon.” -a wise robloxian.
@sotamududs
3 ай бұрын
so true 💀💀🙏🙏
Its always nice when you post, these videos are a ton of help :)
@AlvinBlox
11 ай бұрын
Thanks!
I wanted to make my own tycoon, and now I can thanks for the tutorial, and I'll watch part 2
I just Thought of making a game and saw this tycoon video! Thank you so much for helping me, Btw im kinda lazy of doing the scripts lol, mind sending the whole script for this video? Thanks AlvinBlox!
I plan on making a tycoon that replicates the ENTIRE Security Breach map detail by detail so this is VERY useful, thank you so much
@JustBonesYT
9 ай бұрын
Im working on one based on record of ragnorok heaven
@chaoticvestie
9 ай бұрын
did you do it
@mangolites
21 күн бұрын
HOLY SHEESH, REALLY? ID LOVE TO PLAY IT!!
Bro u are so awesome I would not have become a game creator without you.
This was super helpful!
local Tycoons =game.Workspace:WaitForChild("Tycoons") local function assignTycoon(player) for _, Tycoon in Tycoons:GetChildren() do if Tycoon:GetAttribute("Taken") then continue end Tycoon:SetAttribute("Taken", true) Tycoon:SetAttribute("UserId",player.UserId) return Tycoon end return nil end
@andime2
6 күн бұрын
thanks😃
I followed the tutorial but when I clicked play I didn't see the leader stats please is there a way to fix it?
@eandrgriff0825
10 ай бұрын
same
Very nicely explained. Not to quick and not to slow, without all kinds of unnecessary fluff. You just go straight to the point and do a good job. I hope you have more tutorials on coding cause its easy to learn from you. Best explanator i have found so far on Roblox Studio! :) Subbed and liked! :)
@tseaxznz
3 ай бұрын
did urs work? im doing the coding part rn and i typed everything in correctly and now its a red line under my text when i type in the coding and the red outline normally means u spelt it wrong when i spelt them right
@CT2507
3 ай бұрын
@@tseaxznz Yes it works perfectly. I also had a couple of those red lines under a word and it referred to a spelling mistake further up. For example i had written "Tycoons" with an "s" in a line where only "Tycoon" was needed. Or i had "leaderstats" written wrong with a capital letter like this: "Leaderstats". So check every line and make sure you don't sneak in the slightest typo, or it will not work. cheers.
@CT2507
3 ай бұрын
@@tseaxznz Also make sure all words and names of the folders are spelled exactly how he shows it with capital letters and so on. Also in the attributes section or the code doesn't know what it is referencing to.
@CT2507
3 ай бұрын
@@tseaxznz Also you should run the game and test for red lines or error messages in the Output window at the bottom after every 2-3 new lines he shows in the code, just to make sure you didn't sneak in a mistake. Cause then you know if you get an error it must have happened within the last 2-3 min of the video. And its much easier to go back and corect. And when your sure its error free, then save it.
@CT2507
3 ай бұрын
@@tseaxznz Even the spaces are important. I just got an error for writing: "for_, tycoon", when there should have been a space after "for", so the corect line should have been "for _, tycoon". So even spaces can cause errors sometimes! So make sure you copy everything exactly as he types it.
Great! I was looking forward for a tycoon tutorial!
Thank you SO MUCH for this tutorial, AlvinBlox! Keep scripting, everyone!
@AlvinBlox
11 ай бұрын
Thanks Sam!
@pasquant
8 ай бұрын
@AlvinBlox my cash isn’t on the leaderboard
hey alvim, as u may noticed, many people (include me) have problem with the second part of the script (when starting game, u wont get teleported to your tycoon) could you please answer that
@bonemach1ne
8 ай бұрын
yeah
@OPauseStudios
5 ай бұрын
im late but im a scripter adn the scritp does not do that its just because the tycoon is in the middle of the baseplate @zuzazuza_2021
Your voice is too soothing for this, I accidentally fell asleep while watching this.😅
@GreenRobot093
4 ай бұрын
💀💀💀
This has helped me learn about how to make game I think because of him I might start a new hobby of something I enjoy. ❤
I'm stuck on the taken variable right now-the code is the exact same and the only reason I can think of is because of the different tycoon names, but I've already changed them to just "Tycoon". Do you have any suggestions as to why the taken and Id variables aren't working?
@mysticroseadventurez
9 ай бұрын
same
@FishDude447
9 ай бұрын
Same
@rb999x
8 ай бұрын
same lol i dont think he scripted it properly in the video
Noice
You are making it so fun to create stuff because i actually understand you! 🙂
I started scripting 1year ago and i still dind't understand anything but thanks to your videos i'm starting to understand, Thank You❤
Roadbolox is my favourite game 🎮
@ItsLeeeroy
11 ай бұрын
Roadbolox is so good
@shieldtmm
11 ай бұрын
No its roadblocks
@XMugGaster
11 ай бұрын
No it's roadbolox
@shieldtmm
11 ай бұрын
@@XMugGaster shut up no its not
@XMugGaster
11 ай бұрын
@@shieldtmm learn your manners kid
When I tried scripting the Leaderboard It didn't work so what should I do?
@harrylane4523
9 ай бұрын
Your not the only one
not even 2 minutes into the vid, seems very well-made!
This was really helpfull
@inbarcontes
6 ай бұрын
GGS
If the script is not working then check if the letters are in uppercase or lowercase according to the script in the video, that was my problem
@1wettissue1
11 ай бұрын
thank you very much for help
@112Grunn.
11 ай бұрын
i dont understand van u help me with that
@-marchhzz
10 ай бұрын
my scripts worked at first, but after not.. what can i do?
@kaositow
8 ай бұрын
SAME @@-marchhzz
@Maxiboo1337
6 ай бұрын
I did, but It still won't work. It worked before the tycoon stuff, when I only had the leader status stuff.
Thanks bro all of this is working.
Anyone know how to fix the script where its supposed to spawn you at a tycoon?
@buzzbuzzplays
10 ай бұрын
I have the same problem!
@casmarien3016
10 ай бұрын
i have the same problem. i think it does not spawn you at the tycoon you're assigned to, you may need some more code for that
@Sluggish712
6 ай бұрын
Me too
Love the tutorial but I am having a problem with the script in "ServerScriptService." I see nothing in the players list about cash. I'm not sure what is wrong but if you have anything that could fix it I would be thankful. Thank you for reading and have a good day!
@gam3raptor500
11 ай бұрын
exactly me too
@Mrred952
11 ай бұрын
Me too
@IAmFox17
11 ай бұрын
remove the first . before game
@Chewwy-bwossom
11 ай бұрын
Make sure you put the capital letters and lowercase letters in the right stop. Accidentally putting a capital letter may ruin the script
@cairoweaver7785
10 ай бұрын
Im having this problem as well
Thanks bro you are a big help for me ❤😊
my script isnt working
@seedtheprotogen
14 күн бұрын
Hey Ebug. The reason for may be because you did the scripting wrong in some parts. I recommend going back and retyping it all. Sorry about the 9 month wait.
@HanzelGaming945
13 күн бұрын
@@seedtheprotogen damn hahahaha
@spidernik2530
12 күн бұрын
@@seedtheprotogen idk everything seems to work for me except I don’t spawn in the tycoon I re went over everything it was the exact same and idk what to do
@seedtheprotogen
11 күн бұрын
@@spidernik2530 that I don't know what to do.
@Ebugplayz
11 күн бұрын
@@seedtheprotogen Thank you a ton
i copied the script for the leaderboard but it didnt work can someone maybe tell me what could be the problem?
@Mrred952
11 ай бұрын
Me too
@ZhabaGiovanna
9 ай бұрын
Copy from other channel video, it work to me
@Maxiboo1337
6 ай бұрын
It may be that your script didn't want to make it the way it did in the video. If the game.Players.PlayerAdded:Connect(function(player)) command looks like this and the "end" looks like that, it's wrong! in the first long command, at the end it says "(player))", just remove the last ")" and add it to "end" so it looks like "end)" and "(player)"
Fantastic video!
tysm the leaderstats works
@RoadTo1000subs-
9 ай бұрын
What how it’s not working for me
Imagine I get pinned
@baconmemey1234
7 ай бұрын
Ikr
@carl_the_NPC_gaming
7 ай бұрын
Nope buddy nope
@_Mutton
7 ай бұрын
Ikr
@tik5571
6 ай бұрын
Ikr
@oreoplayz123
6 ай бұрын
Ikr
Pov: light mode 🤮🤮🤮🥴🤢🤢🤢🥴🤢🥴🥴🤒🤕🤕🦾🫰🏻✌️👻💀💩🤡👺👽💩🦷🫦💄🫦🦶🦵
Thank you so much for helping me out!
This was really helpful for learning to code people who want to try code and although it's pretty hard
GUYS I WASTED 3 HOURS BUT IT DID NOT WORK SO DONT USE THIS VIDEO LIKE THIS SO EVERYBODY KNOWS!
Helpful vid ever :), keep it up +1 subscriber
thx finaly the tutorial that works from first time realy thx
Soooo useful Lot of help
Thank u so much!😊
Helped alot
this is the type of " how to " video that u don"t hate because you have to pause, great video!
Instead you can make a conveyer with some parts and change' the volicity with bottom part. Your good to go👍
I ABSOLUTELY HATED SCRPITING AND NOW, NOW I LOVE IT! THANKS ALVINBLOX
This video really helped me make a tycoon
IT HELPT ALOT
Of course, the knowledge gained in this video can be used in many other situations, not just Tycoon.
Wow Really Cool, I Am Making A Proper Game For The First Time
Great video!
thanks for your efforts 🙂🙂
How much I was waiting for a tycoon tutorial😄😄
@AlvinBlox
11 ай бұрын
I hope you enjoy it!
Thanks! It made it so good that i gould get more visits and actives!
Ty very much I learned Very many things here I will leave a lovely sub and like.
got some game ideas but would say but then people might try to steal my ideas as there own so its a secret but this video should help me a lot thanks !
Very nice explanation. I would like to know where you find all of these functions. If you could share the location that would be awesome.
You Truly AMAZING !!!
Thanks for the tuto!
this tutorial is good and helpful
Your videos are the best ty
Love you Alvin you have helped me make so many games
@AlvinBlox
11 ай бұрын
Glad to hear, cheers!
This realy helped me out ty
Thank you SOOOOOO MUCH every other tutorial is soooo bad I can’t understand but this one is super good
Thank you for helping me, this is going to my first Roblox game that I code, with your help!
You're a great teacher, thank you so much.
I hope u will make part two also great tutorial
first time i went on a tutorial and the first scripting that i do works, im giving u a sub if the rest of it works
I don't know how to thank you!, my explorer and properties didn't show up bcs I accidentally pressed X on them and nothing showed up on the internet not only that but you helped me make the tycoon, my only way of gratitude is subbing and liking.
Alvin because of you Im a developer now. Thanks man. Your a legend.
@AlvinBlox
11 ай бұрын
That's great to hear! Thank you
Also nice video!
THIS GUY DESERVES A AWARD OF BENG BEST TYCOON BUILDER ILY HIM BRUHHHH