Hi yall, im a new scripter, i am making my little bakery game, but it has come to the point of baking. I need a script for baking, i have the tray and dough model , and the oven model. I just dont really know what to script for it to actually bake progressively. I need to see the cookie dough browning and flatening , until its cooked, and a burnt system if cooked too long. I dont ask u to write me one, but to help me understand how to make one and help me out in some ways.
#Baking script
1 messages · Page 1 of 1 (latest)
U can try to change the models color slowly while is cooking
Making it darker every frame
Here's an idea:
So, when you put your dough into the oven (via. a ProximityPrompt or a ClickDetector), start a timer. After the timer is done, use TweenService, to make a Tween, that will change the color, and/or the size of the dough. Then when the tween is done, set another timer. When it runs out play another tween that makes the dough turn black/brown, so it looks like it's burnt.
Kk but how could I make it that it flattens while cooking 🤔
Again, either by changing the Y size (Height) or by mid Tween spawning the finished version and make it bigger while you make the dough smaller.
Do you understand what I mean?
** You are now Level 5! **
Ok so here i need to add a proximity prompt to oven and set a timer (with my cookie dough) (idk where lol) when its done i need to go to tween service to make a tween that is my cookie model for example, and set another timer for burnt and make a burnt tween?
kind of yea
Yeah but where do i insert these models?
you insert go in ReplicatedStorage, and clone from there