_G.Enabled = true
if not _G.Enabled then
d()
end
local camera = game.Workspace.CurrentCamera
local screensize = camera.ViewportSize
local updater = game:GetService("ReplicatedStorage").CustomiseBooth
function update(text)
local args = {
[1] = "Update",
[2] = {
["DescriptionText"] = text,
["ImageId"] = 0
}
}
updater:FireServer(unpack(args))
end
local shirtpooll = {"๐ง", "๐", "๐", "๐"}
local shirtpool = {
["๐ง"] = "๐",
["๐"] = "๐ด",
["๐"] = "๐ณ",
["๐"] = "๐ต",
}
local colours = {
["๐ค"] = {0, 0, 0},
["๐ฟ"] = {192, 192, 192},
["๐"] = {128, 128, 128},
["๐ค"] = {255, 255, 255},
["๐"]= {128, 0, 0},
["โค๏ธ"] = {255, 0, 0},
["๐"] = {128, 0, 128},
["๐ธ"] = {255, 0, 255},
["๐ณ"] = {0, 128, 0},
["๐"] = {0, 255, 0},
["๐ฆ"] = {128, 128, 0},
["๐"] = {255, 255, 0},
["๐ต"] = {0, 0, 128},
["๐"] = {0, 0, 255},
["๐งช"] = {0, 128, 128},
["๐"] = {0, 255, 255},
}
function getcolorforrange(r, g, b)
local closestint = 100000000000000000
local closestcolour = ""
for i, colour in pairs(colours) do
local totalint = ((r - colour[1])^2) + ((g - colour[2])^2) + ((b - colour[3])^2) ^ (1/2)
if totalint < closestint then
closestint = totalint
closestcolour = i
end
end
return closestcolour
end
local mx = 61
local my = 30
while _G.Enabled do
local topost = ""
for y=1, screensize.y, math.floor(screensize.y / my) do
for x=1, screensize.x, math.floor(screensize.x / mx) do
local ray = camera:ScreenPointToRay(x, y)
local rayResult = game.Workspace:Raycast(ray.Origin, ray.Direction * 5000)
local rc
if rayResult then
local ri = rayResult.Instance
if ri.Parent:FindFirstChild("Shirt") then
if ri.Parent:FindFirstChild("snes") then
local