local w=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local f=game.Players.LocalPlayer:GetMouse()local Q=false local I=script.Parent.CanvasFrame local n=script.Parent.BrushSettingsFrame local s=I.Cursor local O=false local B=10 local v=Color3.fromRGB(0,0,0)n.BrushButton.BackgroundColor3=Color3.fromRGB(200,200,200)n.ColorBox.Text=math.floor(v.R*255+.5)..("\044 "..(math.floor(v.G*255+.5)..("\044 "..math.floor(v.B*255+.5))))n.PaintImage.Size=UDim2.new(0,B,0,B)n.PaintImage.ImageColor3=v local e=Instance.new("\070\111\108\100\101\114",I)
--Variables
local uis = game:GetService("UserInputService")

local mouse = game.Players.LocalPlayer:GetMouse()
local down = false

local canvas = script.Parent.CanvasFrame
local brushSettings = script.Parent.BrushSettingsFrame

local cursor = canvas.Cursor

local erasing = false
local currentSize = 10
local currentColor = Color3.fromRGB(0, 0, 0)

brushSettings.BrushButton.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
brushSettings.ColorBox.Text = math.floor(currentColor.R * 255 + 0.5)
	.. ", "
	.. math.floor(currentColor.G * 255 + 0.5)
	.. ", "
	.. math.floor(currentColor.B * 255 + 0.5)
brushSettings.PaintImage.Size = UDim2.new(0, currentSize, 0, currentSize)
brushSettings.PaintImage.ImageColor3 = currentColor

local paintContainer = Instance.new("Folder", canvas)
