csmit195

html library

Jun 14th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.18 KB | None | 0 0
  1. local doc = loadstring(game:HttpGet("https://pastebin.com/raw/LPbHbiiV", true))()
  2.  
  3. setmetatable(_G,{
  4.   __index = function(t,name)
  5.     _G[name] = doc.tags(name)
  6.     return _G[name]
  7.   end
  8. })
  9.  
  10. table_,html_ = doc.tags 'table,html'
  11.  
  12. function html(spec)
  13.   local d = doc.tostring(html_(spec),'',' ')
  14.   local name
  15.   if arg then -- not interactive
  16.     name = arg[0]:match('([%w_%-]+)%.lua')
  17.   end
  18.   if name then
  19.     local f = io.open(name..'.html','w')
  20.     f:write(d)
  21.     f:close()
  22.   else
  23.     print(d)
  24.   end
  25. end
  26.  
  27. --[[local CoreGui = game:GetService('CoreGui')
  28.  
  29. local ScreenGui = Instance.new("ScreenGui") -- Old: randomstring
  30.     ScreenGui.Name = "ScreenGui"
  31.     ScreenGui.Parent = s_CoreGui
  32.     ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  33.  
  34. local vf = Instance.new("ViewportFrame", script.Parent)
  35. vf.Size = UDim2.new(0.5, 0, 0.5, 0)
  36. vf.Position = UDim2.new(0.25, 0, 0.25, 0)
  37. vf.BackgroundColor3 = Color3.new(1, 1, 1)
  38.  
  39. local part = Instance.new("Part", vf)
  40. part.Position = Vector3.new(0, 0, 0)
  41.  
  42. local camera = Instance.new("Camera", vf)
  43. vf.CurrentCamera = camera
  44.  
  45. local cameraPosition = Vector3.new(3, 3, 3)
  46. camera.CFrame = CFrame.new(cameraPosition, part.Position)]]
Advertisement
Add Comment
Please, Sign In to add comment