SavageCabage619 Posted April 2, 2021 Share Posted April 2, 2021 So im trying to make a script but i need it to give me a random mob / potion effect. How would I make an effect that gives a random mob or random effect? Link to comment Share on other sites More sharing options...
Jockerlight Posted April 2, 2021 Share Posted April 2, 2021 I don’t understand your question Link to comment Share on other sites More sharing options...
SavageCabage619 Posted April 2, 2021 Author Share Posted April 2, 2021 1 hour ago, Jockerlight said: I don’t understand your question like this is one of the thing im trying to make a script that whenever you step on a new block, a random mob will spawn Link to comment Share on other sites More sharing options...
AHelpingCandy Posted April 2, 2021 Share Posted April 2, 2021 on walk on cobblestone: chance of 5%: loop blocks in radius 5 around player: if loop-block is air: if block above loop-block is air: add loop-block's location to {_locs::*} set {_loc} to random element of {_locs::*} spawn a zombie at {_loc} IGN ➣ Pickey ( Soon ) Joined MineHut ➣ January 7th 2019 Joined Forums ➣ January 11th 2021 Admin on NotedGens Manager on NotedGens Developer on CropiedDeveloper on Gennow (Genable) ==========================================Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )Retired From: InvadedLands ( Moderator ) Retired From: MineTime ( Sr.Moderator ) Retired From: Hero Mines ( Helper ) Link to comment Share on other sites More sharing options...
SavageCabage619 Posted April 2, 2021 Author Share Posted April 2, 2021 56 minutes ago, Chloe30k said: on walk on cobblestone: chance of 5%: loop blocks in radius 5 around player: if loop-block is air: if block above loop-block is air: add loop-block's location to {_locs::*} set {_loc} to random element of {_locs::*} spawn a zombie at {_loc} I tried doing on walk on block but it don't work i want my script to work on all blocks not just one, any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now