Universal Script 📌
3.2k Views
5.0k Executions

AUTO JOINER

Universal Script 📌
zypto15
zypto15First script
6 months ago
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

--[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] local g = Instance.new("ScreenGui", game.CoreGui) local f = Instance.new("Frame", g) f.Size = UDim2.new(0, 260, 0, 150) f.Position = UDim2.new(0.5, -130, 0.4, 0) f.Active = true f.Draggable = true f.BackgroundColor3 = Color3.fromRGB(30,30,30) local t = Instance.new("TextLabel", f) t.Size = UDim2.new(1,0,0,30) t.BackgroundTransparency = 1 t.Text = "Join Player (Username)" t.Font = Enum.Font.GothamBold t.TextScaled = true t.TextColor3 = Color3.fromRGB(255,255,255) local box = Instance.new("TextBox", f) box.Size = UDim2.new(1,-20,0,35) box.Position = UDim2.new(0,10,0,40) box.PlaceholderText = "Enter Username..." box.Font = Enum.Font.Gotham box.Text = "" box.TextScaled = true box.BackgroundColor3 = Color3.fromRGB(50,50,50) box.TextColor3 = Color3.fromRGB(255,255,255) local btn = Instance.new("TextButton", f) btn.Size = UDim2.new(1,-20,0,40) btn.Position = UDim2.new(0,10,0,90) btn.Text = "JOIN" btn.Font = Enum.Font.GothamBold btn.TextScaled = true btn.BackgroundColor3 = Color3.fromRGB(0,170,255) btn.TextColor3 = Color3.fromRGB(255,255,255) -- SERVICES local HttpService = game:GetService("HttpService") local TeleportService = game:GetService("TeleportService") local Players = game:GetService("Players") local placeId = game.PlaceId -- Convert Username → UserId local function UsernameToID(name) local r = game:HttpGet("https://api.roblox.com/users/get-by-username?username="..name) local data = HttpService:JSONDecode(r) if data and data.Id then return data.Id end return nil end local function GetPublicServers() local servers = {} local cursor = "" repeat local url = "https://games.roblox.com/v1/games/"..placeId.."/servers/Public?limit=100&cursor="..cursor local response = game:HttpGet(url) local data = HttpService:JSONDecode(response) for _,sv in pairs(data.data) do table.insert(servers, sv) end cursor = data.nextPageCursor or "" until cursor == "" or cursor == nil return servers end local function Join(username) btn.Text = "Checking..." btn.BackgroundColor3 = Color3.fromRGB(200,150,0) local userId = UsernameToID(username) if not userId then btn.Text = "Invalid Username" btn.BackgroundColor3 = Color3.fromRGB(255,60,60) task.wait(2) btn.Text = "JOIN" btn.BackgroundColor3 = Color3.fromRGB(0,170,255) return end local servers = GetPublicServers() for _,sv in pairs(servers) do for _,plr in pairs(sv.playerIds) do if plr == userId then btn.Text = "Joining..." btn.BackgroundColor3 = Color3.fromRGB(0,200,50) TeleportService:TeleportToPlaceInstance(placeId, sv.id, Players.LocalPlayer) return end end end btn.Text = "Not Found/Public" btn.BackgroundColor3 = Color3.fromRGB(255,60,60) task.wait(2) btn.Text = "JOIN" btn.BackgroundColor3 = Color3.fromRGB(0,170,255) end btn.MouseButton1Click:Connect(function() if box.Text ~= "" then Join(box.Text) end end) print("working ")

View Raw


Comments

4
Log in to join the conversation. Login
diasarthur550's profile picture
diasarthur5506 months ago

It doesn't work. I'm sad about this because the script creators promise to deliver what's already in the script, but it doesn't. What they created was supposed to work, but it doesn't. I don't know why this is happening, I just want to know, that's all ;-;.

1
nikitakalitin2's profile picture
nikitakalitin26 months ago

@diasarthur550 where are the creds?

1
diasarthur550's profile picture
diasarthur5506 months ago

@nikitakalitin2 I don't know what this "creds" is, but the script doesn't work. I don't know why, and it would be really OP if it worked, that's all ;-;

1
guyenjoyer's profile picture
guyenjoyer6 months ago

dont work

1