Kill the Kow

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

Status
Not open for further replies.

brayblox

Member
Feb 6, 2017
1
0
0
24
I made a Skript and what it's going to do is spawn a cow. Called Kow and i want it to be like a boss. I would wanted to ask if my skript looks like it will work so far and if not, you could tell me what is wrong. Thanks! I also want to spawn the Kow at a random location when you do a command which will be /kow <location> which will be an arg. How do i refer to an arg if it's not in a command? Thanks!


options:
# Kow

Kowname: &c&l-=Kow=-
Kow: true

on skript start:
wait 180 minutes
spawn a cow

on spawn of a cow:
if {@Kow} is true:
chance of 100%:
set name of the cow to "{@Kowname}"
apply speed 2 to the cow for 9999 minutes
apple resistance 3 to the cow for 9999 minutes
apple strength 2 to the cow for 9999 minutes
apply fire resistance 1 to the cow for 9999 minutes
apply health boost 60 to the cow for 9999 miniutes
heal the cow
send "&7The &c&lKow &7has spawned in the %arg1%"

on spawn of a cow:
if "%target cause" is "CLOSEST_PLAYER":
target player

on damage of a cow:
if {@Kow} is true:
chance of 30%:
ignite all players within 10 meters of the cow for 5 seconds
send "&c&lBurn!" to all players within 10 meters of the cow
chance of 20%:
push all players within 10 meters of the cow upwards at speed 5
send "&9&lFly!" to all players within 10 meters of the cow
on death of a cow:
create a safe explosion with strength 5 at the cow
smite the cow
send "&7The kow has been destroyed! The next cow will spawn in <"
on spawn of a cow:
if {@Kow} is true:
command /kow <location>
 
Ehm, did you read the information for the help section?
If you want to learn Skript properly, you should look at the documentation which syntaxes you have to use.
 
Status
Not open for further replies.