need help!!!!

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

bad121121213

New Member
Oct 30, 2024
5
0
1
30
im making a zombie apocalypse server and this just aint working plz help thank you!




Code:
every 1 second:
        set {_x} to a random integer between 96 and 47
        set {_y} to a random integer between 3 and 2
        set {_z} to a random integer between 150 and 199
        console command "teleport pizzamaniac100 %{_x}% %{_y}% %{_z}%"
        console command "/particle dust{color:[0.098,0.702,0.157],scale:1} %{_x}% %{_y}% %{_z}%  0 0 0 0.01 1000 normal"
        set {_location} to block at location {_x}, {_y}, {_z}
        set {_location} to highest solid block at {_location}
        add 0.5 to y coordinate of {_location}
        wait 1 second
        spawn zombie at {_location}

rq.png
 
hear me out. Why do you need to use variables here exactly?


Code:
every 1 second:
        set {_x} to a random integer between 96 and 47
        set {_y} to a random integer between 3 and 2
        set {_z} to a random integer between 150 and 199
        console command "teleport pizzamaniac100 %{_x}% %{_y}% %{_z}%"
        console command "/particle dust{color:[0.098,0.702,0.157],scale:1} %{_x}% %{_y}% %{_z}%  0 0 0 0.01 1000 normal"
        spawn zombie at (highest solid block at {_x}, {_y}, {_z})

also PizzaManiac100 IS THAT YOU???? I REMEMBER HAVING YOU ON MY FRIENDS LIST!!!! (I was KingDoodle, you might not remember me lmao it's been so long)

But yeah, that should solve your issue. Also, why are you making it so that it teleports you every second to where the zombie would spawn?! And why are you making it so that it only teleports you?!?! (or pizzamaniac100 if you're not him)

Please add me on discord... I am begging you, bc this code is uhm... treacherous. (lunardoodl is my user)
 
and that code did not work but i do remember you. i am newbie to code thats why this is so quoting you btw "treacherous"