• Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

ChrisCool

Member
Aug 28, 2024
3
0
1
16
Hi!

I'm new to skript and i can't seem to find any forums on boomerangs or much anything about armorstands... all i am trying to do is make it so that if you right click on a snowball it cancels the event and creates an armorstand that rotates and moves forward in the direction that you were facing when you threw the snowball.

i have skbee but i will install any other addons if needed.
all i'm asking for is a rough idea

Thank you!!
 
should probably use an item display for it
armorstands are old news
skbee has alot of display entity syntax, just look at the docs
 
hi, and thanks for the response!

i tried that alr but it broke every time because i am trying to place it mid air and nbt's aren't working for some reason.

on left click:
if tool is snowball:
spawn a armor stand in front of player
set {_stand} to last spawned armor stand
set tool of {_stand} to snowball
add "{Invisible:1}" to nbt of {_stand}
set {_vector1} to vector between player's location and {_standl}
push {_stand} {_vector1} at speed 1.7
wait 15 ticks
if block below {_stand} is air or grass block:
set {_vector2} to vector between {_stand} and player's location
push {_stand} {_vector2} at speed 3

on shoot:
projectile is snowball
cancel event #idk how to remove snowball from player xD
 
Hey, I made a skript for the boomerang.
It's not with the snowball, but I hope you can work with the basic idea. It only uses skripts right now without addons.



JavaScript:
command /giveitembo:
    trigger:
        give player stick named "§6Bomberang" with lore "§7A magical boomerang"
on rightclick with stick:
    set {_loc} to player's location
    summon armor stand 3 blocks above player's location # So they don't see the armor stand
    set {_ent} to last spawned entity
    set gravity of {_ent} to false
    make {_ent} invisible
    equip {_ent} with stick
    set {_count2} to 10
    set {_count} to 1
    loop 10 times:
        wait 1 tick
        add 30 to {_count2}
        add 1 to {_count}
        teleport {_ent} to block {_count} in front of {_loc}
        set yaw of {_ent} to {_count2}
    loop 10 times:
        wait 1 tick
        add 30 to {_count2}
        remove 1 from {_count}
        teleport {_ent} to block {_count} in front of {_loc}
        set yaw of {_ent} to {_count2}
    kill {_ent}

I hope I was able to help you with that.
 
Thank you so much for making this
I will try it out and let you know!!

EDIT: HOLY!!!!! TYSM I CAN WORK WITH THIS YOU ARE A LIFE SAVER!!!!!!!!!!!!!!!