if event-item is dragon egg:
loop all blocks in radius 5 around player:
if loop-block is cobweb:
set loop-block to air
function dustparticlering(pl: location, r: number, g: number, b: number, h: number, radius: number):
loop 360 times:
set {_v} to spherical vector with radius {_radius}, yaw loop-value and pitch 0
make 1 of dust using dustOption(rgb({_r}, {_g}, {_b}), 1) at location {_h} meter above {_pl} ~ {_v} with offset vector(0, 0, 0) with extra 0
function particlering(pl: location, h: number, radius: number, particletype: particle):
loop 360 times:
set {_v} to spherical vector with radius {_radius}, yaw loop-value and pitch 0
make 1 of {_particletype} at location {_h} meter above {_pl} ~ {_v} with offset vector(0, 0, 0) with extra 0
set {_pl} to location of player
wait 1 tick
dustparticlering({_pl}, 123, 0, 181, 0.2, 1)
particlering({_pl}, 0.2, 1, smoke)
dustparticlering({_pl}, 123, 0, 181, 0.2, 1.5)
particlering({_pl}, 0.2, 1.5, smoke)
dustparticlering({_pl}, 123, 0, 181, 0.2, 2)
particlering({_pl}, 0.2, 2, smoke)
dustparticlering({_pl}, 123, 0, 181, 0.2, 2.5)
particlering({_pl}, 0.2, 2, smoke)
dustparticlering({_pl}, 123, 0, 181, 0.2, 3)
particlering({_pl}, 0.2, 3, smoke)
dustparticlering({_pl}, 123, 0, 181, 0.2, 3.5)
particlering({_pl}, 0.2, 3.5, smoke)
loop 5 times:
dustparticlering({_pl}, 123, 0, 181, 0.2, 4)```
#how can i fix this smp mod made it and said it would work
1 messages · Page 1 of 1 (latest)
ask the mod who made it
he wont respond 🙏
well,
- "How can I fix this" is pretty damn vague. When you as for help, you need to actually provide information (like where it goes wrong/what breaks), and its usually a good idea to send the error messages you get too.
- its rather difficult to help people when they come here with code they didnt write themselves, as it means they usually dont have the ability to write code, and thus its a bit hard to guide them or explain things when they dont have enough knowledge to put together some code themselves.
LOL
Dang bro got cooked by Skript community