#Does anyone know how to make a player lay on ground?
1 messages · Page 1 of 1 (latest)
nope, I was wrong, no idea what the syntax is
the docs are NOT my friend this time ðŸ˜ðŸ˜ðŸ˜
its not crawl its swimming animation
no, i mean the animation like when you're laying in bed
not really sure how to force player to do it tho
thats sleeping_pose
ill look if you can set it forcibly without packet crap
seems like you need packets for it
packets can be done in skript
never said they cant
xd
gsit does got all the features if u just want a sit plugin btw op
Yes, but it wouldn't be compatible with what I want to do with the script.
mmm
lemme look docs
maybe u could use skript mirror or skript reflect with gsit?
i figured out how to set the sleeping pose, but it instantly sets the player again in the normal pose
put it into loop ig
maybe like on join while player is online set player to sleeping pose if a varialbe is true?
with wait 20 ticks at end
i said try while player is online
make sure to add wait 20 ticks at end or it crystals u server
dont works, maybe i have to set the sleeping state of the player or something like that?
try smh along on join: while player is online: if {dead::%player's uuid%} = true: [code to make player sleep] wait 20 ticks
he is setting the pose every tick and it is still broken
20 tick delay will make it even worse
mmmm still try it
wait ill try
just to see
but i dont think its gonna work
he will be laying 1 tick and standing 20 ticks xd
skunisy using attempt to make player sleep at {_loc}
attempt to make player sleep at {_loc}
well, my server crashed xd
did u add wait 20 ticks at end
yes
cuz if u didt i told u it would
on join: while player is online: if {death::%player's uuid%} = true: set pose of player to sleeping pose wait 20 ticks
,,,
mm try making wait 20 ticks always wait 20 ticks not just if death player's uuid is true
mundosk u can use function packetBedAnimation(player: player, bed: location): set {_packet} to new play_server_bed packet set location pinfo 0 of {_packet} to {_bed} set {_player}'s world pentity 0 of {_packet} to {_player} send {_player} packet {_pac @wraith cypress
try using
Does that work with skript reflect?
i do not know
i've never used skript reflect as i don't know java
u can use skreflect without knowing java