Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- owot.me/rplaceowot script
- deobfuscated by KKosty4ka
- */
- if (typeof localStorage.canPlacePixel !== undefined)
- {
- localStorage.canPlacePixel = "true";
- }
- function userCheck()
- {
- return state.userModel.username == "" ? w.clientId : state.userModel.username;
- }
- owotCtx.canvas.ondblclick = e =>
- {
- var coords = getTileCoordsFromMouseCoords(e.clientX, e.clientY);
- if (localStorage.canPlacePixel == "true")
- {
- writeCharTo("█", YourWorld.Color, coords[0], coords[1], coords[2], coords[3]);
- w.chat.send(`${userCheck()} Placed a pixel at [${coords[0]}, ${coords[1]}, ${coords[2]}, ${coords[3]}]`,
- {
- nick: "𝗿/𝗽𝗹𝗮𝗰𝗲 𝗖𝗹𝗶𝗲𝗻𝘁",
- color: "#00B7FF"
- });
- localStorage.canPlacePixel = _0xb30ed6(0xbe), setTimeout(_ =>
- {
- localStorage.canPlacePixel = "true";
- alert("YOU CAN PLACE A PIXEL DOWN NOW!!!!");
- }, state.worldModel.char_rate[1])
- }
- else alert('you cant place a pixel yet');
- }
- writeChar = (char, doNotMoveCursor, color, noNewline) =>
- {
- if (localStorage.canPlacePixel == "true")
- {
- writeCharTo(char, YourWorld.Color, cursorCoords[0], cursorCoords[1], cursorCoords[2], cursorCoords[3]);
- w.chat.send(`${userCheck()} Placed the char "${char}" at [${cursorCoords[0]}, ${cursorCoords[1]}, ${cursorCoords[2]}, ${cursorCoords[3]}]`,
- {
- nick: "𝗿/𝗽𝗹𝗮𝗰𝗲 𝗖𝗹𝗶𝗲𝗻𝘁",
- color: "#00B7FF"
- });
- localStorage.canPlacePixel == "false"; // wtf?
- setTimeout(_ =>
- {
- canPlacePixel = "true";
- alert("YOU CAN PLACE A CHAR NOW!!" );
- }, state.worldModel.char_rate[1]);
- }
- else alert("you cant place a char yet" );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement