Does anyone know how to make an openable crate that give a random weapon for battle royale games?

Does anyone know how to make an openable crate that give a random weapon for battle royale games?

2 Likes

I think you can use block code to make loot tables like in fishing.

2 Likes

Put a button behind the crate. Name it “Open Crate”. Then, put an item granter and put the weapon it wants to grant. Then, wire the button to the item granter “When button pressed, grant item”

EDIT: Connect the button to the crate also. When button pressed, hide prop. Then, wire the crate to the button, and put “when crate made non-visible, deactivate button”

2 Likes

On prop destroyed--------Trigger. Code the trigger to give a random weapon (see the fishtopia loot table thing for more details)

1 Like

Random Weapon*
If I make it a certain OP weapon, everyone is gonna go for that crate

Ohhh, i didn’t notice the “Random” word in there

1 Like

For randomizing it, you can use this link for loot tables. Just change the fish to weapons.

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.