Run it
Copy the script and paste it into your executor.
RS = :()
Players = :()
RunService = :()
LP = Players.LocalPlayer
ALPHA =
(v)
(v) == v.X, v.Y
(v) ==
x = v.x v.X v.Col v.col v[]
y = v.y v.Y v.Row v.row v[]
x, y
(pairsRaw, n)
list, minC, maxC = {}, .huge, -.huge
i, p (pairsRaw)
a = p.A p.a p.Start p.From p[]
b = p.B p.b p.End p.To p[]
ax, ay = (a)
bx, by = (b)
ax ay bx by
_, c ({ ax, ay, bx, by })
minC, maxC = .(minC, c), .(maxC, c)
col = p.Color p.color
list[#list + ] = { a = { x = ax, y = ay }, b = { x = bx, y = by },
color = (col) == col .((i - ) / #pairsRaw, , ) }
base = (minC >= maxC == n)
_, p (list)
p.a.x -= base; p.a.y -= base; p.b.x -= base; p.b.y -= base
list
(n, pr, requireFull)
k, owner, paths, heads, done = #pr, {}, {}, {}, {}
filled, nodes = * k,
dirs = { { , }, { -, }, { , }, { , - } }
i, p (pr)
owner[p.a.y * n + p.a.x] = i
owner[p.b.y * n + p.b.x] = i
paths[i] = { { x = p.a.x, y = p.a.y } }
heads[i] = { x = p.a.x, y = p.a.y }
(x, y) x >= y >= x < n y < n owner[y * n + x] ==
(i)
h, t, out = heads[i], pr[i].b, {}
_, d (dirs)
x, y = h.x + d[], h.y + d[]
x == t.x y == t.y
out[#out + ] = { x = x, y = y, fin = }
(x, y)
out[#out + ] = { x = x, y = y }
out
()
y = , n -
x = , n -
(x, y)
open =
_, d (dirs)
nx, ny = x + d[], y + d[]
(nx, ny) open +=
i = , k
done[i] ((heads[i].x == nx heads[i].y == ny) (pr[i].b.x == nx pr[i].b.y == ny))
open +=
open < (requireFull )
()
nodes +=
nodes >
best, bm
i = , k
done[i]
m = (i)
#m ==
bm #m < #bm best, bm = i, m
best ( requireFull) filled == n * n
requireFull ()
_, m (bm)
m.fin
done[best] =
paths[best][#paths[best] + ] = { x = m.x, y = m.y }
()
.(paths[best]); done[best] =
old = heads[best]
owner[m.y * n + m.x] = best; filled +=
heads[best] = { x = m.x, y = m.y }
paths[best][#paths[best] + ] = heads[best]
()
.(paths[best]); heads[best] = old
owner[m.y * n + m.x] = ; filled -=
() paths
(container, n)
n
pick, pa
_, d (container:())
d:() #d:() >= n * n
s = d.AbsoluteSize
.(s.X - s.Y) < ( pa s.X * s.Y < pa) pick, pa = d, s.X * s.Y
pick pick
best, area = ,
_, d (container:())
d:()
s = d.AbsoluteSize
s.X > .(s.X - s.Y) < s.X * s.Y > area s.X * s.Y < container.AbsoluteSize.X * container.AbsoluteSize.Y *
best, area = d, s.X * s.Y
best
(gui, n, pr, paths)
board
_ = ,
board = (gui.Container)
board
.()
board
overlay = .()
overlay.Name =
overlay.BackgroundTransparency =
overlay.ZIndex =
overlay.Parent = gui
i, path (paths)
_, c (path)
cell = .()
cell.BorderSizePixel =
cell.BackgroundColor3 = pr[i].color
cell.BackgroundTransparency = ALPHA
cell.ZIndex =
cell.Size = .( / n, / n)
cell.Position = .(c.x / n, c.y / n)
cell.Parent = overlay
conn
conn = RunService.RenderStepped:(()
gui.Parent conn:()
p = board.AbsolutePosition - gui.AbsolutePosition
overlay.Position = .(p.X, p.Y)
overlay.Size = .(board.AbsoluteSize.X, board.AbsoluteSize.Y)
)
(gui, board, n, cell)
size = board.AbsoluteSize.X / n
pt = board.AbsolutePosition + .((cell.x + ) * size, (cell.y + ) * size)
best, ba
_, d (gui:())
d:() d.Name ~= d:()
p, s = d.AbsolutePosition, d.AbsoluteSize
s.X > s.X < size s.Y < size pt.X >= p.X pt.X <= p.X + s.X pt.Y >= p.Y pt.Y <= p.Y + s.Y
c
d:() d.ImageTransparency < c = d.ImageColor3
d.BackgroundTransparency < c = d.BackgroundColor3
c
_, _, v = c:()
v > ( ba s.X * s.Y < ba) best, ba = c, s.X * s.Y
best
(gui, n, pr, paths)
board
_ = ,
board = (gui.Container, n)
board
.()
board
overlay = .()
overlay.Name =
overlay.BackgroundTransparency =
overlay.ZIndex =
overlay.Parent = gui
u, th = / n, / n
(parent, ax, ay, bx, by, color)
f = .()
f.AnchorPoint = .(, )
f.BorderSizePixel =
f.BackgroundColor3 = color
f.ZIndex =
f.Position = .(((ax + bx) / + ) * u, ((ay + by) / + ) * u)
f.Size = .(.(ax - bx) * u + th, .(ay - by) * u + th)
c = .(); c.CornerRadius = .(, ); c.Parent = f
f.Parent = parent
i, path (paths)
col = (gui, board, n, pr[i].a) pr[i].color
grp = .()
grp.BackgroundTransparency =
grp.GroupTransparency = ALPHA
grp.Size = .(, )
grp.ZIndex =
grp.Parent = overlay
j = , #path
a, b = path[j], path[j + ] path[j]
(grp, a.x, a.y, b.x, b.y, col)
conn
conn = RunService.RenderStepped:(()
gui.Parent conn:()
p = board.AbsolutePosition - gui.AbsolutePosition
overlay.Position = .(p.X, p.Y)
overlay.Size = .(board.AbsoluteSize.X, board.AbsoluteSize.Y)
)
()
_, g (LP.PlayerGui:())
g:() g:() g
(moduleName, onStarted)
ok, mod = (()
(RS.Systems.Player.Game.Minigames[moduleName])
)
ok ( .. moduleName)
origSession = mod.Session
(mod, , (self, id, props)
s = (self, id, props)
origStart = s.Start
s.Start = (me, ...)
(me, ...)
.(()
gui
_ = , gui = () gui .()
gui (me, gui)
)
s
)
(, (s, gui)
P = s.Network.Properties
n = P:()
pr, raw = {}, P:()
i, p (raw)
(idx) { x = (idx - ) % n, y = (idx - ) // n }
pr[i] = { a = (p[]), b = (p[]), color = .((i - ) / #raw, , ) }
paths = (n, pr, ) (n, pr, )
paths (gui, n, pr, paths) ()
)
(gui, board, onFrame)
overlay = .()
overlay.Name =
overlay.BackgroundTransparency =
overlay.ZIndex =
overlay.Parent = gui
conn
conn = RunService.RenderStepped:(()
gui.Parent conn:()
p = board.AbsolutePosition - gui.AbsolutePosition
overlay.Position = .(p.X, p.Y)
overlay.Size = .(board.AbsoluteSize.X, board.AbsoluteSize.Y)
onFrame (overlay.AbsoluteSize)
)
overlay
(gui)
_ = ,
b = (gui.Container)
b b
.()
CB = (RS.Modules.Minigames.ConnectBoard)
(, (s, gui)
P = s.Network.Properties
blobs = P:()
layout = CB.(#blobs, P:())
cb = CB.(blobs)
board = (gui)
board
lines = {}
overlay = (gui, board, (S)
_, l (lines)
a, b = l.a * S, l.b * S
d = b - a
l.f.Size = .(d.Magnitude, )
l.f.Position = .((a.X + b.X) / , (a.Y + b.Y) / )
l.f.Rotation = .(.(d.Y, d.X))
)
(i)
l = layout[i]
l.Side == .(l.Along, )
l.Side == .(, l.Along)
l.Side == .(l.Along, )
.(, l.Along)
i = , #blobs
m = cb:(i)
m i < m
c = (blobs[i]) == blobs[i] .((blobs[i] * ) % , , )
f = .()
f.AnchorPoint = .(, )
f.BorderSizePixel =
f.BackgroundColor3 = c
f.BackgroundTransparency = ALPHA
f.ZIndex =
f.Parent = overlay
lines[#lines + ] = { f = f, a = (i), b = (m) }
)
LB = (RS.Modules.Minigames.LockBoard)
(, (s, gui)
P = s.Network.Properties
shadow = LB.(P:())
(st)
(st) == (st.Presses) == st.Presses >= shadow.State.Presses
shadow:(st)
(P:())
P:(, sync)
board = (gui)
board
flash = .()
flash.Size = .(, )
flash.BackgroundColor3 = .(, , )
flash.BackgroundTransparency =
flash.BorderSizePixel =
flash.ZIndex =
dot = .()
dot.Size = .(, )
dot.AnchorPoint = .(, )
dot.BackgroundColor3 = .(, , )
dot.BackgroundTransparency = ALPHA
dot.ZIndex =
c = .(); c.CornerRadius = .(, ); c.Parent = dot
overlay = (gui, board, (S)
a = .(shadow.State.Target)
r = S.X *
dot.Position = .(S.X / + .(a) * r, S.Y / - .(a) * r)
on = shadow:(shadow:(:()))
flash.BackgroundTransparency = on ALPHA
)
flash.Parent = overlay
dot.Parent = overlay
)
()vibecoded cuz why not
Stay safe
Never paste your .ROBLOSECURITY cookie anywhere, and use an alt account with scripts.

Universal