I want the player to click a button then in a 1 in 25 chance they could get 5 med-pack onc3
2 Likes
I’m not an expert, but I can say that it involves block code and some math…
So maybe this will help? I can answer any questions you have.
This is gonna be a complicated guide, it is heavily block code, it’s a bit confusing if you’re not used to so much block codey guides
Hello! So welcome to my guide! I am currently developing a Fortnite map, and with every map, needs randomized chest like the real thing, but it’s pretty difficult to do. So I thought I would make a guide to help others out if they needed help with making a randomized chest system! Lots of credits to @Foxy because she helped so much when I was trying to make my ow…
4 Likes
Hi here’s a guide! (@GlowingTurtle you beat me lol)
1: What you’ll need: one repeater (yep that’s it)
2: open blocks and create a custom variable called num
3: make this (to create the if then else click the gear on the if-then block and add if else to the if block in the gear)
[Screenshot 2023-05-24 4.40.06 PM]
4:Connect your input and output and you’re done! (make sure output is connected to the broadcaster channels)
PS:this is infinitely expandable.
1 Like
Open up some block code, anywhere, really, and go to math, badda bang badda bo0m, generate random integer, it will be right in front of your eyes.
Sorry for this bad explanation you’re better off reading the guides that @JaydoPotato and @GlowingTurtle linked to this post.
2 Likes
My favorite code in Gimkit =3
you could use this guide [ ] The Ultimate Guide To Doors
and go to timothy section and it will show you the code to do
There’s quite alot of guides on this.
You place down a trigger.
Go into block code and make it like this but as many randomizing functions as needed. (add or subtract options as needed)
[image]
Here you go, just have what you need to happen be based off the broadcast signal. And if you do need it repeated then make the last randomizer in the cycle transmit to trigger the first randomizer in the cycle. Post if it isn’t working or ya want me to personalize it for your needs.
I was recently making my secret project when I came across the huge pain of randomizing words. So, I made a guide so you don’t have to encounter (as much) pain!
[image]
DISCLAIMER: This will only randomize five-letter words. Also, not all five-letter words in the alphabet (that are valid in wordle) are included as it would make the list WAYYY too long. So, instead, this randomizer randomizes between words that wordle uses as the daily word. This also means that some words may have an inappropr…
Toxic
November 29, 2024, 11:50am
7
Maybe when button pressed>trigger. Make the trigger invisible. Now: Make a block code in the trigger when triggered a variable in a random number 1-25. If the number is one, broadcast message on channel “grant medpack”. Then you get 5 medpacks from an item granter.
Okay, I was dissapointed in myself for not properly helping you (guilty, even) so here’s a mini guide on how to solve your exact problem Toxic kind of beat me to it, but I’m going to have pictures so ha!
First, place a button and have it transmit on “Randomizer” when pressed.
Then, place an item granter. In the settings, set it to grant five medpacks but don’t give it a channel yet.
Then, go to the blocks tab of the item granter and click “when receiving on channel”, then enter “Randomizer”.
Then, hit enter. Paste in this block code:
Now, there’s a one in twenty-five chance that the player will get a medpack when clicking the button.
Does this help?
1 Like
IDK
November 29, 2024, 2:12pm
9
Please mark a solution if these helped you
system
Closed
November 29, 2024, 5:13pm
10
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.