Color By Number Script | NEAR INSTANT AUTO PAINTER

Created by CraX#7341

Features:

  • NEAR INSTANT AUTO PAINTER
-- Huge shoutout and thanks to Votteq https://v3rmillion.net/showthread.php?tid=1164422
function GetOwner()
local stringy

for i,v in pairs(game:GetService("Workspace").Map.Blocks:GetDescendants()) do
if v.Name == "OwnerFace" and v.Parent.Name == "SpawnLocation" then 
if v:FindFirstChild("SurfaceGui"):FindFirstChild("ImageLabel").Image == tostring("rbxthumb://type=AvatarHeadShot&id="..game:GetService("Players").LocalPlayer.UserId.."&w=420&h=420") then
stringy = tostring("rbxthumb://type=AvatarHeadShot&id="..game:GetService("Players").LocalPlayer.UserId.."&w=420&h=420")
end
end
end

for i,v in pairs(game:GetService("Workspace").Map.Blocks:GetDescendants()) do
if v.Name == "OwnerFace" and v.Parent.Name == "SpawnLocation" then 
if v:FindFirstChild("SurfaceGui"):FindFirstChild("ImageLabel").Image == stringy then
stringy = v
end
end
end
return stringy.Parent.Parent
end

local usrPlot = GetOwner()

local R = false

function Build()
   if R == false then 
       R = true
   local remote = game:GetService("ReplicatedStorage").Knit.Services.PixelGeneratorService.RF.DrawPixel
   for i,v in pairs(usrPlot:WaitForChild("Draw"):GetChildren()) do -- Replace WaitForChild with FindFirstChild if you want it to be per-execute
       task.spawn(function()
   if v.Name == "Part" and v:WaitForChild("Texture").Transparency == 0 then
       v:FindFirstChild("Texture").Transparency = 0.1 -- To avoid re-painting this and lagging out
           task.wait(math.random(0,15)) -- I suggest leaving the max on 15. Lower may lag out, higher will take too long.
   remote:InvokeServer(v)
   end
       end)
   end
   end
   R = false
end

function IsNoSurvivors()
   local te = 0
   for i,v in pairs(GetOwner().Draw:GetChildren()) do
if v.Name == "Part" and v:FindFirstChild("Texture") then
if v.Name == "Part" and v:FindFirstChild("Texture").Transparency ~= 0.75 or v:FindFirstChild("Texture").Transparency ~= 0 then
te = te + 1
end
end
end
   return te
end

while IsNoSurvivors() ~= 0 do
task.wait()
Build()
end

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

More Scripts!

TOP 10 TRENDING SCRIPTS