Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local File = 'art_1.txt'; -- put the name of the file you saved the art as i.e. 'hiroshima.txt'
- local Players = game:GetService('Players');
- local Plots = game:GetService('Workspace').Plots;
- local HttpService = game:GetService('HttpService');
- local UI = Players.LocalPlayer.PlayerGui.MainGui.PaintFrame.GridHolder.Grid;
- local FileContent = readfile(File);
- local Bytes = HttpService:JSONDecode(FileContent);
- for _, Byte in pairs(Bytes) do
- UI:FindFirstChild(_).BackgroundColor3 = Color3.fromRGB(Byte.R, Byte.G, Byte.B);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement