CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 21:28:06 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=20b4fed170daf7cc1cc7a93f1c95cb66f875f46fe1866ce2942d20d1b2fd52bca%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22KnSeGsGAYS2uz8nrnoQtYIvGMJ0-h2Gf%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d171ffeb9ba45e-BLR
Spieler Distanzanzeiger - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local owner = ""
- local targetPlayer = ""
- local targetX =
- local targetZ =
- term.clear()
- term.setCursorPos(1, 1)
- print("Starte Distanzanzeige...")
- local mode = 1
- local function distance2D(x1, z1, x2, z2)
- local dx = x2 - x1
- local dz = z2 - z1
- return math.sqrt(dx * dx + dz * dz)
- end
- local function keyListener()
- while true do
- local _, key = os.pullEvent("key")
- if key == keys.s then
- mode = (mode == 1) and 2 or 1
- term.clear()
- end
- end
- end
- local function displayLoop()
- while true do
- term.setCursorPos(1, 1)
- term.clear()
- local per = peripheral.wrap("back")
- if not per then
- print("Kein Player Detector hinten gefunden.")
- sleep(1)
- else
- local posOwner = per.getPlayerPos(owner)
- if posOwner then
- if mode == 1 then
- local dist = distance2D(posOwner.x, posOwner.z, targetX, targetZ)
- if term.isColor() then term.setTextColor(colors.yellow) end
- print("Modus: Koordinaten")
- if term.isColor() then term.setTextColor(colors.white) end
- print(string.format("Distanz zu (%.1f, %.1f): %d", targetX, targetZ, math.floor(dist)))
- else
- local posTarget = per.getPlayerPos(targetPlayer)
- if posTarget then
- local dist = distance2D(posOwner.x, posOwner.z, posTarget.x, posTarget.z)
- if term.isColor() then term.setTextColor(colors.lime) end
- print("Modus: Spieler '" .. targetPlayer .. "'")
- if term.isColor() then term.setTextColor(colors.white) end
- print("Distanz:", math.floor(dist))
- else
- if term.isColor() then term.setTextColor(colors.red) end
- print("Zielspieler '" .. targetPlayer .. "' nicht gefunden.")
- if term.isColor() then term.setTextColor(colors.white) end
- end
- end
- else
- if term.isColor() then term.setTextColor(colors.red) end
- print("Spieler '" .. owner .. "' nicht gefunden.")
- if term.isColor() then term.setTextColor(colors.white) end
- end
- end
- print("[S] zum Wechseln des Modus.")
- sleep(0.3)
- end
- end
- parallel.waitForAny(displayLoop, keyListener)
Tags:
Cc
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 1
JavaScript | 2 sec ago | 0.25 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ W
JavaScript | 7 sec ago | 0.25 KB
-
📝 EASY MONEY GUIDE ✅ Working
JavaScript | 10 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ J
JavaScript | 11 sec ago | 0.25 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ W
JavaScript | 16 sec ago | 0.25 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ Q
JavaScript | 20 sec ago | 0.25 KB
-
📌 ChangeNOW Exploit
JavaScript | 20 sec ago | 0.24 KB
-
📝 Exchange profit method
JavaScript | 33 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand