need help with skript

  • 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 community!

    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!

Status
Not open for further replies.

MightyMathan

Member
Feb 4, 2021
2
0
1
Hey so i made a skript when a zombies dies it should give the player who killed it money and xp and it doesnt work.
this is the skript:
on death of zombie:
clear the drops
remove 1 from {zombiecount}
broadcast "%{zombiecount}%"
add 2 to {%killer%.money}
add 1 to {%killer%.xp}
how do i fix it?
 
Hey so i made a skript when a zombies dies it should give the player who killed it money and xp and it doesnt work.
this is the skript:
on death of zombie:
clear the drops
remove 1 from {zombiecount}
broadcast "%{zombiecount}%"
add 2 to {%killer%.money}
add 1 to {%killer%.xp}
how do i fix it?


Please use the CODE tags.
First off, I have noticed that you're trying to remove something from zombie count when {zombiecount} is not set. Try making it a thing! If you need more help, just reply!

Keep in mind, I am not the best skripter there is, and I too make mistakes. Maybe you have it correctly and I am just not seeing it!
Have a good day!
 
Status
Not open for further replies.