#safezone

1 messages ยท Page 1 of 1 (latest)

vestal steppe
#

help me make safezone skript

static bolt
#

no

#
    if victim is within {Location::1} and {Location::2}:
        cancel event
        send "safezone" to attacker```
#

@vestal steppe

vestal steppe
#

what is Location

static bolt
#

Whatever you set them to, if you don't set them then they return <none>.

vestal steppe
#

wait wha

static bolt
#

set {Location::1} to location
set {Location::2} to location

vestal steppe
#

ahh you mean i put the coords

static bolt
#

yes

vestal steppe
#

I GOT THIS BUT IT DOESNT HAVE PUSHBACK THING

#

ill try urs

static bolt
#

What is push back thing?

vestal steppe
#

like when you enter on the safe area and when the player is pvp it will push the player backward

#

but well the skript succes

#

imma try

static bolt
vestal steppe
#

down the cancel event?

static bolt
#

No?

vestal steppe
#

where

#

cuz if i put the push the line 2 will be broken

#

well doesnt work

#

i can enter the region

static bolt
#

Oh, if you mean push after cancel event, then yes.

vestal steppe
#

or i need to define a region

static bolt
#

Yes define a region then.

vestal steppe
#

how

#

i dont know skript

#

๐Ÿ’€

#

mb

static bolt
#

if "%region at player%" is "regionname":

vestal steppe
#

what line

static bolt
#

bruh

#

after you detect damage

vestal steppe
#

okay

#

so i need to remove the if victim is within

static bolt
#

Yes, replace the is within with the region one.

vestal steppe
#

oh bruh

#

okay

#

what this

static bolt
#

it tells you

vestal steppe
#

I dont know that..

static bolt
#

Use attacker or victim, so, replace player with attacker or victim...

vestal steppe
#

oh

#

dwg

#

i can still enter

#

or after cancel event

#

i put push player

static bolt
#

it is not when you enter

#

this happens when you damage a player

#

....

vestal steppe
#

wdym

static bolt
#

on damage: is NOT on region enter:

vestal steppe
#

mhh

#

dwg

#

where can i find CombatSAFEZONE thing like when player incombat there is a barrier thing

static bolt
#

that is not a skript thing

#

so look it up on google or spigot or something

vestal steppe
#

ik its deluxecombat

#

but i just need the barrier ๐Ÿ’€

#

ig imma just edit

#

me host free 32gb 12vc server

#

you wna help me

static bolt
#

no

#

sorry

vestal steppe
#

me have server

#

paid

#

Singapore location