#Particle Beam...
1 messages · Page 1 of 1 (latest)
well, youre using skript 2.14…
do you ever read the changelogs lol
theres new official skript particle syntaxes
the skbee syntaxes are deprecated
also update skript
and skbee
and skript-particle
and your server version
i did not
i am on 1.21.5 and there is no skbee version for it
i am on highest one rn
use skript syntaxes then
imma do it now
force draw blue dust particles of size 2 with extra value 0
is this ai generated?
either way,
function line(l: location, v: vector,range: integer, density: number,spreadMIN: number,spreadMAX: number) :: locations:
loop {_range} times:
set standard length of {_v} to loop-value * {_density}
add getRandom({_l} ~ {_v},(random number between {_spreadMIN} and {_spreadMAX} to {_list::*})
return {_list::*}
# USAGE
on left click:
draw 1 of end rod at line(location of head of player, vector from yaw yaw of player and pitch pitch of player, 20, 0.2, 0, 0.35) with extra 0 with force
# USAGE
function getRandom(l: location, size: number) :: location:
set {_v} to a random vector
set standard length of {_v} to {_size}
set {_location} to {_l} ~ {_v}
return {_location}
this is untested btw, so make sure it works
discord is formatting this to hell holy
you now realise?
no
good o:
i just took that code from online spigot lol
ah ic
you can use this !
if yo uhave any questions do ask
Hey can u pls help me in #1495420355291123842
yes give me a second o:
any specific errors?
oh i bracketed it wrong
add getRandom({_l} ~ {_v}, (random number between {_spreadMIN} and {_spreadMAX}) to {_list::*}
did you modify the code at all ?
no
alr good d:
i was told that
skbee at that version
so where is this coming from