Jump to content

i need help with my loot rain skript.


Recommended Posts

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!"
    execute console command "/summon minecraft:item %{_X}% 68 %{_z}% {Item:{id:"wooden_sword",Count:1,tag:{HideFlags:4}}}"

 

i've been able to make it announce a loot rain and announce random coords but it will not summon a wooden sword. i will change it to every 1 hr and make it drop an item from a data table later

Link to comment
Share on other sites

10 hours ago, bob23456284524 said:

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!"
    execute console command "/summon minecraft:item %{_X}% 68 %{_z}% {Item:{id:"wooden_sword",Count:1,tag:{HideFlags:4}}}"

 

i've been able to make it announce a loot rain and announce random coords but it will not summon a wooden sword. i will change it to every 1 hr and make it drop an item from a data table later

try this

drop wooden sword at location({_x}, 150, {_z})

 

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...