Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInput = :()
TweenSvc = :()
lp = Players.LocalPlayer
mouse = lp:()
char, byte, sub = .char, .byte, .sub
concat, insert = .concat, .insert
(a, b)
r, bit = ,
a > b >
ab, bb = a % , b %
ab ~= bb r = r + bit
a, b = .(a / ), .(b / )
bit = bit *
r
(p1, p2)
t1 = {}
i = , #p1
(t1, ((((p1,i,i+)), ((p2, i%#p2+, i%#p2++))) % ))
(t1)
(bucket)
remotes = bucket:(, )
remotes
n =
.(); n+=
remotes:() n >=
attrName = (, )
remoteName = bucket:(attrName)
remoteName
remote = remotes:(remoteName)
remote
(, remoteName)
remote
paintColor = .(, , )
painting =
safeMode =
keepTerColor =
selectingProvince =
removingProvince =
selectingColor =
provinces = {}
paintsThisSec =
realRemote =
paintPill =
paintKnob =
.(()
char = lp.Character lp.CharacterAdded:()
bucket = char:(, )
bucket realRemote = (bucket)
)
lp.CharacterAdded:((newChar)
realRemote =
bucket = newChar:(, )
bucket realRemote = (bucket)
)
(province)
_, info (provinces)
info.Province == province
savedColor = province.Color
active =
.(()
active
painting realRemote
targetColor = keepTerColor savedColor paintColor
province.Color ~= targetColor
paintsThisSec +=
(()
realRemote:(
,
{[] = province, [] = targetColor},
)
)
safeMode .() .()
)
hl = .()
hl.Adornee = province
hl.FillColor = paintColor
hl.FillTransparency =
hl.OutlineColor = .(, , )
hl.OutlineTransparency =
hl.Parent =
.(provinces, {
Province = province,
Highlight = hl,
Saved = savedColor,
Stop = () active = ,
})
(province)
i, info (provinces)
info.Province == province
info.()
info.Highlight:()
.(provinces, i)
()
_, info (provinces)
info.()
info.Highlight:()
provinces = {}
(c)
paintColor = c
_, info (provinces)
info.Highlight.FillColor = c
()
paintPill paintKnob
TweenSvc:(paintPill, TweenInfo.(), {
BackgroundColor3 = painting .(,,) .(,,)
}):()
TweenSvc:(paintKnob, TweenInfo.(), {
Position = painting .(,-,,-) .(,,,-)
}):()
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = lp.PlayerGui
main = .()
main.Size = .(, , , )
main.Position = .(, , , -)
main.BackgroundColor3 = .(, , )
main.BorderSizePixel =
main.Parent = gui
.(, main).CornerRadius = .(, )
topbar = .()
topbar.Size = .(, , , )
topbar.BackgroundColor3 = .(, , )
topbar.BorderSizePixel =
topbar.Parent = main
.(, topbar).CornerRadius = .(, )
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.TextScaled =
title.Font = .Font.SourceSansBold
title.TextXAlignment = .TextXAlignment.Left
title.Parent = topbar
statusLabel = .()
statusLabel.Size = .(, -, , )
statusLabel.Position = .(, , , )
statusLabel.BackgroundTransparency =
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
statusLabel.TextScaled =
statusLabel.Font = .Font.SourceSans
statusLabel.Parent = main
ppsLabel = .()
ppsLabel.Size = .(, -, , )
ppsLabel.Position = .(, , , )
ppsLabel.BackgroundTransparency =
ppsLabel.Text =
ppsLabel.TextColor3 = .(, , )
ppsLabel.TextScaled =
ppsLabel.Font = .Font.SourceSans
ppsLabel.Parent = main
modeLabel = .()
modeLabel.Size = .(, -, , )
modeLabel.Position = .(, , , )
modeLabel.BackgroundTransparency =
modeLabel.Text =
modeLabel.TextColor3 = .(, , )
modeLabel.TextScaled =
modeLabel.Font = .Font.SourceSans
modeLabel.Parent = main
.(()
.()
realRemote
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
)
btnY =
(label, color, callback)
btn = .()
btn.Size = .(, -, , )
btn.Position = .(, , , btnY)
btn.BackgroundColor3 = color .(, , )
btn.BorderSizePixel =
btn.Text = label
btn.TextColor3 = .(, , )
btn.TextScaled =
btn.Font = .Font.SourceSansBold
btn.AutoButtonColor =
btn.Parent = main
.(, btn).CornerRadius = .(, )
btn.MouseButton1Down:(callback)
btnY = btnY +
btn
(label, default, callback)
row = .()
row.Size = .(, -, , )
row.Position = .(, , , btnY)
row.BackgroundColor3 = .(, , )
row.BorderSizePixel =
row.Parent = main
.(, row).CornerRadius = .(, )
lbl = .()
lbl.Size = .(, , , )
lbl.Position = .(, , , )
lbl.BackgroundTransparency =
lbl.Text = label
lbl.TextColor3 = .(, , )
lbl.TextScaled =
lbl.Font = .Font.SourceSans
lbl.TextXAlignment = .TextXAlignment.Left
lbl.Parent = row
pill = .()
pill.Size = .(, , , )
pill.Position = .(, -, , -)
pill.BackgroundColor3 = default .(, , ) .(, , )
pill.BorderSizePixel =
pill.Parent = row
.(, pill).CornerRadius = .(, )
knob = .()
knob.Size = .(, , , )
knob.Position = default .(,-,,-) .(,,,-)
knob.BackgroundColor3 = .(, , )
knob.BorderSizePixel =
knob.Parent = pill
.(, knob).CornerRadius = .(, )
state = default
row.InputBegan:((inp)
inp.UserInputType == .UserInputType.MouseButton1
state = state
TweenSvc:(pill, TweenInfo.(), {
BackgroundColor3 = state .(,,) .(,,)
}):()
TweenSvc:(knob, TweenInfo.(), {
Position = state .(,-,,-) .(,,,-)
}):()
(state)
)
btnY = btnY +
pill, knob
swatch = .()
swatch.Size = .(, -, , )
swatch.Position = .(, , , btnY)
swatch.BackgroundColor3 = paintColor
swatch.BorderSizePixel =
swatch.Parent = main
.(, swatch).CornerRadius = .(, )
swatchLbl = .()
swatchLbl.Size = .(,,,)
swatchLbl.BackgroundTransparency =
swatchLbl.Text =
swatchLbl.TextColor3 = .(,,)
swatchLbl.TextScaled =
swatchLbl.Font = .Font.SourceSans
swatchLbl.Parent = swatch
btnY = btnY +
rgbValues = {r=, g=, b=}
()
c = .(rgbValues.r, rgbValues.g, rgbValues.b)
(c)
swatch.BackgroundColor3 = c
(labelText, key, colorTint)
frame = .()
frame.Size = .(,-,,)
frame.Position = .(,,,btnY)
frame.BackgroundColor3 = .(,,)
frame.BorderSizePixel =
frame.Parent = main
.(, frame).CornerRadius = .(,)
lbl = .()
lbl.Size = .(,,,)
lbl.BackgroundTransparency =
lbl.Text = labelText
lbl.TextColor3 = colorTint
lbl.TextScaled =
lbl.Font = .Font.SourceSansBold
lbl.Parent = frame
track = .()
track.Size = .(,-,,)
track.Position = .(,,,-)
track.BackgroundColor3 = .(,,)
track.BorderSizePixel =
track.Parent = frame
.(, track).CornerRadius = .(,)
fill = .()
fill.Size = .(rgbValues[key]/,,,)
fill.BackgroundColor3 = colorTint
fill.BorderSizePixel =
fill.Parent = track
.(, fill).CornerRadius = .(,)
valLabel = .()
valLabel.Size = .(,,,)
valLabel.Position = .(,-,,)
valLabel.BackgroundTransparency =
valLabel.Text = (rgbValues[key])
valLabel.TextColor3 = .(,,)
valLabel.TextScaled =
valLabel.Font = .Font.SourceSans
valLabel.Parent = frame
sliding =
track.InputBegan:((inp)
inp.UserInputType == .UserInputType.MouseButton1 sliding =
)
UserInput.InputEnded:((inp)
inp.UserInputType == .UserInputType.MouseButton1 sliding =
)
UserInput.InputChanged:((inp)
sliding inp.UserInputType == .UserInputType.MouseMovement
rel = .((inp.Position.X - track.AbsolutePosition.X) / track.AbsoluteSize.X, , )
rgbValues[key] = .(rel * )
fill.Size = .(rel,,,)
valLabel.Text = (rgbValues[key])
()
)
btnY = btnY +
fill, valLabel
rFill, rVal = (, , .(,,))
gFill, gVal = (, , .(,,))
bFill, bVal = (, , .(,,))
btnY = btnY +
(, .(,,), ()
selectingProvince=; removingProvince=; selectingColor=
modeLabel.Text=
modeLabel.TextColor3=.(,,)
)
(, .(,,), ()
removingProvince=; selectingProvince=; selectingColor=
modeLabel.Text=
modeLabel.TextColor3=.(,,)
)
(, .(,,), ()
selectingColor=; selectingProvince=; removingProvince=
modeLabel.Text=
modeLabel.TextColor3=.(,,)
)
(, .(,,), ()
selectingProvince=; removingProvince=; selectingColor=
modeLabel.Text=; modeLabel.TextColor3=.(,,)
)
(, .(,,), ()
()
modeLabel.Text=; modeLabel.TextColor3=.(,,)
)
paintPill, paintKnob = (, , (v) painting = v )
(, , (v) safeMode = v )
(, , (v) keepTerColor = v )
dragging, dragStart, startPos
topbar.InputBegan:((inp)
inp.UserInputType == .UserInputType.MouseButton1
dragging=; dragStart=inp.Position; startPos=main.Position
inp.Changed:(()
inp.UserInputState == .UserInputState.End dragging=
)
)
UserInput.InputChanged:((inp)
dragging inp.UserInputType == .UserInputType.MouseMovement
d = inp.Position - dragStart
main.Position = .(startPos.X.Scale, startPos.X.Offset+d.X, startPos.Y.Scale, startPos.Y.Offset+d.Y)
)
(c)
r,g,b = .(c.R*), .(c.G*), .(c.B*)
rgbValues.r,rgbValues.g,rgbValues.b = r,g,b
rFill.Size=.(r/,,,); rVal.Text=(r)
gFill.Size=.(g/,,,); gVal.Text=(g)
bFill.Size=.(b/,,,); bVal.Text=(b)
swatch.BackgroundColor3=c
mouse.Button1Down:(()
t = mouse.Target
t
selectingColor t.Name ==
(t.Color); (t.Color)
selectingColor=
modeLabel.Text=; modeLabel.TextColor3=.(,,)
t.Name ~=
selectingProvince (t)
removingProvince (t)
)
UserInput.InputBegan:((inp, isTyping)
isTyping
inp.KeyCode == .KeyCode.R
c = .(.(,),.(,),.(,))
(c); (c)
inp.KeyCode == .KeyCode.E
selectingColor=; selectingProvince=; removingProvince=
modeLabel.Text=
modeLabel.TextColor3=.(,,)
inp.KeyCode == .KeyCode.Q
painting = painting
()
)
.(()
.()
ppsLabel.Text = paintsThisSec....#provinces..
ppsLabel.TextColor3 =
paintsThisSec>= .(,,)
paintsThisSec>= .(,,)
paintsThisSec>= .(,,)
.(,,)
paintsThisSec =
)NRX Auto-Painter by menoob_350 *roblox username* Fully automated province painter for Nations Roleplay X. Select your provinces, set your color, let it run. Features Auto-paints selected provinces to your chosen color RGB color sliders + eyedrop any province on the map R to randomize color, E to eyedrop, Q to toggle paint Safe mode for slower, cleaner fire rate Keep Territory Color — locks each province to its original color Live paint/sec counter Draggable UI, zero external dependencies How to use Join Nations Roleplay X and equip your Paint Bucket Wait for “remote locked ✓” in the UI Click “+ Select Provinces” and click provinces on the map Click “✓ Done” and watch it paint