Roblox Tycoon Scripting Tutorial (Part 4)

Adding conveyors and droppers to our tycoon so that players can earn money.
Get the project file by becoming a Channel Member: kzread.infojoin
Video for members on how to download project file: • How To Access Project ...
Part 5: • Roblox Tycoon Scriptin...
Discord: / discord
Twitter: / alvinblox
Roblox: www.roblox.com/users/14943069

Пікірлер: 101

  • @AlvinBlox
    @AlvinBlox4 ай бұрын

    Next part (data saving!): kzread.info/dash/bejne/dJWqvMRplsbAZrw.html / Become a channel member to get the project file: kzread.infojoin

  • @dj2302brother
    @dj2302brother4 ай бұрын

    thanks for yet another part alvin, love learning from these also do you know when the next test session on the swimming game will be aint had one in a bit

  • @jsimlady
    @jsimlady4 ай бұрын

    What if we don't want a conveyer but instead something like touch a mailbox and get money instead?

  • @Fries_in_Zelda

    @Fries_in_Zelda

    4 ай бұрын

    House tycoon gonna be watching you bro

  • @Dencel.

    @Dencel.

    4 ай бұрын

    What are you talking about

  • @frosty0701

    @frosty0701

    3 ай бұрын

    I'm not smart but like he said you can change the position where the "Drop" spawns you can just change it to the mailbox so the "Drop" just spawn in and gives money.

  • @jsimlady

    @jsimlady

    3 ай бұрын

    thank you @@frosty0701

  • @Jp19Sr-cp5bq

    @Jp19Sr-cp5bq

    2 ай бұрын

    I'd also like to do it that way because my dropper doesn't work and also my tycoon can't fit a conveyor

  • @dramaticstrawlk3195
    @dramaticstrawlk31954 ай бұрын

    Oh my gosh thank you for finally coming back and uploading recently. I know that you might've been a little busy the past months but I really missed sitting all alone in my bedroom watching your videos instead of doing my homework. After I few videos I noticed that you went in hiding for about a month or more but I always refused to look at any scripting videos from anyone else but you! I'm so glad your back and I hope you can upload like this again but not so often such as every day. I understand but thank you! You always find a way to make my day. Sorry for the long paragraph but it's true and I just needed to spit it out!

  • @thegamingdeath123
    @thegamingdeath1234 ай бұрын

    i was just watching this tycoon series but im on part 2 so ill watch this when i get to it

  • @rady_meme1582
    @rady_meme15824 ай бұрын

    Can you make in the next part when you touch button another button unlocks and make that you will not get instantly money but you need to collect them if you do it i will appricate it and this is so good bcs I can learn a lot from this 😊

  • @theboyboi1125

    @theboyboi1125

    2 ай бұрын

    ikr

  • @ps2gaming001
    @ps2gaming001Ай бұрын

    i , i have 1 question , can we do that the dropper drop models or mesh?

  • @luckyhendriksen4558
    @luckyhendriksen45582 ай бұрын

    Thanks Alvin, very useful. One question, wouldn't it be better to give the dropper and conveyer as standard basis equipment for each user? Or for free, how is one going to buy the conveyer and dropper if you need that to make money?

  • @Tablita7288
    @Tablita72884 ай бұрын

    Lets goo, keep up the videos

  • @rady_meme1582
    @rady_meme15824 ай бұрын

    Yay another part

  • @gamingwithyusuf3506
    @gamingwithyusuf35064 ай бұрын

    Hey AlvinBlox you can make a quick video about this. When you press file on roblox studio there are so many buttons and I don't know how to use them. I have seen from your other videos when you just start making your game and want to publish it to roblox you would press the 'publish to roblox button'. I don't really know what buttons to press when I come back to roblox studio another day and want to make changes to the game which I want to be applied to the game on roblox as well. Could someone help? Can someone also explain what all the buttons mean and do like 'save to file', 'save to file as', 'save to roblox', 'publish to roblox', 'publish to roblox as'.

  • @daxlarson461
    @daxlarson461Ай бұрын

    I'm really confused right now. for some reason my game is just not working. some buttons work while some don't and some items appear after I activate the buttons for them and some don't. I checked and all of them are built the same with the correct Id they just stopped working after I began doing this video tutorial but previously the first button worked. also the hole enabling disabled scripts just doesn't work and the scripts don't seam to work. I am really confused with this one and maybe someone has the same issue. I feel like its likely due to me making a mistake to start and everything working fine but I might of messed with the plot handler code and now its just somehow broken.

  • @the-lenny-dood7502
    @the-lenny-dood75024 ай бұрын

    I’m glad u uploaded

  • @21mayo_
    @21mayo_2 ай бұрын

    whenever i step on a button with the id of 1, it will not summon the item with the attribute id of item to unlock, but it will summon the item with the id of 2. i have no idea how to fix it, and it only gets worse when the third object to buy gets added.

  • @user-ng3ds1zh5y
    @user-ng3ds1zh5y3 ай бұрын

    So, the first object I made is a door and that comes up when I hit the button. However, the dropper and conveyer doesn't. And when I look under my workspace, if I hit more and more instances of the dropper, conveyer, or door pop up. But still the dropper and conveyer don't appear. Do I need to put a stop somewhere? Can someone pls help me fix this?

  • @MilkyAnimations
    @MilkyAnimations4 ай бұрын

    i wanna make that the button appears after i press the starter button, what should i do?

  • @neonflamez9107
    @neonflamez9107Ай бұрын

    for some reason my scripts don't re enable it loads the items back onto the plot no clue why because it enables them when you buy them and I get no other errors

  • @baconboy4217
    @baconboy42174 ай бұрын

    Can you cover upgraders in the next video?

  • @qw1dy
    @qw1dyАй бұрын

    I have an error with collector script, it says No Plot Owner Id when parts touches collector and money doesnt gives

  • @timppasaunoo3582
    @timppasaunoo358228 күн бұрын

    When i attempt to buy the conveyor or dropper it gives me this error message: " 20:05:46.735 ServerScriptService.PlotHandler:66: invalid argument #2 (CFrame expected, got nil) - Server - PlotHandler:66". Any clue as to why? i think its because the parts im trying to get are models but im not sure what to do about it Please help thank you

  • @zanvibovec9553

    @zanvibovec9553

    17 күн бұрын

    If you are looking for parts that are Models as Alvin put into his Video you shouldn't use CFrame, but Pivot instead.

  • @MC_Benny4882
    @MC_Benny4882Ай бұрын

    on my game there is a bug that it subtracts the cash multiple times when i step on a button how can i fix that

  • @Tsunaoo_
    @Tsunaoo_9 күн бұрын

    In the Dropper Script, I have an error "CFrame is not a valid member of Model" the model is the same dropper in the video so I don’t understand? I tried to fix it with "PivotTo" but it doesn’t work either… pls someone help me

  • @noahrulezman
    @noahrulezman4 ай бұрын

    2 hours before this came out me and my friends were talking about you

  • @firepup5508
    @firepup55084 ай бұрын

    I’m using the Zed’s tycoon kit and I can’t figure out how to make a dropper how can you find the numbers for the Vector 3 ()?

  • @mlysq6097

    @mlysq6097

    Ай бұрын

    Just test it out put 10 anywhere see what works (ex. also İf you put 0, 0, 10 and you see that it's going backwards change it to 0, 0, -10)

  • @firepup5508

    @firepup5508

    Ай бұрын

    @@mlysq6097 where to put the script at though?

  • @mlysq6097

    @mlysq6097

    Ай бұрын

    @@firepup5508 select the belt of the conveyor and add a script to it then write just like in the video "script.Parent.Velocity = Vector3 ()

  • @user-ll3du7kn8l
    @user-ll3du7kn8l4 ай бұрын

    Great job

  • @Froggy51075
    @Froggy510753 ай бұрын

    for some reason if the parts spawn from the conveyor it has a weld and then it does not move can someone help me?

  • @minehutminehutcreations7938
    @minehutminehutcreations79384 ай бұрын

    can you make the buttons appear after you buy the first one???

  • @rady_meme1582

    @rady_meme1582

    4 ай бұрын

    Yeah that’s what I want too I hope he will do it

  • @minehutminehutcreations7938

    @minehutminehutcreations7938

    4 ай бұрын

    we need the next part ay@@rady_meme1582

  • @AlvinBlox

    @AlvinBlox

    4 ай бұрын

    Coming in part 6 available today

  • @rady_meme1582

    @rady_meme1582

    3 ай бұрын

    @@AlvinBlox really?

  • @mm2.galaxy
    @mm2.galaxyАй бұрын

    Hi, I have a little problem actually when I want to buy the paper with the bacon it buys the conveyor and the dropper and if I buy the conveyor it buys the paper with the bacon and if I buy the dropper it buys some another

  • @ps2gaming001

    @ps2gaming001

    Ай бұрын

    (im not him) but did you try to inverse the buy parts?

  • @ArcticRBLXYT

    @ArcticRBLXYT

    22 күн бұрын

    same, did u find any fix

  • @LeviandToby
    @LeviandToby4 ай бұрын

    Do you teatch how to do scripts like that?

  • @joesamazingchannel
    @joesamazingchannel3 ай бұрын

    What is the drop script for a model?

  • @kostaunboxing
    @kostaunboxingАй бұрын

    "Its not hard to make a dropper really.." Me trying to use blender, exporting, importing and coloring the model into roblox studio (it took me 3 hours and 5 different tutorials)

  • @RAHHHHHHHHHHHHHHHHHHHHHHHHH11
    @RAHHHHHHHHHHHHHHHHHHHHHHHHH1124 күн бұрын

    How do i make the template dropper a model or mesh

  • @demonpiegamedev
    @demonpiegamedev4 ай бұрын

    very cool but how do i make it so that if i touch a button it unlocks the next one

  • @mlysq6097

    @mlysq6097

    Ай бұрын

    Haven't tested it but I think it has the same logic as touching the button and a item appearing, try putting the button2 in the items folder and when you press button1, button2 appears and moves to the buttons folder

  • @CyrusTheVirus-sr4xu
    @CyrusTheVirus-sr4xu2 ай бұрын

    hello everyone im sorry for asking after 2 months of the videos realease but i just found the series and they are great i just have 1 question why is my conveyor belt going backwards not forwards?!??!?!? any solutions?

  • @Juggalo5520

    @Juggalo5520

    2 ай бұрын

    put -10 instead of 10 in the belt script

  • @chippyeditz

    @chippyeditz

    2 ай бұрын

    Try script.Parent.Velocity = script.Parent.CFrame.LookVector * 14 and if its not working make it -14 also you can increase and descrease the speed by increasing/ decreasing the number

  • @Senjor290
    @Senjor2902 ай бұрын

    for some reason my conveyor wont spawn the pecies

  • @YOUTUBER_ADAM7
    @YOUTUBER_ADAM74 ай бұрын

    Good

  • @YOUTUBER_ADAM7

    @YOUTUBER_ADAM7

    4 ай бұрын

    Videos

  • @sarahsgamingchannel7339
    @sarahsgamingchannel7339Ай бұрын

    for my dropper, can i have my dropper as a dummy/person model

  • @BookofHistory1
    @BookofHistory14 ай бұрын

    Good tutorial but system is not that easily expandable. show how to make a button appear after another button

  • @domtu7129

    @domtu7129

    4 ай бұрын

    if you want a more expandable tycoon framework, B Ricey's OOP Tycoon series is one of the best tycoon tutorials out there

  • @BookofHistory1

    @BookofHistory1

    4 ай бұрын

    @@domtu7129 im actually watching it rn. Episode 4 right now

  • @AlvinBlox

    @AlvinBlox

    4 ай бұрын

    Coming in part 6

  • @seigemachine
    @seigemachine3 ай бұрын

    Idk if you'll see this but I have conveyors facing different ways on different plots and the conveyor will end up pushing the parts the wrong way when loaded in different areas. (this is the same conveyor, in the same area, but on different plots with different rotations) How could I fix this?

  • @seigemachine

    @seigemachine

    3 ай бұрын

    Nvm I figured it out. If anyone else had this problem here is the fix: script.Parent.Velocity = script.Parent.CFrame.LookVector * -7

  • @Legend1O1

    @Legend1O1

    3 ай бұрын

    Thank you!!!!

  • @seigemachine

    @seigemachine

    3 ай бұрын

    @@Legend1O1 yeah no problem, if the -7 part makes it go the wrong way then just make it positive. Also that value can be made higher to go faster

  • @CyrusTheVirus-sr4xu

    @CyrusTheVirus-sr4xu

    2 ай бұрын

    TYYYYY I WAS ASKING THE SAME QUESTION LOLLLL

  • @CyrusTheVirus-sr4xu

    @CyrusTheVirus-sr4xu

    2 ай бұрын

    but mines is still going wrong way but in a diffrent place like first it was pushing back now its pushing to the right

  • @NezwoYT
    @NezwoYT4 ай бұрын

    ALVINBLOX IS BACKKKK!!!!

  • @cbm62
    @cbm624 ай бұрын

    You back !!!

  • @Jp19Sr-cp5bq
    @Jp19Sr-cp5bq2 ай бұрын

    How can I make money appear with some buttons without conveyor

  • @Jp19Sr-cp5bq

    @Jp19Sr-cp5bq

    2 ай бұрын

    already figured it out if somebody else has this problem just use this script on a random part in the model: local repeater=1 local Plot = script.Parent.Parent.Parent.Parent local PlotOwnerUserId = Plot:GetAttribute('UserId') while repeater==1 do task.wait(1) local PlayerObject = game.Players:GetPlayerByUserId(PlotOwnerUserId) PlayerObject.leaderstats.Cash.Value += 1 end

  • @Supremenent
    @SupremenentАй бұрын

    I kinda get errors in the output command but the game works perfectly fine the error is: 20:31:39.990 InsertService cannot be used to load assets from the client - Client

  • @justsomeguyoutsideurhouse660
    @justsomeguyoutsideurhouse6604 ай бұрын

    HYPE

  • @kubus_tv0101
    @kubus_tv01014 ай бұрын

    thanks for tutorial - Kubus

  • @Eggowaffle.
    @Eggowaffle.3 ай бұрын

    For some reason the parts are deleted before they even hit the collecter (I still get the money)

  • @Dinosaor
    @Dinosaor4 ай бұрын

    HES BACK

  • @valkiess
    @valkiess2 ай бұрын

    For whatever reason, the scripts are no longer becoming enabled during testing. Would appreciate it if anyone could help. There are no errors or printed warnings in the output

  • @CakeMCGames

    @CakeMCGames

    Ай бұрын

    i know

  • @valkiess

    @valkiess

    Ай бұрын

    @@CakeMCGames I troubleshot a bunch of stuff, and it may be that the one script that has parent.parent.parent.parent needs either one more, or some less depending on how you’ve built stuff. You could try adding another “.parent” or taking one away and see if that works. That was my problem because I had an extra decoration on the conveyor so it didn’t go up high enough

  • @SwiftyGamerYT

    @SwiftyGamerYT

    Ай бұрын

    i had a different issue but turns out that was the issue, i spent half an hour trying to fix so thanks alot@@valkiess

  • @CakeMCGames

    @CakeMCGames

    Ай бұрын

    @@valkiess i fixed it i spelt a word wrong

  • @candedlr
    @candedlr4 ай бұрын

    how can i make the drop part a model and have it still work?

  • @minehutminehutcreations7938

    @minehutminehutcreations7938

    4 ай бұрын

    do you mean the DropTemplate?

  • @minehutminehutcreations7938

    @minehutminehutcreations7938

    4 ай бұрын

    local DropperTemplateModel = game.ServerStorage:WaitForChild('DropperTemplateModel') while wait(2) do local NewDropperModel = DropperTemplateModel:Clone() NewDropperModel:SetAttribute('DropperPart', true) NewDropperModel:SetAttribute('CashToGive', script.Parent:GetAttribute('CashPerDrop')) NewDropperModel.Parent = script.Parent.DropperParts end Try this!

  • @candedlr

    @candedlr

    4 ай бұрын

    @@minehutminehutcreations7938 yes

  • @candedlr

    @candedlr

    4 ай бұрын

    @@minehutminehutcreations7938 didn’t work :(

  • @AlvinBlox

    @AlvinBlox

    4 ай бұрын

    Instead of '.CFrame' you say ':PivotTo()' when it is a model. E.g Part.CFrame = CFrame.new(1,2,3) -> Model:PivotTo(CFrame.new(1,2,3))

  • @therealmrspeedy
    @therealmrspeedy4 ай бұрын

    Your fast.

  • @ToeLuvr69420
    @ToeLuvr6942013 күн бұрын

  • @L3sty-yg4ux
    @L3sty-yg4ux4 ай бұрын

    WHERE IS SCRIPT i need it

  • @iluk3606
    @iluk36064 ай бұрын

    Uau

  • @BorisFunny
    @BorisFunny4 ай бұрын

    THATS MY COUSIN

  • @CyrusTheVirus-sr4xu

    @CyrusTheVirus-sr4xu

    2 ай бұрын

    what

  • @playswordfactoryx7699
    @playswordfactoryx7699Ай бұрын

    dw about this comment i just want to mark where i last was 14:54

  • @chickengunplayer3065
    @chickengunplayer3065Ай бұрын

    plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz all script link