Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Converted using Mokiros's Model to Script plugin
- -- Converted string size: 5557
- local Scripts = { function()
- local d=script.Parent local e=d.Parent local f=d.Buttons local g=d.Display local h=g.Body local i=game:GetService("ContentProvider")local j=game:GetService("Lighting")local k=Instance.new("Sound",e.Parent)k.Pitch=1.0 k.Volume=0.5 k.Looped=true local l=f.Home local m=f.Go local n={h.Home,h.Music,h.Photos,h.Settings}local o=n[1].Bar local p={o.Music,o.Photos,o.Settings}local q=1 local r={{723652641,"Astronaut - 13 (FlashYizz Remix)"},}local s=1 local t=n[2].Equalizer.Bars:GetChildren()local u=false local v=true local w=n[3].Block local x={w.P1,w.P2,w.P3,w.P4}local y=1 function a(z)y=z print(y)for A,B in pairs(n)do B.Visible=(B==n[y])and true or false end end m.MouseButton1Click:connect(function()if(y==1)then a(q)end end)l.MouseButton1Click:connect(function()if(y~=1)then a(1)end end)for z,A in pairs(p)do A.MouseEnter:connect(function()q=z for B,C in pairs(p)do C.BackgroundColor3=(B==z)and Color3.new(1,1,1)or Color3.new(0.5,0.5,0.5)end end)A.MouseButton1Click:connect(function()if(A==p[1])then a(2)elseif(A==p[2])then a(3)elseif(A==p[3])then a(4)end end)end for z,A in pairs(x)do A.MouseButton1Click:connect(function()h.Background.Image=A.Image end)end function b(z)n[2].Song.Text=z[2]k.SoundId="rbxassetid://"..z[1]end n[2].Prev.MouseButton1Click:connect(function()if(s<=1)then s=#r else s=s-1 end k:Stop()u=false n[2].Play.Text="Play"b(r[s])end)n[2].Next.MouseButton1Click:connect(function()if(s>=#r)then s=1 else s=s+1 end k:Stop()u=false n[2].Play.Text="Play"b(r[s])end)n[2].Play.MouseButton1Click:connect(function()v=not v if(v)then k:Pause()u=false n[2].Play.Text="Play"else k:Play()u=true n[2].Play.Text="Pause"end end)function c()b(r[s])while wait(0.2)do for C,D in pairs(t)do local E=u and math.random()or 0 D:TweenSize(UDim2.new(0.1,-3,E,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.2,true)end local z=j:GetMinutesAfterMidnight()local A=math.floor(z%60)A=A<10 and"0"..A or A local B=math.floor(z/60%24)g.TopBar.Time.Text=B..":"..A end end c()
- end;}local ActualScripts = {}
- function s(var)
- local func = table.remove(Scripts,1)
- setfenv(func,setmetatable({script=var},{
- __index = getfenv(func),
- }))
- table.insert(ActualScripts,coroutine.wrap(func))
- end
- local Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
- local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
- function(t,f)
- for a,b in pairs(t) do
- f(a,b)
- end
- end
- local Types = {
- Color3 = Color3.new,
- Vector3 = Vector3.new,
- Vector2 = Vector2.new,
- UDim = UDim.new,
- UDim2 = UDim2.new,
- CFrame = CFrame.new,
- Rect = Rect.new,
- NumberRange = NumberRange.new,
- NumberSequence = function(...)
- local a = {...}
- local t = {}
- repeat
- t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
- until #a==0
- return NumberSequence.new(t)
- end,
- ColorSequence = function(...)
- local a = {...}
- local t = {}
- repeat
- t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
- until #a==0
- return ColorSequence.new(t)
- end,
- number = tonumber,
- boolean = function(a)
- return a=="1"
- end
- }
- split = function(str,sep)
- if not str then return end
- local fields = {}
- local ConcatNext = false
- str:gsub(("([^%s]+)"):format(sep),function(c)
- if ConcatNext == true then
- fields[#fields] = fields[#fields]..sep..c
- ConcatNext = false
- else
- fields[#fields+1] = c
- end
- if c:sub(#c)=="\\" then
- c = fields[#fields]
- fields[#fields] = c:sub(1,#c-1)
- ConcatNext = true
- end
- end)
- return fields
- end
- RemoveAndSplit = function(t)
- return split(table_remove(t,1),comma)
- end
- t = split(str,";")
- props = RemoveAndSplit(t)
- classes = RemoveAndSplit(t)
- values = split(table_remove(t,1),'|')
- ICList = RemoveAndSplit(t)
- InstanceList = {}
- Model = inst"Model"
- CurPar = Model
- table_foreach(t,function(ct,c)
- if c=="n" or c=="p" then
- CurPar = c=="n" and LastIns or CurPar[parnt]
- else
- ct = split(c,"|")
- local class = classes[tonum(table_remove(ct,1))]
- if class=="UnionOperation" then
- LastIns = {Locked="true",Anchored="true",UsePartColor="true"}
- else
- LastIns = inst(class)
- if LastIns:IsA"Script" then
- s(LastIns)
- end
- end
- local function SetProperty(LastIns,p,str,s)
- s = Types[typeof(LastIns[p])]
- LastIns[p] = s and s(unpack(split(str,comma))) or str
- end
- local UnionData
- table_foreach(ct,function(s,p,a,str)
- a = p:find":"
- p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
- if p=="UnionData" then
- UnionData = split(str," ")
- return
- end
- if class=="UnionOperation" then
- LastIns[p] = str
- return
- end
- SetProperty(LastIns,p,str)
- end)
- if UnionData then
- local LI_Data = LastIns
- LastIns = DecodeUnion(UnionData)
- table_foreach(LI_Data,function(p,str)
- SetProperty(LastIns,p,str)
- end)
- end
- table.insert(InstanceList,LastIns)
- LastIns[parnt] = CurPar
- end
- end)
- table_remove(ICList,1)
- table_foreach(ICList,function(a,b)
- b = split(b,">")
- InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
- end)
- return Model:GetChildren()
- end
- local Objects = Decode('Name,Anchored,Color,Material,Position,Orientation,Size,BackSurface,BottomSurface,FrontSurface,TopSurface,C0,C1,Part0,Part1,Transparency,CanCollide,LeftSurface,RightSurface,CanvasSize,BackgroundColor3,'
- ..'BackgroundTransparency,BorderSizePixel,ClipsDescendants,ZIndex,Style,BorderColor3,Font,Text,TextColor3,TextSize,Visible,Image,Rotation,TextXAlignment,TextStrokeColor3,TextStrokeTransparency,TextWrappe'
- ..'d;Part,Model,ManualWeld,SurfaceGui,Frame,TextButton,ImageButton,ImageLabel,TextLabel,Script;Part|Bottom [Add Decal Here]|1|0.066,0.066,0.066|272|16.959,0.817,10.429|0,180,0|8.171,1.634,11.44|10|0|Bott'
- ..'om [Add Decal Here]-to-Bottom [Add Decal Here] Strong Joint|4.085,-0.818,5.72,0,0,1,0,1,-0,-1,0,0|-5.721,-0.818,4.903,0.999,0,0,-0.001,-0.001,0.999,0,-1,-0.001|-4.086,-0.818,-5.721,0,0,-1,0,1,0,1,0,0|'
- ..'5.72,0.817,4.903,-1,0,-0.001,0,-0.001,-1,-0.001,-1,0|-4.086,0.817,5.72,-1,0,0,0,0,1,0,1,-0|-4.086,-4.086,0.817,-1,0,0,0,0,1,0,1,-0|GoInfotainmentSystem|16.959,5.72,12.064|0,-180,0|8.171,8.171,8.171|0|'
- ..'250,200|Main|1,0,1,0|1,1,1|Display|0,5,0,5|1,-10,1,-40|0,0,0|4|Body|0,0,0,18|1,0,1,-18|Home|3|Bar|1,-90,0.5,-65|0,100,0,130|3|Music|0,0,0,1|1,0,0.33,-2|0.5|24|Settings|0,0,0.67,1|0.501,0.501,0.501|Pho'
- ..'tos|0,0,0.33,1|Block|0.05,0,0.05,0|0.899,0,0.899,0|2|P1|0.5,0,0.5,0|http://www.roblox.com/asset/?id=154001718|P2|0.5,0,0,0|http://www.roblox.com/asset/?id=112050770|P3|0,0,0.5,0|http://www.roblox.com/'
- ..'asset/?id=52995365|P4|http://www.roblox.com/asset/?id=155840248|Background|0,50,0,50|0.6,0,0.5,0|o!|36|0.2,0,0.5,0|g|0.705,0,0|48|Equalizer|0.25,0,0,5|0.75,-10,1,-80|BottomLine|0,5,1,-5|1,-10,0,0|Bars'
- ..'|1,-10,1,-10|180|0.1,-3,0,0|0,0.588,0|0.1,0,0,0|0.3,0,0,0|0.2,0,0,0|0.4,0,0,0|0.8,0,0,0|0.699,0,0,0|0.899,0,0,0|0.6,0,0,0|Prev|0,5,1,-40|0,70,0,30|0.2|<|Play|0.5,-35,1,-40|Next|1,-75,1,-40|>|Song|0,0,'
- ..'1,-70|1,0,0,20|Loading...|14|TopBar|1,0,0,18|Time|14:00|18|1|Version|V1.0|Buttons|0,5,1,-30|1,-10,0,20|5|0.5,0,1,0|0.827,0.827,0.827|6|0.078,0.078,0.078|Go|Go!|GoInfotainmentSystem-to-Bottom [Add Deca'
- ..'l Here] Strong Joint|4.085,-4.086,4.085,1,0,0,0,0,-1,0,1,0|4.085,0.817,2.451,1,0,-0.001,-0.001,0,-1,0,1,0|4.085,-4.086,4.085,0,0,1,0,1,-0,-1,0,0|-2.452,-0.818,3.268,0.999,0,0,-0.001,-0.001,0.999,0,-1,'
- ..'-0.001|-4.086,-4.086,-4.086,0,0,-1,0,1,0,1,0,0|5.72,0.817,3.268,-1,0,-0.001,0,-0.001,-1,-0.001,-1,0|21.862,4.903,10.429|90,-90,0|11.44,1.634,9.806|-5.721,0.817,4.903,-1,0,0,0,0,0.999,0,1,0|-4.086,-5.7'
- ..'21,0.817,-0.001,-0.001,0.999,-0.001,-1,-0.001,0.999,-0.001,0|16.959,10.622,10.429|11.44,1.634,11.44|Bottom [Add Decal Here]-to-GoInfotainmentSystem Strong Joint|5.72,-0.818,5.72,1,0,0,0,0,-1,0,1,0|5.7'
- ..'2,4.085,7.354,1,0,0,0,-0.001,-1,0,1,-0.001|-5.721,0.817,-4.904,0,-1,-0.001,0.999,0,0,-0.001,-0.001,0.999|-5.721,10.623,-4.904,0,-1,-0.001,0.999,0,0,-0.001,-0.001,0.999|5.72,4.085,0.817,1,0,0,0,0,-1,0,'
- ..'1,0|12.056,4.903,10.43|5.72,-0.818,4.903,0.999,0,0,0,0,-1,-0,1,0|4.085,-5.721,-10.624,0,-0.001,-1,0,-1,0,-1,-0.001,-0.001|16.959,5.72,5.526|8.171,8.171,1.634;0,3>14>2,3>15>62,4>14>2,4>15>55,5>14>2,5>1'
- ..'5>64,52>14>6,52>15>2,53>14>6,53>15>62,54>14>6,54>15>55,56>14>55,56>15>64,58>14>57,58>15>6,59>14>57,59>15>62,60>14>57,60>15>55,61>14>57,61>15>64,63>14>62,63>15>64;2;n;1|1:2|2:3|3:4|4:5|5:6|6:7|7:8|8:9|'
- ..'9:10|10:9|11:10|3:4|3:4;n;3|1:11|12:12|13:13;3|1:11|12:14|13:15;3|1:11|12:16|13:17;p;1|1:18|2:3|3:4|4:5|16:3|5:19|6:20|7:21|17:22|8:9|9:9|10:9|18:9|19:9|11:9|3:4|3:4;n;4|20:23;n;5|1:24|7:25|21:26|22:3'
- ..';n;5|1:27|5:28|7:29|21:30|23:31|24:3;n;5|1:32|5:33|7:34|21:26|22:3;n;5|1:35|7:25|21:26|22:3|25:36;n;5|1:37|5:38|7:39|21:26|25:36|24:3|26:40;n;6|1:41|5:42|7:43|21:26|22:44|27:30|25:36|28:40|29:41|30:26'
- ..'|31:45;6|1:46|5:47|7:43|21:48|22:44|27:30|25:36|28:40|29:46|30:26|31:45;6|1:49|5:50|7:43|21:48|22:44|27:30|25:36|28:40|29:49|30:26|31:45;p;p;5|1:49|7:25|21:26|22:3|32:22|25:36;n;5|1:51|5:52|7:53|21:26'
- ..'|27:30|23:54|25:36|24:3;n;7|1:55|7:56|21:26|25:36|33:57;7|1:58|5:59|7:56|21:26|25:36|33:60;7|1:61|5:62|7:56|21:26|25:36|33:63;7|1:64|5:56|7:56|21:26|25:36|33:65;p;p;8|1:66|7:25|21:26|33:57;n;5|7:67|21'
- ..':26|22:3;n;9|5:68|21:26|22:3|25:54|28:40|29:69|30:26|31:70;9|5:71|21:26|22:3|25:54|28:40|29:72|30:73|31:74;p;p;5|1:41|7:25|21:26|22:3|32:22|25:36;n;5|1:75|5:76|7:77|21:30|22:44;n;5|1:78|5:79|7:80|21:2'
- ..'6|27:30|25:54;5|1:81|5:28|7:82|21:26|22:3|34:83;n;5|7:84|21:85|23:22;5|5:86|7:84|21:85|23:22;5|5:87|7:84|21:85|23:22;5|5:88|7:84|21:85|23:22;5|5:89|7:84|21:85|23:22;5|5:90|7:84|21:85|23:22;5|5:59|7:84'
- ..'|21:85|23:22;5|5:91|7:84|21:85|23:22;5|5:92|7:84|21:85|23:22;5|5:93|7:84|21:85|23:22;p;p;6|1:94|5:95|7:96|21:30|22:97|28:40|29:98|30:26|31:74;6|1:99|5:100|7:96|21:30|22:97|28:40|29:99|30:26|31:70;6|1:'
- ..'101|5:102|7:96|21:30|22:97|28:40|29:103|30:26|31:74;9|1:104|5:105|7:106|21:30|22:97|28:40|29:107|30:26|31:108;p;5|1:46|7:25|21:26|22:3|32:22|25:36;p;5|1:109|7:110|21:30|23:22;n;9|1:111|7:25|21:26|22:3'
- ..'|28:40|29:112|30:26|31:113|35:114;9|1:115|7:25|21:26|22:3|28:40|29:116|30:26|31:113|35:10;p;p;5|1:117|5:118|7:119|21:30|23:31|25:120;n;6|1:35|7:121|21:122|25:123|28:40|29:35|30:26|31:113|36:124|37:22|'
- ..'38:3;6|1:125|5:59|7:121|21:122|25:123|28:40|29:126|30:26|31:113|36:124|37:22|38:3;p;10;p;p;3|1:127|12:128|13:129;3|1:127|12:130|13:131;3|1:127|12:132|13:133;p;1|1:2|2:3|3:4|4:5|5:134|6:135|7:136|9:9|1'
- ..'8:9|19:9|11:10|3:4|3:4;n;3|1:11|12:137|13:138;p;1|1:2|2:3|3:4|4:5|5:139|6:7|7:140|8:9|9:10|10:9|18:9|19:9|11:10|3:4|3:4;n;3|1:141|12:142|13:143;3|1:11|12:142|13:144;3|1:11|12:142|13:145;3|1:11|12:142|'
- ..'13:146;p;1|1:2|2:3|3:4|4:5|5:147|6:135|7:136|9:10|18:9|19:9|11:9|3:4|3:4;n;3|1:11|12:148|13:149;p;1|1:2|2:3|3:4|4:5|5:150|6:7|7:151|8:9|9:10|11:10|3:4|3:4;p;')
- for _,Object in pairs(Objects) do
- Object.Parent = script and script.Parent==workspace and script or workspace
- end
- for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement