#Its been a while that im looking but i can't find how to do pet heads

1 messages · Page 1 of 1 (latest)

tribal maple
#

"how to"?

#

its usually just armour stands

old venture
#

Yeah but the pet won’t follow me

#

Like the script isn’t working

tribal maple
#

"the script"

#

you'd need to teleport them, or push them to make it dynamic

old venture
#

I’m in my car rn going back home

#

I can’t do anything rn feelsbadman

old venture
#

@tribal maple

#

Im here

#

ill send

tribal maple
#

{pets::%player's uuid%} is a single variable, and will only allow for 1 pet. I got the impression you wanted multiple, for that you'd need a list.

on move would cause quite a bit of lag. I'd just use a while loop to teleport them. That might also be a bit intensive, so you could only move those more than x blocks away

old venture
#

huh

old venture
#

btw

#

It wont let me name it with the nbt

#

spawn armor stand named "e" with nbt "{Invisible:1,NoGravity:1}" at player

#

it doesnt work

stoic spear
#

with nbt compound from

hexed quartz
#

it works
The name is set
Its just not visible. That's how armor stands work

hexed quartz
hexed quartz
stoic spear
#

I believe you can also set display name of %entity% to "whatever" which will override the CustomNameVisible tag
EDIT: I just checked, and that is the case: https://docs.skunity.com/syntax/search/id:5196

random agate
#

why not use a while loop instead

old venture
#

And what wil be the condition?

tribal maple
#

while player is online

old venture
#

ohhhh yeah

#

tell me the rest pls

#

lul

tribal maple
#

you have the rest, just put in in there

old venture
#

Uh

#

Oh nvm thanks

#

Nvm

#

@tribal maple

#

i cant make it work

#

@tribal maple

#

I got it o think

#

2 sec leme test

stoic spear
#

why did you ping them twice. there's other people here that can also help, no need to ping anyone in particular

old venture
#

idk

#

:d

stoic spear
#

you have line 1 and 2 swapped.
The event comes before everything else

#

but, on any move is going to cause SIGNIFICANT lag

#

so instead, use on join

#

and if you edit your code, you will have to log off and back on to the server

old venture
#

WDYM ON JOIn

#

on join:

#

nvm

#

i think i under

#

stand

#

2 sec

stoic spear
#

on join = the event you will need to check for
while player is online = the code after this will always run, so make sure you wait at least 1 tick after the last line of code (otherwise your server will crash)

old venture
#

I got is

#

it*

#

thanks!!!

stoic spear
#

no problem

old venture
#

Alr

#

new prob

#

so

#

Yk hitboxes are fucking anpying sometimes?

#

Well i made my pet not have one

#

and then the name it had just went at the botom of the armor stand (looking in spectator mode)

#

before:

#

how do i fix it?

stoic spear
#

you say you removed the hitbox. by this, you mean you added the Marker tag to the nbt of the stand?

#

If that is the case...yep, that's your problem. That's how marker stands work: the name will always be at the bottom and there is no way to fix it

random agate
stoic spear
#

yeah, so that's why. Armor stands with the Marker tag will always have their name displayed at the base.
So to get it like the last image you have, you'd need to do what Cosy suggested and make the armor stand be one block lower.

old venture
#

yea

#

alr

#

guys

#

How do i use vectors to offset the location

#

there is nothing online

dull saffron
#

location ~ vector

old venture
#

ill try

old venture
#

I dont understand

#

how