How to make Energy drink Item?

hey, this is my first post so i wanted to ask...
how to make an energy drink?
an item to use makes speed up for a period of time .. then speed back to normal.
i tried loops and timers .. player just get stuck until the countdown is over!
i want him to move during the countdown
Speed up, you mean walking fast? you can do this by common event and "change speed" in move route command. I've created tutorial for this, but it's waiting for approval. See there for a while: https://forums.rpgmakerweb.com/index.php?threads/creating-a-speed-boost-item-energy-drink.120656/
Making this item is incredibly easy. All you have to do is make a state and then make the energy drink item give the state. Just go into states, add more slots, and make a new state on one of the blank spots. Call it "Haste," "Speed Up," or whatever you want to call it. Have it end after a turn has passed and select how many turns you want the speed buff to last. Finally, select an image (if you want) and set in the "traits" section of the states tab to choose the SPD "parameter" from the parameters tab and set it to whatever you like, though I recommend 150% for balance's sake. Then go into the item tab and select the energy drink item. Go to effects>state>add state>Haste (or whatever you called your speed up state) and select 100%. And Boom! You have an item that raises your speed for a limited amount of time. Timers don't work in battles, so unless your using a very specific real-time battle system though plugins, then you should just work off turn counters for states. Hope this helped!

Edit: This will only work for the Speed Stat, not your actual movement speed. For that, just make the item run a common event and make that common event go into event commands>pg.2>Set Movement Route, make sure player is selected as the target, and then select Change Speed>5: 2x Faster/6: 4x Faster. Then press okay. Once you have made your common event, go into items>Energy Drink>Effects>Other>Common Events>GottaGoFast. (your walk speed common event, whatever you want to call it.) Then press okay, make sure you are only allowed to use the item on the field, and BOOM! You have an item that raises your walk speed. HOWEVER, this will raise your walk speed FOREVER, so the best way to mitigate this is to make the common event's "trigger" parallel, which would cause the event to play in the background constantly. In the common event, go to Event Commands>Pg.2>Timing>Wait and then set how many frames you want the event to wait before moving on. Since this event is running parallel, it will not interrupt the gameplay and the wait command will only delay the event, not the entire game. After how many frames you want to event to last (fyi 60 frames = 1 second) you can go to Event Commands>Pg.2>Movement Route>Change Speed>4. Normal. Make sure the movement route is set to player, and BOOM this time you have an item that raises your walk speed. Hope this helped!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-energy-drink-item.120652/