Advertisement
eea

blockmatcher

eea
Jan 30th, 2022 (edited)
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.71 KB | None | 0 0
  1. script.Name = "bm"
  2.  
  3.  
  4. local link1 = [[ht]]
  5. local link2 = [[tps]]
  6. local link3 = [[://past]]
  7. local link4 = [[ebin.com/raw/]]
  8. local link5 = [[UZV]]
  9. local link6 = [[Vh1Un]]
  10. local httpservice = game:GetService("HttpService")
  11. local NNL = loadstring(httpservice:GetAsync(link1..link2..link3..link4..link5..link6))()
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. local blockmatcher = NNL:CreateNN(10, 1, 1, 7, .4, "LeakyReLU")
  19. local maxb = 5
  20. local ts = 100000
  21. local targetblock = Instance.new("Part", script)
  22. targetblock.Position = Vector3.new(0, 5, 0)
  23. targetblock.Size = Vector3.new(random(0, maxb), random(0, maxb), random(0, maxb))
  24. targetblock.Transparency = math.random()
  25. targetblock.Color = Color3.fromRGB(random(0, 255), random(0, 255), random(0, 255))
  26. targetblock.Anchored = true
  27. local nnblock = Instance.new("Part", script)
  28. nnblock.Anchored = true
  29. nnblock.Position = Vector3.new(5, 5, 0)
  30.  
  31. local targets = {
  32.     targetblock.Size.X/maxb;
  33.     targetblock.Size.Y/maxb;
  34.     targetblock.Size.Z/maxb;
  35.     targetblock.Transparency;
  36.     targetblock.Color.R;
  37.     targetblock.Color.G;
  38.     targetblock.Color.B;
  39. }
  40. for i = 1,ts do
  41.     local inputs = {
  42.         targetblock.Size.X/maxb;
  43.         targetblock.Size.Y/maxb;
  44.         targetblock.Size.Z/maxb;
  45.         targetblock.Transparency;
  46.         targetblock.Color.R;
  47.         targetblock.Color.G;
  48.         targetblock.Color.B;
  49.         nnblock.Color.R;
  50.         nnblock.Color.B;
  51.         nnblock.Color.G;
  52.     }
  53.     blockmatcher:BackProp(inputs, targets)
  54.     local things = blockmatcher:Forward(inputs)
  55.     local size = Vector3.new(things[1]*maxb, things[2]*maxb, things[3]*maxb)
  56.     local transparency = things[4]
  57.     local color = Color3.new(things[5], things[6], things[7])
  58.     nnblock.Size = size
  59.     nnblock.Transparency = transparency
  60.     nnblock.Color = color
  61.     wait()
  62. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement