#HELP

1 messages · Page 1 of 1 (latest)

unborn juniper
#

MY BRAINNNN

#

tryuing to make it so when someone does /pvp it tps them to a random locaiton

#

well

#

like 1 of 4 lcoations

#

command /pvp:
    trigger:
        teleport player to location
#

ik this part

#

but what about it tpign them etihtr to 0 0 0 or 1 0 0 or 1 0 1 or 1 0 2

narrow narwhal
#

Add the locations to a list var, and then teleport to a random element of the list var

narrow narwhal
#

I suggest learning basic skript then

unborn juniper
#

is there a way u can gimme an example

#

@merry timber

narrow narwhal
#

An example is useless if you don’t know what’s what

#

You need to learn the basics of skript

#

Do you know what a list var is?

unborn juniper
#

yes

#

variable

#

variable is used isntad of using the same word or item

#

variables:
{frame} = blue stained glass pane named " "

abstract owl
#

im new to skript sorry

spark vortex
#

no

abstract owl
spark vortex
#

???

abstract owl
#

i dont trust you

spark vortex
#

bro 💀

#

trust me please!!!

abstract owl
unborn juniper
#

@narrow narwhal

#

?

abstract owl
unborn juniper
#

so

#

teleport player to location(0, 0, 0, world)

unborn juniper
torn furnace
#

Bro

#

Put them in a list variable

merry timber
#

set listvariable to location(coords), location(cords), and location(coords)

#

teleport player to random element of listvariable

#

I hink

#

Learn lists

#

And what they do

#

And how to use them

#

Then this will make sense