TGViewer
ботик ботик @botikst · 22 subscribers
Post #73 109
Градус поворота
import { world, system, Player } from "@minecraft/server";

function rot(player) {
const rotation = player.getRotation();
return {
y: Math.round(rotation.y * 10) / 10,
x: Math.round(rotation.x * 10) / 10
};
}

system.runInterval(() => {
const players = world.getPlayers();
for (const player of players) {
const rotation = rot(player);
player.runCommandAsync(`title @a actionbar y ${rotation.y} x ${rotation.x}`);
if (rotation.y <= -70.0 && rotation.y >= -89.9) {
player.runCommandAsync(`title @a title ВВЕРХ`);
}
}
});
  • 🔥 1
More from @botikst
  1. Sep 6, 2026пример WebSocket10
  2. Sep 6, 2026Файл скрипт WebSocket10
  3. Sep 6, 2026файл apk termux
  4. Sep 6, 2026Скрипт WebSocket10 const TelegramBot = require('node-telegram-bot-api'); const WebSocket =…
  5. Sep 6, 2026Команды termux: termux-setup-storage pkg update && pkg upgrade -y pkg install nodejs-lts n…
  6. Jul 26, 2026Пример «Импульс»
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →