Join Player v2 Roblox

this makes it you will allways join the same lobby as your freinds but it might not work if they have it you cant join them or random people

目前为 2022-01-07 提交的版本。查看 最新版本

// ==UserScript==
// @name         Join Player v2 Roblox
// @license      C4-Suhail
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  this makes it you will allways join the same lobby as your freinds but it might not work if they have it you cant join them or random people
// @Note         Dont Steal This Code i Worked Really Hard On It
// @author       C4-Suhail
// @match        https://*www.roblox.com/users/*
// @icon         https://www.google.com/s2/favicons?domain=roblox.com
// @grant        none
// ==/UserScript==





    'use strict';
     //button
     var btn = document.createElement("BUTTON");
     document.body.appendChild(btn);
     btn.id = ("Joinv2")
     btn.innerHTML = "Join v2"
     btn.style = ("position: absolute; bottom: 95%; left: 64%; z-index: 3; background-color: rgb(0, 176, 111); color: rgb(255, 255, 255); border-bottom-color: rgb(0, 176, 111); border-bottom-color: rgb(0, 176, 111); border-top-color: rgb(0, 176, 111); border-right-color: rgb(0, 176, 111);border-left-color: rgb(0, 176, 111); border-radius: 8px; font-size: 20px; border: rgb(0, 176, 111);")
     //onclick
     btn.onclick = function () {
         btn.innerHTML = "Joining Player..."
         var inStr = ("N/A"+window.location.href);
         var justOneDot = inStr.replace(/[.](?=.*?\.)/g, '');
         var outStr = parseFloat(justOneDot.replace(/[^0-9.]/g,'')).toFixed(9);
         var string = "abcd";
         outStr = outStr.substring(2);
         var player_id = (outStr);
         Roblox.GameLauncher.followPlayerIntoGame(player_id);;
                  setTimeout(Text, 5000)
         function Text() {
             btn.innerHTML = "Joined Player"
                               setTimeout(Text, 7000)
         function Text() {
             btn.innerHTML = "Join v2"
}
}

    };

var table = document.getElementById('content');
table.appendChild(btn);