Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --local owner = game.Players:WaitForChild("Memo1332")
- local siz = 12
- Instance.new("Folder",workspace).Name = "Paintinggg"
- local function bop(g)
- local folder = workspace:FindFirstChild("Paintinggg")
- if folder == nil then folder = Instance.new("Folder",workspace) folder.Name = "Paintinggg" end
- local cf = owner.Character.Head.CFrame
- local x = #g[1]
- local y = #g
- local size = siz/x
- print(x,y)
- for i,v in pairs(g) do
- for ii=1,#v do
- local vv = v[(#v-ii)+1]
- vv = v[ii]
- local part = Instance.new("FlagStand",folder)
- part.TouchInterest:Destroy()
- part.Size = Vector3.new(size,size,size)
- part.Material = Enum.Material.SmoothPlastic
- part.Color = Color3.fromRGB(vv[1],vv[2],vv[3])
- part.CFrame = cf * CFrame.new(math.floor((x*size)/2)-((ii-1)*size),(math.floor((y*size)/2)-((i-1)*size)+(owner.Character.Head.Size.Y*1.5)+((y*size)/2)),0)
- part.Anchored = true
- end
- wait()
- end
- end
- owner.Chatted:Connect(function(msg)
- if string.lower(string.sub(msg,1,7)) == ";image " then
- local http = game:GetService("HttpService")
- local js = http:GetAsync(string.sub(msg,8))
- bop(http:JSONDecode(js))
- elseif string.lower(string.sub(msg,1,6)) == ";size " then
- siz = tonumber(string.sub(msg,7))
- elseif string.lower(msg) == ";clr" then
- if workspace:FindFirstChild("Paintinggg") ~= nil then
- workspace:FindFirstChild("Paintinggg"):ClearAllChildren()
- end
- end
- end)
Add Comment
Please, Sign In to add comment