Jump to content

So I'm making a dungeons skript and somethings wrong.


tmoa2

Recommended Posts

8 minutes ago, tmoa2 said:

So I'm making a dungeons skript and somethings wrong. Skript is down below.

 

It runs the first 3 lines of code, but then stops working. Can someone help? I've been asking since forever.

thingy.sk 448 B · 0 downloads

You shouldn't use 2 of the same event, like ever. So instead of that try this.

on death:
    if victim is a witch:
        send "&c[BOSS] Mini Daze&f: You win. This is not over though, for my last words. MINIONS! ATTACK!" to attacker
        loop 9 times:
            spawn 10 zombies at player
            set name of last spawned zombies to "Mini Daze Minion"
    if victim is a zombie:
        add 1 to {blah}
        if {blah} is 90:
            send "&a%attacker% has defeated Mini Daze!" to attacker

 

MillionDollar, TrillionDollar

BillionDollar please notice me.

 

Screenshot_303.png.cf935223698ddad0326155e211785a33.png

Link to comment
Share on other sites

9 minutes ago, MillionDollar said:

You shouldn't use 2 of the same event, like ever. So instead of that try this.


on death:
    if victim is a witch:
        send "&c[BOSS] Mini Daze&f: You win. This is not over though, for my last words. MINIONS! ATTACK!" to attacker
        loop 9 times:
            spawn 10 zombies at player
            set name of last spawned zombies to "Mini Daze Minion"
    if victim is a zombie:
        add 1 to {blah}
        if {blah} is 90:
            send "&a%attacker% has defeated Mini Daze!" to attacker

 

 

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...