bob23456284524 Posted June 5, 2021 Share Posted June 5, 2021 command /reloadlootdrop: trigger: delete {_LOOT::*} add "diamond sword" to {_LOOT::*} add "fishing rod" to {_LOOT::*} add "64 diamond blocks" to {_LOOT::*} add "spawner" to {_LOOT::*} add "blaze spawn egg" to {_LOOT::*} #set {_LOOT::*} to "diamond sword" and "fishing rod" and "64 diamond blocks" and "spawner" and "blaze spawn egg" every 1 minute: set {_x} to random integer between -30 and 24 set {_z} to random integer between 11 and -40 broadcast "&2 &l There is a loot rain at %{_x}% , 68 %{_z}% which will begin in 30 seconds. get ready to catch the loot and not get killed!" wait 30 seconds broadcast "THE LOOT HAS DROPPED" loop 50 times: set {_drop} to random item out of {_LOOT::*} drop {_drop} at location({_x}, 70, {_z},world "lobby") wait 0.5 second there are no errors but items will no rain from the sky Link to comment Share on other sites More sharing options...
NotKaizo Posted June 5, 2021 Share Posted June 5, 2021 command /reloadlootdrop: trigger: delete {_LOOT::*} add diamond sword to {_LOOT::*} add fishing rod to {_LOOT::*} add 64 diamond blocks to {_LOOT::*} add spawner to {_LOOT::*} add blaze spawn egg to {_LOOT::*} #set {_LOOT::*} to diamond sword and fishing rod and 64 diamond blocks and spawner and blaze spawn egg every 1 minute: set {_x} to random integer between -30 and 24 set {_z} to random integer between 11 and -40 broadcast "&2 &l There is a loot rain at %{_x}% , 68 %{_z}% which will begin in 30 seconds. get ready to catch the loot and not get killed!" wait 30 seconds broadcast "THE LOOT HAS DROPPED" loop 50 times: set {_drop} to random item out of {_LOOT::*} drop {_drop} at location({_x}, 70, {_z},world "lobby") wait 0.5 second Maybe try removing the # in line 9 / You don't need to have "" for items unless you want to send/broadcast them. I am not the best at skripting but I hope this helps. 1 Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
bob23456284524 Posted June 5, 2021 Author Share Posted June 5, 2021 42 minutes ago, NotKaizo31 said: command /reloadlootdrop: trigger: delete {_LOOT::*} add diamond sword to {_LOOT::*} add fishing rod to {_LOOT::*} add 64 diamond blocks to {_LOOT::*} add spawner to {_LOOT::*} add blaze spawn egg to {_LOOT::*} #set {_LOOT::*} to diamond sword and fishing rod and 64 diamond blocks and spawner and blaze spawn egg every 1 minute: set {_x} to random integer between -30 and 24 set {_z} to random integer between 11 and -40 broadcast "&2 &l There is a loot rain at %{_x}% , 68 %{_z}% which will begin in 30 seconds. get ready to catch the loot and not get killed!" wait 30 seconds broadcast "THE LOOT HAS DROPPED" loop 50 times: set {_drop} to random item out of {_LOOT::*} drop {_drop} at location({_x}, 70, {_z},world "lobby") wait 0.5 second Maybe try removing the # in line 9 / You don't need to have "" for items unless you want to send/broadcast them. I am not the best at skripting but I hope this helps. hey kaizo. i have tried out your suggestion but unfortunately it does not work. thanks for trying to help me Link to comment Share on other sites More sharing options...
StarBunnie Posted June 5, 2021 Share Posted June 5, 2021 Oh ofc it doesn't work variables with _ are temporary meaning they don't exist outside their coding block. By just naming it {LOOT::*} Kaizos idea should work. Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< Link to comment Share on other sites More sharing options...
bob23456284524 Posted June 5, 2021 Author Share Posted June 5, 2021 let me try that. Link to comment Share on other sites More sharing options...
bob23456284524 Posted June 5, 2021 Author Share Posted June 5, 2021 im an idiot Link to comment Share on other sites More sharing options...
bob23456284524 Posted June 5, 2021 Author Share Posted June 5, 2021 it still does not work. there are no error codes. command /reloadlootdrop: trigger: delete {LOOT::*} add "diamond sword" to {LOOT::*} add "fishing rod" to {LOOT::*} add "64 diamond blocks" to {LOOT::*} add "spawner" to {LOOT::*} add "blaze spawn egg" to {LOOT::*} set {LOOT::*} to diamond sword and fishing rod and 64 diamond blocks and spawner and blaze spawn egg every 1 minute: set {_x} to random integer between -30 and 24 set {_z} to random integer between 11 and -40 broadcast "&2 &l There is a loot rain at %{_x}% , 68 %{_z}% which will begin in 30 seconds. get ready to catch the loot and not get killed!" wait 30 seconds broadcast "THE LOOT HAS DROPPED" loop 50 times: set {_drop} to random item out of {LOOT::*} drop a random item out of {LOOT::*} at location({_x}, 70, {_z},world "lobby") wait 0.5 second this is my new code Link to comment Share on other sites More sharing options...
bob23456284524 Posted June 5, 2021 Author Share Posted June 5, 2021 NEVERMIND. IT ACTUALLY WORKS. THANK YOU GUYS SO MUCH. 1 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