Advertisement
XZTablets

CopyCat 1.2b

Jun 24th, 2023
1,188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. local File = 'art_1.txt'; -- put the name of the file you saved the art as i.e. 'hiroshima.txt'
  2.  
  3. local Players     = game:GetService('Players');
  4. local Plots       = game:GetService('Workspace').Plots;
  5. local HttpService = game:GetService('HttpService');
  6.  
  7. local UI = Players.LocalPlayer.PlayerGui.MainGui.PaintFrame.GridHolder.Grid;
  8.  
  9. local FileContent = readfile(File);
  10. local Bytes = HttpService:JSONDecode(FileContent);
  11.  
  12. for _, Byte in pairs(Bytes) do
  13.     UI:FindFirstChild(_).BackgroundColor3 = Color3.fromRGB(Byte.R, Byte.G, Byte.B);
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement