SHOW:
|
|
- or go back to the newest paste.
1 | player = game:GetService("Players").LocalPlayer | |
2 | part = Instance.new("Part", player.Character) | |
3 | part.FormFactor = "Custom" | |
4 | part.Anchored = true | |
5 | part.CanCollide = true | |
6 | part.Size= Vector3.new(15,12,.1) | |
7 | local sound | |
8 | local sound = Instance.new("Sound", game.Workspace) | |
9 | sound.Name = "AnimeSound" | |
10 | sound.Volume = 1 | |
11 | game:GetService("RunService").RenderStepped:connect(function() part.CFrame = player.Character.Torso.CFrame *CFrame.new(0,5,-7) *CFrame.fromEulerAnglesXYZ(0,math.pi,0) end) | |
12 | child1 = Instance.new("SurfaceGui", part) | |
13 | child2 = Instance.new("Frame", child1) | |
14 | child2.BackgroundColor3 = Color3.new(0.0705882, 0.0745098, 0.0784314) | |
15 | child2.BackgroundTransparency = 0 | |
16 | child2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
17 | child2.BorderSizePixel = 0 | |
18 | child2.Rotation = 0 | |
19 | child2.Position = UDim2.new(0,0,0,0) | |
20 | child2.Size = UDim2.new(0.11999999731779,0,1,0) | |
21 | child2.Visible = true | |
22 | child2.ZIndex = 1 | |
23 | child2.ClipsDescendants = false | |
24 | child2.Draggable = false | |
25 | child3 = Instance.new("ScrollingFrame", child1) | |
26 | child3.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.121569) | |
27 | child3.BackgroundTransparency = 0 | |
28 | child3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
29 | child3.BorderSizePixel = 0 | |
30 | child3.Rotation = 0 | |
31 | child3.Position = UDim2.new(0.11999999731779,0,0,0) | |
32 | child3.Size = UDim2.new(0.87999999523163,0,1,0) | |
33 | child3.Visible = true | |
34 | child3.ZIndex = 1 | |
35 | child3.ClipsDescendants = true | |
36 | child3.Draggable = false | |
37 | child3.BottomImage = "http://www.roblox.com/asset/?id=188173743" | |
38 | child3.CanvasSize = UDim2.new(0,0,2,0) | |
39 | child3.MidImage = "http://www.roblox.com/asset/?id=188173743" | |
40 | child3.ScrollBarThickness = 12 | |
41 | child3.ScrollingEnabled = true | |
42 | child3.TopImage = "http://www.roblox.com/asset/?id=188173743" | |
43 | ||
44 | ||
45 | table1 = { | |
46 | --{Track,Decal,Soundid,Artist,Time,Album,Added,User} | |
47 | - | {"Tokyo Ghoul",173694168,165730729,"Unknown",85,"ROBLOX","12.11.2014","AnimeWiki"}; |
47 | + | {"Food Wars",253843374,239148466,"Unknown",85,"ROBLOX","12.11.2014","AnimeWiki"}; |
48 | {"Shingeki no Kyojin Great Escape",149406182,142292439,"Unknown",87,"ROBLOX","12.11.2014","AnimeWiki"}; | |
49 | {"Shingeki no Kyojin OST",155401515,185888468,"Unknown",100,"ROBLOX","12.11.2014","AnimeWiki"}; | |
50 | {"Shingeki no Kyojin Opening 2",132578801,161108776,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
51 | {"Shingeki no Kyojin Opening 1",166966900,142313640,"Unknown",90,"ROBLOX","12.11,2014","AnimeWiki"}; | |
52 | {"Shingeki no Kyojin",163842117,142291950,"Unknown",109,"ROBLOX","12.11,2014","AnimeWiki"}; | |
53 | {"Akame Ga Kill Opening 1",184025216,176368690,"Unknown",78,"ROBLOX","12.11,2014","AnimeWiki"}; | |
54 | {"Akame Ga Kill Opening 2",186467818,182980568,"Unknown",90,"ROBLOX","12.11,2014","AnimeWiki"}; | |
55 | {"Naruto Despair",2230915,173858284,"Unknown",114,"ROBLOX","12.11,2014","AnimeWiki"}; | |
56 | {"Naruto Stalemate",4042664,169331507,"Unknown",106,"ROBLOX","12.11,2014","AnimeWiki"}; | |
57 | {"Naruto Openning 15",101737877,159498281,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
58 | {"Pokemon",171143906,142301307,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
59 | {"One piece",29358074,154920642,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
60 | {"Gun Gale Online (Ending 1)",172324686,179872015,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
61 | {"Gundam Build Fighters",185152845,144809781,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
62 | {"Captain Earth (Opening 2)",44023473,166917141,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
63 | {"Digimon",169460588,151281998,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
64 | {"Bleach",150668617,149342383,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
65 | {"Sword Art Online (Opening 1)",167554905,142292652,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
66 | {"No Game No Life",171961990,154612529,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
67 | {"Accel World",134628290,147771961,"Unknown",88,"ROBLOX","12.11,2014","AnimeWiki"}; | |
68 | {"Log Horizon Ending 2",143510896,184272831,"Unknown",88,"ROBLOX","15.11,2014","AnimeWiki"}; | |
69 | {"Log Horizon Starting 1",186872217,156230892,"Unknown",88,"ROBLOX","15.11,2014","AnimeWiki"}; | |
70 | } | |
71 | ||
72 | for k,v in pairs(table1) do | |
73 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..v[3]) | |
74 | end | |
75 | ||
76 | ||
77 | pos = {x = 50,y = 100;} | |
78 | music = {playing = false,name} | |
79 | function createav(child) | |
80 | local child4 = Instance.new("ImageButton", child3) | |
81 | child4.Name = child[1] | |
82 | child4.AutoButtonColor = false | |
83 | child4.Style = "Custom" | |
84 | child4.BackgroundColor3 = Color3.new(63/255,63/255,65/255) | |
85 | child4.BackgroundTransparency = 0 | |
86 | child4.BorderSizePixel = 1 | |
87 | child4.Image = "http://www.roblox.com/asset/?id=186730069" | |
88 | child4.ImageTransparency = 0 | |
89 | child4.Rotation = 0 | |
90 | child4.Position = UDim2.new(0,pos["x"],0,pos["y"]) | |
91 | child4.Size = UDim2.new(0,130,0,150) | |
92 | child4.Visible = true | |
93 | child4.ZIndex = 1 | |
94 | child4.ClipsDescendants = false | |
95 | child4.Draggable = false | |
96 | child4.MouseEnter:connect(function() | |
97 | if music["name"] ~= child[1] then | |
98 | child4.Image = "http://www.roblox.com/asset/?id=186471261" | |
99 | end | |
100 | end) | |
101 | child4.MouseLeave:connect(function() | |
102 | if music["name"] ~= child[1] then | |
103 | child4.Image = "http://www.roblox.com/asset/?id=186730069" | |
104 | end | |
105 | end) | |
106 | child4.MouseButton1Click:connect(function() | |
107 | if music["playing"] == false or music["name"] ~= child[1] then | |
108 | music["name"] = child[1] | |
109 | if music["playing"] == true then sound:Stop() end | |
110 | music["playing"] = true | |
111 | sound.SoundId = "rbxassetid://"..child[3] | |
112 | sound:Play() | |
113 | ||
114 | child4.Image = "http://www.roblox.com/asset/?id=186471252" | |
115 | elseif music["playing"] == true then | |
116 | child4.Image = "http://www.roblox.com/asset/?id=186471261" | |
117 | sound:Stop() | |
118 | music["playing"] = false | |
119 | end | |
120 | for k,v in pairs(child3:GetChildren()) do | |
121 | if v ~= child4 then | |
122 | v.Image = "http://www.roblox.com/asset/?id=186730069" | |
123 | end | |
124 | end | |
125 | print(tostring(music["playing"])) | |
126 | end) | |
127 | local child5 = Instance.new("Frame", child4) | |
128 | child5.BackgroundColor3 = Color3.new(0.133333, 0.137255, 0.14902) | |
129 | child5.BackgroundTransparency = 0 | |
130 | child5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
131 | child5.BorderSizePixel = 0 | |
132 | child5.Position = UDim2.new(0,0,1,0) | |
133 | child5.Size = UDim2.new(1,0,0.30000001192093,0) | |
134 | child5.Visible = true | |
135 | child5.ZIndex = 1 | |
136 | child5.ClipsDescendants = false | |
137 | child5.Draggable = false | |
138 | local child6 = Instance.new("TextLabel", child5) | |
139 | child6.BackgroundColor3 = Color3.new(1, 1, 1) | |
140 | child6.BackgroundTransparency = 1 | |
141 | child6.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
142 | child6.BorderSizePixel = 1 | |
143 | child6.Rotation = 0 | |
144 | child6.Position = UDim2.new(0,0,0,0) | |
145 | child6.Size = UDim2.new(1,0,1,0) | |
146 | child6.Visible = true | |
147 | child6.ZIndex = 1 | |
148 | child6.ClipsDescendants = false | |
149 | child6.Draggable = false | |
150 | child6.Font = "SourceSans" | |
151 | child6.FontSize = "Size24" | |
152 | child6.Text = child[1] | |
153 | child6.TextColor3 = Color3.new(1, 1, 1) | |
154 | child6.TextScaled = true | |
155 | child6.TextStrokeColor3 = Color3.new(0, 0, 0) | |
156 | child6.TextStrokeTransparency = 1 | |
157 | child6.TextTransparency = 0 | |
158 | child6.TextWrapped = true | |
159 | child6.TextXAlignment = "Center" | |
160 | child6.TextYAlignment = "Center" | |
161 | local child7 = Instance.new("ImageLabel", child4) | |
162 | child7.Size = UDim2.new(1,0,1,0) | |
163 | pos["x"] = pos["x"] + 150 | |
164 | if pos["x"] == 650 then | |
165 | pos["x"] = 50 | |
166 | pos["y"] = pos["y"] + 220 | |
167 | end | |
168 | end | |
169 | ||
170 | ||
171 | game:GetService("Workspace") .DescendantRemoving:connect(function(child) | |
172 | if child.Name == "AnimeSound" then | |
173 | child:Stop() | |
174 | sound = child:Clone() | |
175 | sound.Parent = game:GetService("Workspace") | |
176 | music["playing"] = false | |
177 | for k,v in pairs(child3:GetChildren()) do | |
178 | if v.Name == music["name"] then | |
179 | v.Image = "http://www.roblox.com/asset/?id=186471261" | |
180 | end | |
181 | end | |
182 | ||
183 | end | |
184 | end) | |
185 | ||
186 | for k,v in pairs(table1) do | |
187 | createav(v) | |
188 | end |