Copy join link as RobloxGameInstance
Key RequiredUniversal

Copy join link as RobloxGameInstance

Universal Scriptalpahealpahe 807 views 39 executesUpdated Dec 3, 2025
Unrated
00
Lua Script•84 lines (2502 chars)
local ScreenGui = Instance.new("ScreenGui", game:GetService("CoreGui"))
local Frame = Instance.new("Frame", ScreenGui)
local CloseBtn = Instance.new("TextButton", Frame)
local Info = Instance.new("TextLabel", Frame)
local TextBox = Instance.new("TextBox", Frame)

ScreenGui.ResetOnSpawn = false

Frame.Size = UDim2.new(0, 480, 0, 180)
Frame.Position = UDim2.new(0.5, -240, 0.25, 0)
Frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Frame.BorderSizePixel = 0
Frame.Active = true

CloseBtn.Size = UDim2.new(0, 30, 0, 30)
CloseBtn.Position = UDim2.new(1, -35, 0, 5)
CloseBtn.Text = "X"
CloseBtn.BackgroundColor3 = Color3.fromRGB(170, 50, 50)
CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn.TextSize = 22
CloseBtn.Font = Enum.Font.GothamBold
CloseBtn.MouseButton1Click:Connect(function()
	ScreenGui:Destroy()
end)

Info.Size = UDim2.new(1, -20, 0, 60)
Info.Position = UDim2.new(0, 10, 0, 40)
Info.BackgroundTransparency = 1
Info.TextColor3 = Color3.fromRGB(200, 200, 200)
Info.TextSize = 16
Info.Font = Enum.Font.Code
Info.TextWrapped = true

TextBox.Size = UDim2.new(1, -20, 0, 50)
TextBox.Position = UDim2.new(0, 10, 0, 110)
TextBox.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.TextSize = 18
TextBox.Font = Enum.Font.Code
TextBox.ClearTextOnFocus = false
TextBox.TextWrapped = true

local placeId = game.PlaceId
local jobId = game.JobId
local placeName = game:GetService("MarketplaceService"):GetProductInfo(placeId).Name

local joinString = ('Roblox.GameLauncher.joinGameInstance(%s, "%s");'):format(placeId, jobId)

Info.Text = "Current Place: " .. placeName ..
            "\nPlaceId: " .. placeId ..
            "\nJobId: " .. jobId

TextBox.Text = joinString

if setclipboard then
	setclipboard(joinString)
end

local dragging = false
local dragStart, startPos

Frame.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 then
		dragging = true
		dragStart = input.Position
		startPos = Frame.Position
	end
end)

Frame.InputChanged:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseMovement and dragging then
		local delta = input.Position - dragStart
		Frame.Position = UDim2.new(
			startPos.X.Scale, startPos.X.Offset + delta.X,
			startPos.Y.Scale, startPos.Y.Offset + delta.Y
		)
	end
end)

game:GetService("UserInputService").InputEnded:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 then
		dragging = false
	end
end)

Features & Information

Link is automatically copied when executed Just paste the copied link to your browser Might not work with mobile copy currently placeid and job id of your server and make it can work with browser link paste trust me
#universal

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts