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
Next part (data saving!): kzread.info/dash/bejne/dJWqvMRplsbAZrw.html / Become a channel member to get the project file: kzread.infojoin
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
What if we don't want a conveyer but instead something like touch a mailbox and get money instead?
@Fries_in_Zelda
4 ай бұрын
House tycoon gonna be watching you bro
@Dencel.
4 ай бұрын
What are you talking about
@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
3 ай бұрын
thank you @@frosty0701
@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
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!
i was just watching this tycoon series but im on part 2 so ill watch this when i get to it
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
2 ай бұрын
ikr
i , i have 1 question , can we do that the dropper drop models or mesh?
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?
Lets goo, keep up the videos
Yay another part
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'.
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.
I’m glad u uploaded
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.
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?
i wanna make that the button appears after i press the starter button, what should i do?
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
Can you cover upgraders in the next video?
I have an error with collector script, it says No Plot Owner Id when parts touches collector and money doesnt gives
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
17 күн бұрын
If you are looking for parts that are Models as Alvin put into his Video you shouldn't use CFrame, but Pivot instead.
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
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
2 hours before this came out me and my friends were talking about you
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
Ай бұрын
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
Ай бұрын
@@mlysq6097 where to put the script at though?
@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 ()
Great job
for some reason if the parts spawn from the conveyor it has a weld and then it does not move can someone help me?
can you make the buttons appear after you buy the first one???
@rady_meme1582
4 ай бұрын
Yeah that’s what I want too I hope he will do it
@minehutminehutcreations7938
4 ай бұрын
we need the next part ay@@rady_meme1582
@AlvinBlox
4 ай бұрын
Coming in part 6 available today
@rady_meme1582
3 ай бұрын
@@AlvinBlox really?
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
Ай бұрын
(im not him) but did you try to inverse the buy parts?
@ArcticRBLXYT
22 күн бұрын
same, did u find any fix
Do you teatch how to do scripts like that?
What is the drop script for a model?
"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)
How do i make the template dropper a model or mesh
very cool but how do i make it so that if i touch a button it unlocks the next one
@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
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
2 ай бұрын
put -10 instead of 10 in the belt script
@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
for some reason my conveyor wont spawn the pecies
Good
@YOUTUBER_ADAM7
4 ай бұрын
Videos
for my dropper, can i have my dropper as a dummy/person model
Good tutorial but system is not that easily expandable. show how to make a button appear after another button
@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
4 ай бұрын
@@domtu7129 im actually watching it rn. Episode 4 right now
@AlvinBlox
4 ай бұрын
Coming in part 6
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
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
3 ай бұрын
Thank you!!!!
@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
2 ай бұрын
TYYYYY I WAS ASKING THE SAME QUESTION LOLLLL
@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
ALVINBLOX IS BACKKKK!!!!
You back !!!
How can I make money appear with some buttons without conveyor
@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
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
HYPE
thanks for tutorial - Kubus
For some reason the parts are deleted before they even hit the collecter (I still get the money)
HES BACK
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
Ай бұрын
i know
@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
Ай бұрын
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
Ай бұрын
@@valkiess i fixed it i spelt a word wrong
how can i make the drop part a model and have it still work?
@minehutminehutcreations7938
4 ай бұрын
do you mean the DropTemplate?
@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
4 ай бұрын
@@minehutminehutcreations7938 yes
@candedlr
4 ай бұрын
@@minehutminehutcreations7938 didn’t work :(
@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))
Your fast.
WHERE IS SCRIPT i need it
Uau
THATS MY COUSIN
@CyrusTheVirus-sr4xu
2 ай бұрын
what
dw about this comment i just want to mark where i last was 14:54
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz all script link