TheFakeFew

Visualizer

Mar 4th, 2023 (edited)
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.78 KB | None | 0 0
  1. task.wait()
  2. -- Converted using Mokiros's Model to Script Version 3
  3. -- Converted string size: 1656 characters
  4. local function Decode(str)
  5.     local StringLength = #str
  6.  
  7.     -- Base64 decoding
  8.     do
  9.         local decoder = {}
  10.         for b64code, char in pairs(('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='):split('')) do
  11.             decoder[char:byte()] = b64code-1
  12.         end
  13.         local n = StringLength
  14.         local t,k = table.create(math.floor(n/4)+1),1
  15.         local padding = str:sub(-2) == '==' and 2 or str:sub(-1) == '=' and 1 or 0
  16.         for i = 1, padding > 0 and n-4 or n, 4 do
  17.             local a, b, c, d = str:byte(i,i+3)
  18.             local v = decoder[a]*0x40000 + decoder[b]*0x1000 + decoder[c]*0x40 + decoder[d]
  19.             t[k] = string.char(bit32.extract(v,16,8),bit32.extract(v,8,8),bit32.extract(v,0,8))
  20.             k = k + 1
  21.         end
  22.         if padding == 1 then
  23.             local a, b, c = str:byte(n-3,n-1)
  24.             local v = decoder[a]*0x40000 + decoder[b]*0x1000 + decoder[c]*0x40
  25.             t[k] = string.char(bit32.extract(v,16,8),bit32.extract(v,8,8))
  26.         elseif padding == 2 then
  27.             local a, b = str:byte(n-3,n-2)
  28.             local v = decoder[a]*0x40000 + decoder[b]*0x1000
  29.             t[k] = string.char(bit32.extract(v,16,8))
  30.         end
  31.         str = table.concat(t)
  32.     end
  33.  
  34.     local Position = 1
  35.     local function Parse(fmt)
  36.         local Values = {string.unpack(fmt,str,Position)}
  37.         Position = table.remove(Values)
  38.         return table.unpack(Values)
  39.     end
  40.  
  41.     local Settings = Parse('B')
  42.     local Flags = Parse('B')
  43.     Flags = {
  44.         --[[ValueIndexByteLength]] bit32.extract(Flags,6,2)+1,
  45.         --[[InstanceIndexByteLength]] bit32.extract(Flags,4,2)+1,
  46.         --[[ConnectionsIndexByteLength]] bit32.extract(Flags,2,2)+1,
  47.         --[[MaxPropertiesLengthByteLength]] bit32.extract(Flags,0,2)+1,
  48.         --[[Use Double instead of Float]] bit32.band(Settings,0b1) > 0
  49.     }
  50.  
  51.     local ValueFMT = ('I'..Flags[1])
  52.     local InstanceFMT = ('I'..Flags[2])
  53.     local ConnectionFMT = ('I'..Flags[3])
  54.     local PropertyLengthFMT = ('I'..Flags[4])
  55.  
  56.     local ValuesLength = Parse(ValueFMT)
  57.     local Values = table.create(ValuesLength)
  58.     local CFrameIndexes = {}
  59.  
  60.     local ValueDecoders = {
  61.         --!!Start
  62.         [1] = function(Modifier)
  63.             return Parse('s'..Modifier)
  64.         end,
  65.         --!!Split
  66.         [2] = function(Modifier)
  67.             return Modifier ~= 0
  68.         end,
  69.         --!!Split
  70.         [3] = function()
  71.             return Parse('d')
  72.         end,
  73.         --!!Split
  74.         [4] = function(_,Index)
  75.             table.insert(CFrameIndexes,{Index,Parse(('I'..Flags[1]):rep(3))})
  76.         end,
  77.         --!!Split
  78.         [5] = {CFrame.new,Flags[5] and 'dddddddddddd' or 'ffffffffffff'},
  79.         --!!Split
  80.         [6] = {Color3.fromRGB,'BBB'},
  81.         --!!Split
  82.         [7] = {BrickColor.new,'I2'},
  83.         --!!Split
  84.         [8] = function(Modifier)
  85.             local len = Parse('I'..Modifier)
  86.             local kpts = table.create(len)
  87.             for i = 1,len do
  88.                 kpts[i] = ColorSequenceKeypoint.new(Parse('f'),Color3.fromRGB(Parse('BBB')))
  89.             end
  90.             return ColorSequence.new(kpts)
  91.         end,
  92.         --!!Split
  93.         [9] = function(Modifier)
  94.             local len = Parse('I'..Modifier)
  95.             local kpts = table.create(len)
  96.             for i = 1,len do
  97.                 kpts[i] = NumberSequenceKeypoint.new(Parse(Flags[5] and 'ddd' or 'fff'))
  98.             end
  99.             return NumberSequence.new(kpts)
  100.         end,
  101.         --!!Split
  102.         [10] = {Vector3.new,Flags[5] and 'ddd' or 'fff'},
  103.         --!!Split
  104.         [11] = {Vector2.new,Flags[5] and 'dd' or 'ff'},
  105.         --!!Split
  106.         [12] = {UDim2.new,Flags[5] and 'di2di2' or 'fi2fi2'},
  107.         --!!Split
  108.         [13] = {Rect.new,Flags[5] and 'dddd' or 'ffff'},
  109.         --!!Split
  110.         [14] = function()
  111.             local flags = Parse('B')
  112.             local ids = {"Top","Bottom","Left","Right","Front","Back"}
  113.             local t = {}
  114.             for i = 0,5 do
  115.                 if bit32.extract(flags,i,1)==1 then
  116.                     table.insert(t,Enum.NormalId[ids[i+1]])
  117.                 end
  118.             end
  119.             return Axes.new(unpack(t))
  120.         end,
  121.         --!!Split
  122.         [15] = function()
  123.             local flags = Parse('B')
  124.             local ids = {"Top","Bottom","Left","Right","Front","Back"}
  125.             local t = {}
  126.             for i = 0,5 do
  127.                 if bit32.extract(flags,i,1)==1 then
  128.                     table.insert(t,Enum.NormalId[ids[i+1]])
  129.                 end
  130.             end
  131.             return Faces.new(unpack(t))
  132.         end,
  133.         --!!Split
  134.         [16] = {PhysicalProperties.new,Flags[5] and 'ddddd' or 'fffff'},
  135.         --!!Split
  136.         [17] = {NumberRange.new,Flags[5] and 'dd' or 'ff'},
  137.         --!!Split
  138.         [18] = {UDim.new,Flags[5] and 'di2' or 'fi2'},
  139.         --!!Split
  140.         [19] = function()
  141.             return Ray.new(Vector3.new(Parse(Flags[5] and 'ddd' or 'fff')),Vector3.new(Parse(Flags[5] and 'ddd' or 'fff')))
  142.         end
  143.         --!!End
  144.     }
  145.  
  146.     for i = 1,ValuesLength do
  147.         local TypeAndModifier = Parse('B')
  148.         local Type = bit32.band(TypeAndModifier,0b11111)
  149.         local Modifier = (TypeAndModifier - Type) / 0b100000
  150.         local Decoder = ValueDecoders[Type]
  151.         if type(Decoder)=='function' then
  152.             Values[i] = Decoder(Modifier,i)
  153.         else
  154.             Values[i] = Decoder[1](Parse(Decoder[2]))
  155.         end
  156.     end
  157.  
  158.     for i,t in pairs(CFrameIndexes) do
  159.         Values[t[1]] = CFrame.fromMatrix(Values[t[2]],Values[t[3]],Values[t[4]])
  160.     end
  161.  
  162.     local InstancesLength = Parse(InstanceFMT)
  163.     local Instances = {}
  164.     local NoParent = {}
  165.  
  166.     for i = 1,InstancesLength do
  167.         local ClassName = Values[Parse(ValueFMT)]
  168.         local obj
  169.         local MeshPartMesh,MeshPartScale
  170.         if ClassName == "UnionOperation" then
  171.             obj = DecodeUnion(Values,Flags,Parse)
  172.             obj.UsePartColor = true
  173.         elseif ClassName:find("Script") then
  174.             obj = Instance.new("Folder")
  175.             Script(obj,ClassName=='ModuleScript')
  176.         elseif ClassName == "MeshPart" then
  177.             obj = Instance.new("Part")
  178.             MeshPartMesh = Instance.new("SpecialMesh")
  179.             MeshPartMesh.MeshType = Enum.MeshType.FileMesh
  180.             MeshPartMesh.Parent = obj
  181.         else
  182.             obj = Instance.new(ClassName)
  183.         end
  184.         local Parent = Instances[Parse(InstanceFMT)]
  185.         local PropertiesLength = Parse(PropertyLengthFMT)
  186.         local AttributesLength = Parse(PropertyLengthFMT)
  187.         Instances[i] = obj
  188.         for i = 1,PropertiesLength do
  189.             local Prop,Value = Values[Parse(ValueFMT)],Values[Parse(ValueFMT)]
  190.  
  191.             -- ok this looks awful
  192.             if MeshPartMesh then
  193.                 if Prop == "MeshId" then
  194.                     MeshPartMesh.MeshId = Value
  195.                     continue
  196.                 elseif Prop == "TextureID" then
  197.                     MeshPartMesh.TextureId = Value
  198.                     continue
  199.                 elseif Prop == "Size" then
  200.                     if not MeshPartScale then
  201.                         MeshPartScale = Value
  202.                     else
  203.                         MeshPartMesh.Scale = Value / MeshPartScale
  204.                     end
  205.                 elseif Prop == "MeshSize" then
  206.                     if not MeshPartScale then
  207.                         MeshPartScale = Value
  208.                         MeshPartMesh.Scale = obj.Size / Value
  209.                     else
  210.                         MeshPartMesh.Scale = MeshPartScale / Value
  211.                     end
  212.                     continue
  213.                 end
  214.             end
  215.  
  216.             obj[Prop] = Value
  217.         end
  218.         if MeshPartMesh then
  219.             if MeshPartMesh.MeshId=='' then
  220.                 if MeshPartMesh.TextureId=='' then
  221.                     MeshPartMesh.TextureId = 'rbxasset://textures/meshPartFallback.png'
  222.                 end
  223.                 MeshPartMesh.Scale = obj.Size
  224.             end
  225.         end
  226.         for i = 1,AttributesLength do
  227.             obj:SetAttribute(Values[Parse(ValueFMT)],Values[Parse(ValueFMT)])
  228.         end
  229.         if not Parent then
  230.             table.insert(NoParent,obj)
  231.         else
  232.             obj.Parent = Parent
  233.         end
  234.     end
  235.  
  236.     local ConnectionsLength = Parse(ConnectionFMT)
  237.     for i = 1,ConnectionsLength do
  238.         local a,b,c = Parse(InstanceFMT),Parse(ValueFMT),Parse(InstanceFMT)
  239.         Instances[a][Values[b]] = Instances[c]
  240.     end
  241.  
  242.     return NoParent
  243. end
  244.  
  245.  
  246. local Objects = Decode('AABPIQlTY3JlZW5HdWkhBE5hbWUhClZpc3VhbGl6ZXIhBUZyYW1lIQZDb3JuZXIhC0FuY2hvclBvaW50CwAAAD8AAAA/IRBCYWNrZ3JvdW5kQ29sb3IzBv///yEIUG9zaXRpb24M9ihcPwAAObRIPwAAIQRTaXplDMdLNz4FAGiRrT4FACEIVUlDb3JuZXIGQ0NDDBcm'
  247.     ..'XD8AAASoSD8AAAywEDc+AAC6zq0+AAAhB1RleHRCb3ghB0lERnJhbWUGLCwsDLZ02T4AALJHYT0AAAwnR1U/AADNzMw9AAAhBlpJbmRleAMAAAAAAAAAQCEQQ2xlYXJUZXh0T25Gb2N1cwIhDkN1cnNvclBvc2l0aW9uAwAAAAAAAPC/IQRGb250AwAAAAAAAAhAIRFQ'
  248.     ..'bGFjZWhvbGRlckNvbG9yMyEPUGxhY2Vob2xkZXJUZXh0IRNJRCA6IFZvbHVtZSA6IFBpdGNoIQRUZXh0IQAhClRleHRDb2xvcjMhClRleHRTY2FsZWQiIQhUZXh0U2l6ZQMAAAAAAAAxQCELVGV4dFdyYXBwZWQMAAAAPwAAAAAAPwAADAAAgD8CAAAAgD8CACEEUGxh'
  249.     ..'eQwxP2w/AACyR2E9AAAMcT0KPgAAzczMPQAAIQpUZXh0QnV0dG9uIQlQbGF5UGF1c2UhFkJhY2tncm91bmRUcmFuc3BhcmVuY3kDAAAAAAAA8D8MAACAPwAAAACAPwAAIQPilrYDAAAAAAAALEAMIuwAPwAAZbnuPgAADLGqfT8AABkDNj8AACEDVmlzIRBDbGlwc0Rl'
  250.     ..'c2NlbmRhbnRzDAXO/j4AAFsa/z4AAAwFzn4/AABeGn8/AAAhDFVJTGlzdExheW91dCENRmlsbERpcmVjdGlvbgMAAAAAAAAAACETSG9yaXpvbnRhbEFsaWdubWVudCEJU29ydE9yZGVyIRFWZXJ0aWNhbEFsaWdubWVudCEERGF0YQwi7AA/AAAimmk/AAAMsap9PwAA'
  251.     ..'5C4zPgAAIQlUZXh0TGFiZWwhBVRpdGxlDO///z4AADYjnD4AAAz0/38/AAA8Ixw/AAAhDlRleHRYQWxpZ25tZW50IQtEZXNjcmlwdGlvbgzv//8+AACaEU4/AAAM9P9/PwAAmLnHPgAAIRBUZXh0VHJhbnNwYXJlbmN5AwAAAAAAAOA/IQxUZXh0VHJ1bmNhdGUbAQAB'
  252.     ..'AAIDBAEFAAIFBgcICQoLDA0OAgAABAEEAAYHCA8KEAwRDgQAABIEEAACEwYHCBQKFQwWFxgZGhscHR4fCSAhIiMkCSUmJygpJg4GAAAEBgUAAgUGBwgJCioMKw4IAAAEBAYAAiwGBwgUCi0MLhcYDgoAAC8KDQACMAYHCAkxMgoqDDMXGB0eIjQkCSUmJzUpJgQKBQAC'
  253.     ..'BQYHCAkKKgwrDg0AAAQEBgACAwYHCBQKNgw3FxgODwAABA8FAAIFBgcICQoqDCsOEQAABA8IAAI4BgcICTEyOSYKOgw7Fxg8EwQAPT4/GEAYQRgOEwAABAQGAAJCBgcIFApDDEQXGA4WAAAEFgUAAgUGBwgJCioMKw4YAABFFg0AAkYGBwgJMTIKRwxIFxgdHiQJJSYn'
  254.     ..'NSkmST5FFg8AAkoGBwgJMTIKSwxMFxgdHiQJJSYnNU1OTzIpJkk+AA==')
  255. local ui = Objects[1]
  256. ui.ResetOnSpawn = false
  257. ui.Parent = owner.PlayerGui
  258. if(not owner)then
  259.     getfenv().owner = script.Parent:IsA("PlayerGui") and script.Parent.Parent or game:GetService('Players'):GetPlayerFromCharacter(script.Parent)
  260. end
  261.  
  262. local client = NLS([[task.wait() local UserInputService = game:GetService("UserInputService")
  263. local dragToggle
  264. local dragInput
  265. local dragSpeed
  266. local dragStart
  267. local dragPos
  268. local startPos
  269.  
  270. function dragify(Frame)
  271.     dragToggle = nil
  272.     dragSpeed = 0.50
  273.     dragInput = nil
  274.     dragStart = nil
  275.     dragPos = nil
  276.     local function updateInput(input)
  277.         local Delta = input.Position - dragStart
  278.         local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  279.         game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.30), {Position = Position}):Play()
  280.     end
  281.     Frame.InputBegan:Connect(function(input)
  282.         if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UserInputService:GetFocusedTextBox() == nil then
  283.             dragToggle = true
  284.             dragStart = input.Position
  285.             startPos = Frame.Position
  286.             input.Changed:Connect(function()
  287.                 if input.UserInputState == Enum.UserInputState.End then
  288.                     dragToggle = false
  289.                 end
  290.             end)
  291.         end
  292.     end)
  293.     Frame.InputChanged:Connect(function(input)
  294.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  295.             dragInput = input
  296.         end
  297.     end)
  298.     game:GetService("UserInputService").InputChanged:Connect(function(input)
  299.         if input == dragInput and dragToggle then
  300.             updateInput(input)
  301.         end
  302.     end)
  303. end
  304.  
  305. local ArtificialHB = Instance.new("BindableEvent", script)
  306. ArtificialHB.Name = "Heartbeat"
  307.  
  308. script:WaitForChild("Heartbeat")
  309.  
  310. local tf = 0
  311. local allowframeloss = false
  312. local tossremainder = false
  313. local lastframe = tick()
  314. local frame = 1/120
  315. ArtificialHB:Fire()
  316.  
  317. game:GetService("RunService").RenderStepped:connect(function(s, p)
  318.     tf = tf + s
  319.     if tf >= frame then
  320.         if allowframeloss then
  321.             ArtificialHB:Fire()
  322.             lastframe = tick()
  323.         else
  324.             for i = 1, math.floor(tf / frame) do
  325.                 ArtificialHB:Fire()
  326.             end
  327.             lastframe = tick()
  328.         end
  329.         if tossremainder then
  330.             tf = 0
  331.         else
  332.             tf = tf - frame * math.floor(tf / frame)
  333.         end
  334.     end
  335. end)
  336.  
  337. local ui = script.Parent
  338. local corner = ui.Corner
  339. local mainframe = ui.Frame
  340. local playpause = mainframe.Play.PlayPause
  341. local visframe = mainframe.Visualizer.Vis
  342. local idframe = mainframe.IDFrame
  343. local dataframe = mainframe.Data
  344. local tempframe = script.Frame
  345. local pause = " ▌▌"
  346. local play = "▶"
  347. local paused = false
  348. local maxdescriptionsize = 33
  349. local id = 0
  350. local volume = 1
  351. local pitch = 1
  352. local isediting = false
  353. local music = nil
  354.  
  355. dragify(mainframe)
  356.  
  357. ---------- customization ----------
  358.  
  359. local color = BrickColor.new('Medium stone grey').Color
  360. local transparency = 0
  361. local whitestuffs = {}
  362.  
  363. for i,v in next, ui:GetDescendants() do
  364.     pcall(function()
  365.         v.BackgroundTransparency = v.BackgroundTransparency + transparency
  366.     end)
  367.     pcall(function()
  368.         v.TextTransparency = v.TextTransparency + transparency
  369.     end)
  370.     pcall(function()
  371.         v.TextStrokeTransparency = v.TextStrokeTransparency + transparency
  372.     end)
  373. end
  374.  
  375. for i,v in next, ui:GetDescendants() do
  376.     pcall(function()
  377.         if(v.TextColor3 == Color3.new(1,1,1))then
  378.             table.insert(whitestuffs, v)
  379.         end
  380.     end)
  381.     pcall(function()
  382.         if(v.BackgroundColor3 == Color3.new(1,1,1))then
  383.             table.insert(whitestuffs, v)
  384.         end
  385.     end)
  386.     pcall(function()
  387.         if(v.PlaceholderColor3 == Color3.new(1,1,1))then
  388.             table.insert(whitestuffs, v)
  389.         end
  390.     end)
  391. end
  392.  
  393. for i,v in next, whitestuffs do
  394.     local tbl = {self = v}
  395.     pcall(function()
  396.         if(v.TextColor3)then
  397.             tbl.oldtextcolor3 = v.TextColor3
  398.         end
  399.     end)
  400.     pcall(function()
  401.         if(v.PlaceholderColor3)then
  402.             tbl.oldplaceholdercolor3 = v.PlaceholderColor3
  403.         end
  404.     end)
  405.     pcall(function()
  406.         if(v.BackgroundColor3)then
  407.             tbl.oldbackgroundcolor3 = v.BackgroundColor3
  408.         end
  409.     end)
  410.     whitestuffs[i] = tbl
  411. end
  412.  
  413. coroutine.wrap(function()
  414.     while task.wait() do
  415.         local was = color
  416.         if(color == "rgb")then
  417.             color = Color3.fromHSV(math.acos(math.cos((tick()/5)*math.pi))/math.pi,1,1)
  418.         end
  419.         for i,v in next, whitestuffs do
  420.             pcall(function()
  421.                 if(v.oldtextcolor3 and v.oldtextcolor3 == Color3.new(1,1,1))then
  422.                     v.self.TextColor3 = color
  423.                 end
  424.             end)
  425.             pcall(function()
  426.                 if(v.oldplaceholdercolor3 and v.oldplaceholdercolor3 == Color3.new(1,1,1))then
  427.                     v.self.PlaceholderColor3 = color
  428.                 end
  429.             end)
  430.             pcall(function()
  431.                 if(v.oldbackgroundcolor3 and v.oldbackgroundcolor3 == Color3.new(1,1,1))then
  432.                     v.self.BackgroundColor3 = color
  433.                 end
  434.             end)
  435.         end
  436.         if(was == "rgb")then
  437.             color = was
  438.         end
  439.     end
  440. end)()
  441.  
  442. -----------------------------------
  443.  
  444. local success, data = pcall(function() return game:GetService('MarketplaceService'):GetProductInfo(id) end)
  445. if(success)and(data)then
  446.     mainframe.Data.Title.Text = (data.Name and data.Name ~= "") and data.Name or "No Title"
  447.     mainframe.Data.Description.Text = (data.Description and data.Description ~= "") and data.Description or "No Description"
  448. else
  449.     mainframe.Data.Title.Text = "No Title"
  450.     mainframe.Data.Description.Text = "No Description"
  451. end
  452.  
  453. playpause.MouseButton1Click:Connect(function()
  454.     paused = not paused
  455. end)
  456.  
  457. idframe.Focused:Connect(function()
  458.     isediting = true
  459. end)
  460.  
  461. function updatetx()
  462.     if(not isediting)and(id~=0)then
  463.         idframe.Text = tostring(id).." : "..tostring(volume).." : "..tostring(pitch)
  464.     elseif(not isediting)and(id==0)then
  465.         idframe.Text = ""
  466.     end
  467. end
  468.  
  469. idframe.FocusLost:Connect(function(enterPressed)
  470.     isediting = false
  471.     local function tonumberall(tbl)
  472.         local faketbl = tbl
  473.         for i,v in next, faketbl do
  474.             faketbl[i] = tonumber(v)
  475.         end
  476.         return faketbl
  477.     end
  478.     local split = tonumberall(idframe.Text:split(" : "))
  479.     local idd = split[1]
  480.     local voll = split[2]
  481.     local pitt = split[3]
  482.     if(idd)then
  483.         if(id ~= idd)then
  484.             pcall(function()
  485.                 music.TimePosition = 0
  486.             end)
  487.         end
  488.         id = idd
  489.         local success, data = pcall(function() return game:GetService('MarketplaceService'):GetProductInfo(id) end)
  490.         if(success)and(data)then
  491.             mainframe.Data.Title.Text = (data.Name and data.Name ~= "") and data.Name or "No Title"
  492.             mainframe.Data.Description.Text = (data.Description and data.Description ~= "") and data.Description or "No Description"
  493.         else
  494.             mainframe.Data.Title.Text = "No Title"
  495.             mainframe.Data.Description.Text = "No Description"
  496.         end
  497.     end
  498.     if(voll)then
  499.         volume = voll
  500.     end
  501.     if(pitt)then
  502.         pitch = pitt
  503.     end
  504.     updatetx()
  505. end)
  506.  
  507. ArtificialHB.Event:Connect(function()
  508.     corner.Position = mainframe.Position
  509.     corner.Size = mainframe.Size+UDim2.fromOffset(5,5)
  510.     playpause.Text = paused and pause or play
  511.     updatetx()
  512.     if(not music or not music:IsDescendantOf(ui))then
  513.         music = Instance.new("Sound", ui)
  514.         music.Volume = volume
  515.         music.Pitch = pitch
  516.         music.SoundId = "rbxassetid://"..id
  517.         music.Looped = true
  518.     elseif(music and music:IsDescendantOf(ui))then
  519.         music.Volume = volume
  520.         music.Pitch = pitch
  521.         music.SoundId = "rbxassetid://"..id
  522.         music.Looped = true
  523.     end
  524.     music.Playing = not paused
  525.     if(mainframe.Data.Description.Text:len() > maxdescriptionsize)then
  526.         local des = mainframe.Data.Description.Text:sub(1,maxdescriptionsize)
  527.         mainframe.Data.Description.Text = des.."..."
  528.     end
  529.     local fr = tempframe:Clone()
  530.     fr.Parent = visframe
  531.     fr.Size = UDim2.new(0, 1.5, 0, music.PlaybackLoudness/3.7)
  532.     game:GetService('Debris'):AddItem(fr, 5)
  533. end)
  534.  
  535. owner.Chatted:Connect(function(msg)
  536.     local m = msg
  537.     if(msg:sub(1,3) == "/e ")then
  538.         m = msg:sub(4)
  539.     end
  540.     local split = string.split(m,"!")
  541.     if(string.lower(split[1]) == "col")then
  542.         local colorr = split[2]
  543.         if(colorr)then
  544.             if(colorr ~= "rgb")then
  545.                 if(BrickColor.new(colorr))then
  546.                     color = BrickColor.new(colorr).Color
  547.                 end
  548.             else
  549.                 color = "rgb"
  550.             end
  551.         end
  552.     end
  553. end)]], ui)
  554.  
  555. local Objects = Decode('AAAJIQVGcmFtZSEQQmFja2dyb3VuZENvbG9yMwb///8hD0JvcmRlclNpemVQaXhlbAMAAAAAAAAAACEEU2l6ZQwAAAAABQAAAAAAMgAhBlpJbmRleAMAAAAAAAAAQAEBAAQAAgMEBQYHCAkA'
  556.     ..'')
  557. Objects[1].Parent = client
Add Comment
Please, Sign In to add comment