#How do i make it that it gives the player invisibility for 5 seconds and allows him to fly for 5 sec

1 messages · Page 1 of 1 (latest)

visual gale
#

(im pretty new at skripting so i need some help)

#

also how do i make it that the bats disappear after 3 seconds (got this done)

heavy comet
#

do you still need help

visual gale
#

yea

#

got this so far btw

heavy comet
#
apply potion of invisibility 1 without particles to player for 5 seconds
force players to start flying
wait 5 seconds
force players to stop flying
#

idk i got it from skripthub, you should try looking up on skripthub too

#

should work

visual gale
#

ight sec

heavy comet
#

also kill all bats will kill every bat, means other players' bats

visual gale
#

oh oop

#

can i set a radius?

heavy comet
#

yes of course, like loop all entites in radious 10 around player: and if loop-entity is a bat:

i dont really like looping entities in a large radious and i would choose nbt instead but it would be too complicated now

heavy comet
#
command /testtt:
    trigger:
        summon 3 bats at player
        wait 3 seconds
        loop all entities in radius 15 around player:
            if loop-entity is a bat:
                kill loop-entity

mine works perfectly, it was radius, i typed radious lmao

visual gale
#

hmm

#

sec

#

now it somehow works

#

thanks

heavy comet
#

np :p you should look up more on skripthub (because i did that too)