Advertisement
Guest User

[Lua] My boombox script [FE]

a guest
Jan 30th, 2019
28,962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.67 KB | None | 0 0
  1. wait(1)
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. do
  5. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  6. script.Parent = Player.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent and t.Function then
  32. t.Function(...)
  33. end
  34. end
  35. m.TrigEvent = te
  36. UIS.TrigEvent = te
  37.  
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. else
  44. local b = io.UserInputState == Enum.UserInputState.Begin
  45. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47. end
  48. for _,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57. end
  58. end)
  59. Event.Parent = NLS([==[
  60. local Player = game:GetService("Players").LocalPlayer
  61. local Event = script:WaitForChild("UserInput_Event")
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. local input = function(io,a)
  65. if a then return end
  66. --Since InputObject is a client-side instance, we create and pass table instead
  67. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68. end
  69. UIS.InputBegan:Connect(input)
  70. UIS.InputEnded:Connect(input)
  71.  
  72. local Mouse = Player:GetMouse()
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84. --[[ read me
  85. so if u usin dis pls dont leak dis
  86. u gud sir
  87. originally by boshjio15854
  88. pls dont set here in my name plss
  89. ]]--
  90.  
  91. local p = owner
  92. local char = p.Character
  93. local t = char.Torso
  94. local pg = p:WaitForChild("PlayerGui")
  95. print("god sir pls dont leak them")
  96.  
  97. local boomthin = Instance.new("Part", char)
  98. boomthin.Name = "Boombox"
  99. local meshthin = Instance.new("SpecialMesh", boomthin)
  100. meshthin.MeshId = "rbxassetid://212302951"
  101. meshthin.TextureId = "http://www.roblox.com/asset/?id=212303049" print("script made by boshjio15854")
  102. meshthin.Scale = Vector3.new(4, 4, 4)
  103.  
  104. local function weldBetween(a, b)
  105. local weld = Instance.new("ManualWeld")
  106. weld.Part0 = a
  107. weld.Part1 = b
  108. weld.C0 = CFrame.new()
  109. weld.C1 = b.CFrame:inverse() * a.CFrame
  110. weld.Parent = a
  111. return weld;
  112. end
  113. local idc = boomthin:clone()
  114. idc.Parent=char
  115. idc.CFrame=char:WaitForChild("Torso").CFrame*CFrame.new(Vector3.new(0,0,0.9))*CFrame.Angles(0,math.rad(180),math.rad(45))
  116. weldBetween(char:WaitForChild("Torso"), idc)
  117. idc.CanCollide=true
  118. idc.Anchored=false
  119. boomthin:Destroy()
  120.  
  121. sound = Instance.new("Sound", idc)
  122. sound.Volume = 0.5
  123. sound.Pitch = 1
  124.  
  125. local screen = Instance.new("ScreenGui")
  126. local _12_px = Instance.new("ImageLabel")
  127. local open = Instance.new("TextButton")
  128. local main = Instance.new("ImageLabel")
  129. local id = Instance.new("TextBox")
  130. local library = Instance.new("ScrollingFrame")
  131. local slash = Instance.new("TextButton")
  132. local falling = Instance.new("TextButton")
  133. local nepo = Instance.new("TextButton")
  134. local callme = Instance.new("TextButton")
  135. local TextButton = Instance.new("TextButton")
  136. local TextButton_2 = Instance.new("TextButton")
  137. local gatteka = Instance.new("TextButton")
  138. local taco = Instance.new("TextButton")
  139. local cs = Instance.new("TextLabel")
  140. local l = Instance.new("TextLabel")
  141. local bs = Instance.new("TextLabel")
  142. local close = Instance.new("TextButton")
  143.  
  144. screen.Name = "screen"
  145. screen.Parent = pg
  146. screen.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  147.  
  148. _12_px.Name = "12_px"
  149. _12_px.Parent = screen
  150. _12_px.BackgroundColor3 = Color3.new(1, 1, 1)
  151. _12_px.BackgroundTransparency = 1
  152. _12_px.Position = UDim2.new(0.0247093029, 0, 0.119402982, 0)
  153. _12_px.Size = UDim2.new(0, 200, 0, 50)
  154. _12_px.Image = "rbxassetid://2260429633"
  155. _12_px.ScaleType = Enum.ScaleType.Slice
  156. _12_px.SliceCenter = Rect.new(12, 12, 13, 13)
  157.  
  158. open.Name = "open"
  159. open.Parent = _12_px
  160. open.BackgroundColor3 = Color3.new(1, 1, 1)
  161. open.BackgroundTransparency = 1
  162. open.BorderSizePixel = 0
  163. open.Position = UDim2.new(-0.00110465102, 0, -0.0173880607, 0)
  164. open.Size = UDim2.new(0, 200, 0, 50)
  165. open.Font = Enum.Font.GothamBlack
  166. open.Text = "Boombox Menu."
  167. open.TextColor3 = Color3.new(0, 0, 0)
  168. open.TextScaled = true
  169. open.TextSize = 14
  170. open.TextStrokeColor3 = Color3.new(0.513726, 0.513726, 0.513726)
  171. open.TextStrokeTransparency = 0
  172. open.TextWrapped = true
  173.  
  174. close.Name = "close"
  175. close.Parent = _12_px
  176. close.BackgroundColor3 = Color3.new(1, 1, 1)
  177. close.BackgroundTransparency = 1
  178. close.BorderSizePixel = 0
  179. close.Position = UDim2.new(-0.00110465102, 0, -0.0173880607, 0)
  180. close.Size = UDim2.new(0, 200, 0, 50)
  181. close.Font = Enum.Font.GothamBlack
  182. close.Text = "Close Boombox Menu."
  183. close.TextColor3 = Color3.new(0, 0, 0)
  184. close.TextScaled = true
  185. close.TextSize = 14
  186. close.TextStrokeColor3 = Color3.new(0.513726, 0.513726, 0.513726)
  187. close.TextStrokeTransparency = 0
  188. close.TextWrapped = true
  189. close.Visible = false
  190.  
  191. main.Name = "main"
  192. main.Parent = screen
  193. main.BackgroundColor3 = Color3.new(1, 1, 1)
  194. main.BackgroundTransparency = 1
  195. main.Position = UDim2.new(0.287532002, 0, 0.25406462, 0)
  196. main.Size = UDim2.new(0, 543, 0, 358)
  197. main.Image = "rbxassetid://2260429633"
  198. main.ScaleType = Enum.ScaleType.Slice
  199. main.SliceCenter = Rect.new(12, 12, 13, 13)
  200.  
  201. id.Name = "id"
  202. id.Parent = main
  203. id.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  204. id.BorderSizePixel = 0
  205. id.Position = UDim2.new(0.0405156538, 0, 0.215083793, 0)
  206. id.Size = UDim2.new(0, 200, 0, 51)
  207. id.Font = Enum.Font.GothamBlack
  208. id.Text = "Song id here."
  209. id.TextColor3 = Color3.new(1, 1, 1)
  210. id.TextScaled = true
  211. id.TextSize = 14
  212. id.TextWrapped = true
  213.  
  214. library.Name = "library"
  215. library.Parent = main
  216. library.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  217. library.BorderSizePixel = 0
  218. library.Position = UDim2.new(0.434622467, 0, 0.215083793, 0)
  219. library.Size = UDim2.new(0, 181, 0, 270)
  220.  
  221. slash.Name = "slash"
  222. slash.Parent = library
  223. slash.BackgroundColor3 = Color3.new(1, 1, 1)
  224. slash.BackgroundTransparency = 0.5
  225. slash.BorderSizePixel = 0
  226. slash.Size = UDim2.new(0, 167, 0, 30)
  227. slash.Font = Enum.Font.GothamBlack
  228. slash.Text = "Getter x Ghostemane HACK/SLASH"
  229. slash.TextColor3 = Color3.new(0, 0, 0)
  230. slash.TextScaled = true
  231. slash.TextSize = 14
  232. slash.TextWrapped = true
  233.  
  234. falling.Name = "falling"
  235. falling.Parent = library
  236. falling.BackgroundColor3 = Color3.new(1, 1, 1)
  237. falling.BackgroundTransparency = 0.5
  238. falling.BorderSizePixel = 0
  239. falling.Position = UDim2.new(0, 0, 0.0418994427, 0)
  240. falling.Size = UDim2.new(0, 167, 0, 30)
  241. falling.Font = Enum.Font.GothamBlack
  242. falling.Text = "XXXTENTACION - Falling down."
  243. falling.TextColor3 = Color3.new(0, 0, 0)
  244. falling.TextScaled = true
  245. falling.TextSize = 14
  246. falling.TextWrapped = true
  247.  
  248. nepo.Name = "nepo"
  249. nepo.Parent = library
  250. nepo.BackgroundColor3 = Color3.new(1, 1, 1)
  251. nepo.BackgroundTransparency = 0.5
  252. nepo.BorderSizePixel = 0
  253. nepo.Position = UDim2.new(0, 0, 0.0837988853, 0)
  254. nepo.Size = UDim2.new(0, 167, 0, 30)
  255. nepo.Font = Enum.Font.GothamBlack
  256. nepo.Text = "nepo - no.999"
  257. nepo.TextColor3 = Color3.new(0, 0, 0)
  258. nepo.TextScaled = true
  259. nepo.TextSize = 14
  260. nepo.TextWrapped = true
  261.  
  262. callme.Name = "callme"
  263. callme.Parent = library
  264. callme.BackgroundColor3 = Color3.new(1, 1, 1)
  265. callme.BackgroundTransparency = 0.5
  266. callme.BorderSizePixel = 0
  267. callme.Position = UDim2.new(0, 0, 0.125698328, 0)
  268. callme.Size = UDim2.new(0, 167, 0, 30)
  269. callme.Font = Enum.Font.GothamBlack
  270. callme.Text = "90sFlav - C a l l m e"
  271. callme.TextColor3 = Color3.new(0, 0, 0)
  272. callme.TextScaled = true
  273. callme.TextSize = 14
  274. callme.TextWrapped = true
  275.  
  276. TextButton.Name = "?"
  277. TextButton.Parent = library
  278. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  279. TextButton.BackgroundTransparency = 0.5
  280. TextButton.BorderSizePixel = 0
  281. TextButton.Position = UDim2.new(0, 0, 0.167597771, 0)
  282. TextButton.Size = UDim2.new(0, 167, 0, 30)
  283. TextButton.Font = Enum.Font.GothamBlack
  284. TextButton.Text = "[ Content Deleted ]"
  285. TextButton.TextColor3 = Color3.new(0, 0, 0)
  286. TextButton.TextScaled = true
  287. TextButton.TextSize = 14
  288. TextButton.TextWrapped = true
  289.  
  290. TextButton_2.Name = "?"
  291. TextButton_2.Parent = library
  292. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  293. TextButton_2.BackgroundTransparency = 0.5
  294. TextButton_2.BorderSizePixel = 0
  295. TextButton_2.Position = UDim2.new(0, 0, 0.209497213, 0)
  296. TextButton_2.Size = UDim2.new(0, 167, 0, 30)
  297. TextButton_2.Font = Enum.Font.GothamBlack
  298. TextButton_2.Text = "[ Content Deleted ]"
  299. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  300. TextButton_2.TextScaled = true
  301. TextButton_2.TextSize = 14
  302. TextButton_2.TextWrapped = true
  303.  
  304. gatteka.Name = "gatteka"
  305. gatteka.Parent = library
  306. gatteka.BackgroundColor3 = Color3.new(1, 1, 1)
  307. gatteka.BackgroundTransparency = 0.5
  308. gatteka.BorderSizePixel = 0
  309. gatteka.Position = UDim2.new(0, 0, 0.251396656, 0)
  310. gatteka.Size = UDim2.new(0, 167, 0, 30)
  311. gatteka.Font = Enum.Font.GothamBlack
  312. gatteka.Text = "ghostemane - gatteka"
  313. gatteka.TextColor3 = Color3.new(0, 0, 0)
  314. gatteka.TextScaled = true
  315. gatteka.TextSize = 14
  316. gatteka.TextWrapped = true
  317.  
  318. taco.Name = "taco"
  319. taco.Parent = library
  320. taco.BackgroundColor3 = Color3.new(1, 1, 1)
  321. taco.BackgroundTransparency = 0.5
  322. taco.BorderSizePixel = 0
  323. taco.Position = UDim2.new(0, 0, 0.293296099, 0)
  324. taco.Size = UDim2.new(0, 167, 0, 30)
  325. taco.Font = Enum.Font.GothamBlack
  326. taco.Text = "MUNSTA - The full taco song."
  327. taco.TextColor3 = Color3.new(0, 0, 0)
  328. taco.TextScaled = true
  329. taco.TextSize = 14
  330. taco.TextWrapped = true
  331.  
  332. cs.Name = "cs"
  333. cs.Parent = main
  334. cs.BackgroundColor3 = Color3.new(1, 1, 1)
  335. cs.BorderSizePixel = 0
  336. cs.Position = UDim2.new(0.0405156538, 0, 0.0391061455, 0)
  337. cs.Size = UDim2.new(0, 200, 0, 50)
  338. cs.Font = Enum.Font.GothamBlack
  339. cs.Text = "Custom Song."
  340. cs.TextColor3 = Color3.new(0, 0, 0)
  341. cs.TextScaled = true
  342. cs.TextSize = 14
  343. cs.TextStrokeColor3 = Color3.new(0.454902, 0.454902, 0.454902)
  344. cs.TextStrokeTransparency = 0
  345. cs.TextWrapped = true
  346.  
  347. l.Name = "l"
  348. l.Parent = main
  349. l.BackgroundColor3 = Color3.new(1, 1, 1)
  350. l.BorderSizePixel = 0
  351. l.Position = UDim2.new(0.434622467, 0, 0.0391061455, 0)
  352. l.Size = UDim2.new(0, 181, 0, 50)
  353. l.Font = Enum.Font.GothamBlack
  354. l.Text = "Library or top favorites."
  355. l.TextColor3 = Color3.new(0, 0, 0)
  356. l.TextScaled = true
  357. l.TextSize = 14
  358. l.TextStrokeColor3 = Color3.new(0.454902, 0.454902, 0.454902)
  359. l.TextStrokeTransparency = 0
  360. l.TextWrapped = true
  361.  
  362. bs.Name = "bs"
  363. bs.Parent = main
  364. bs.BackgroundColor3 = Color3.new(1, 1, 1)
  365. bs.BorderSizePixel = 0
  366. bs.Position = UDim2.new(0.784530401, 0, 0.0391061455, 0)
  367. bs.Size = UDim2.new(0, 101, 0, 50)
  368. bs.Font = Enum.Font.GothamBlack
  369. bs.Text = "Boombox Style:"
  370. bs.TextColor3 = Color3.new(0, 0, 0)
  371. bs.TextScaled = true
  372. bs.TextSize = 14
  373. bs.TextStrokeColor3 = Color3.new(0.454902, 0.454902, 0.454902)
  374. bs.TextStrokeTransparency = 0
  375. bs.TextWrapped = true
  376.  
  377. local play = Instance.new("TextButton")
  378. local pause = Instance.new("TextButton")
  379. local sel = Instance.new("TextButton")
  380.  
  381. play.Name = "play"
  382. play.Parent = main
  383. play.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  384. play.BorderSizePixel = 0
  385. play.Position = UDim2.new(0.0405156538, 0, 0.547486067, 0)
  386. play.Size = UDim2.new(0, 200, 0, 50)
  387. play.Font = Enum.Font.GothamBlack
  388. play.Text = "Play custom song."
  389. play.TextColor3 = Color3.new(1, 1, 1)
  390. play.TextScaled = true
  391. play.TextSize = 14
  392. play.TextStrokeColor3 = Color3.new(1, 1, 1)
  393. play.TextWrapped = true
  394.  
  395. pause.Name = "pause"
  396. pause.Parent = main
  397. pause.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  398. pause.BorderSizePixel = 0
  399. pause.Position = UDim2.new(0.0405156538, 0, 0.379888296, 0)
  400. pause.Size = UDim2.new(0, 200, 0, 50)
  401. pause.Font = Enum.Font.GothamBlack
  402. pause.Text = "Pause Song."
  403. pause.TextColor3 = Color3.new(1, 1, 1)
  404. pause.TextScaled = true
  405. pause.TextSize = 14
  406. pause.TextStrokeColor3 = Color3.new(1, 1, 1)
  407. pause.TextWrapped = true
  408.  
  409. sel.Name = "sel"
  410. sel.Parent = main
  411. sel.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  412. sel.BorderSizePixel = 0
  413. sel.Position = UDim2.new(0.801104963, 0, 0.212290496, 0)
  414. sel.Size = UDim2.new(0, 92, 0, 50)
  415. sel.Font = Enum.Font.GothamBlack
  416. sel.Text = "Normal (Selected)"
  417. sel.TextColor3 = Color3.new(1, 1, 1)
  418. sel.TextScaled = true
  419. sel.TextSize = 14
  420. sel.TextStrokeColor3 = Color3.new(1, 1, 1)
  421. sel.TextWrapped = true
  422.  
  423. local one = Instance.new("TextButton")
  424. local two = Instance.new("TextButton")
  425. local three = Instance.new("TextButton")
  426. local four = Instance.new("TextButton")
  427. local five = Instance.new("TextButton")
  428. local six = Instance.new("TextButton")
  429. local seven = Instance.new("TextButton")
  430. --Properties:
  431. one.Name = "one"
  432. one.Parent = main
  433. one.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  434. one.BorderSizePixel = 0
  435. one.Position = UDim2.new(0.0405156538, 0, 0.715083778, 0)
  436. one.Size = UDim2.new(0, 200, 0, 14)
  437. one.Font = Enum.Font.GothamBlack
  438. one.Text = "Volume: 1"
  439. one.TextColor3 = Color3.new(1, 1, 1)
  440. one.TextScaled = true
  441. one.TextSize = 14
  442. one.TextStrokeColor3 = Color3.new(1, 1, 1)
  443. one.TextWrapped = true
  444.  
  445. two.Name = "two"
  446. two.Parent = main
  447. two.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  448. two.BorderSizePixel = 0
  449. two.Position = UDim2.new(0.0405156538, 0, 0.754189909, 0)
  450. two.Size = UDim2.new(0, 200, 0, 14)
  451. two.Font = Enum.Font.GothamBlack
  452. two.Text = "Volume: 2"
  453. two.TextColor3 = Color3.new(1, 1, 1)
  454. two.TextScaled = true
  455. two.TextSize = 14
  456. two.TextStrokeColor3 = Color3.new(1, 1, 1)
  457. two.TextWrapped = true
  458.  
  459. three.Name = "three"
  460. three.Parent = main
  461. three.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  462. three.BorderSizePixel = 0
  463. three.Position = UDim2.new(0.0405156538, 0, 0.793296039, 0)
  464. three.Size = UDim2.new(0, 200, 0, 14)
  465. three.Font = Enum.Font.GothamBlack
  466. three.Text = "Volume: 3"
  467. three.TextColor3 = Color3.new(1, 1, 1)
  468. three.TextScaled = true
  469. three.TextSize = 14
  470. three.TextStrokeColor3 = Color3.new(1, 1, 1)
  471. three.TextWrapped = true
  472.  
  473. four.Name = "four"
  474. four.Parent = main
  475. four.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  476. four.BorderSizePixel = 0
  477. four.Position = UDim2.new(0.0405156538, 0, 0.83240217, 0)
  478. four.Size = UDim2.new(0, 200, 0, 14)
  479. four.Font = Enum.Font.GothamBlack
  480. four.Text = "Volume: 4"
  481. four.TextColor3 = Color3.new(1, 1, 1)
  482. four.TextScaled = true
  483. four.TextSize = 14
  484. four.TextStrokeColor3 = Color3.new(1, 1, 1)
  485. four.TextWrapped = true
  486.  
  487. five.Name = "five"
  488. five.Parent = main
  489. five.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  490. five.BorderSizePixel = 0
  491. five.Position = UDim2.new(0.0405156538, 0, 0.8715083, 0)
  492. five.Size = UDim2.new(0, 200, 0, 14)
  493. five.Font = Enum.Font.GothamBlack
  494. five.Text = "Volume: 5"
  495. five.TextColor3 = Color3.new(1, 1, 1)
  496. five.TextScaled = true
  497. five.TextSize = 14
  498. five.TextStrokeColor3 = Color3.new(1, 1, 1)
  499. five.TextWrapped = true
  500.  
  501. six.Name = "six"
  502. six.Parent = main
  503. six.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  504. six.BorderSizePixel = 0
  505. six.Position = UDim2.new(0.0405156538, 0, 0.910614431, 0)
  506. six.Size = UDim2.new(0, 200, 0, 14)
  507. six.Font = Enum.Font.GothamBlack
  508. six.Text = "Volume: 6"
  509. six.TextColor3 = Color3.new(1, 1, 1)
  510. six.TextScaled = true
  511. six.TextSize = 14
  512. six.TextStrokeColor3 = Color3.new(1, 1, 1)
  513. six.TextWrapped = true
  514.  
  515. seven.Name = "seven"
  516. seven.Parent = main
  517. seven.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  518. seven.BorderSizePixel = 0
  519. seven.Position = UDim2.new(0.0405156538, 0, 0.949720562, 0)
  520. seven.Size = UDim2.new(0, 200, 0, 14)
  521. seven.Font = Enum.Font.GothamBlack
  522. seven.Text = "Volume: 7"
  523. seven.TextColor3 = Color3.new(1, 1, 1)
  524. seven.TextScaled = true
  525. seven.TextSize = 14
  526. seven.TextStrokeColor3 = Color3.new(1, 1, 1)
  527. seven.TextWrapped = true
  528. --gui scripts
  529. slash.MouseButton1Click:connect(function()
  530. sound.SoundId = "rbxassetid://1468437298"
  531. sound:Play()
  532. local particle = Instance.new("ParticleEmitter", idc)
  533. particle.EmissionDirection = "Front"
  534. particle.Texture = "rbxassetid://936721732"
  535. end)
  536.  
  537. falling.MouseButton1Click:connect(function()
  538. print("o")
  539. sound.SoundId = "rbxassetid://2375628086"
  540. sound:Play()
  541. local particle = Instance.new("ParticleEmitter", idc)
  542. particle.EmissionDirection = "Front"
  543. particle.Texture = "rbxassetid://936721732"
  544. end)
  545.  
  546. nepo.MouseButton1Click:connect(function()
  547. print("lost in alone")
  548. sound.SoundId = "rbxassetid://913651843"
  549. sound:Play()
  550. local particle = Instance.new("ParticleEmitter", idc)
  551. particle.EmissionDirection = "Front"
  552. particle.Texture = "rbxassetid://936721732"
  553. end)
  554.  
  555. callme.MouseButton1Click:connect(function()
  556. print("sit back and relax")
  557. sound.SoundId = "rbxassetid://544969144"
  558. sound:Play()
  559. local particle = Instance.new("ParticleEmitter", idc)
  560. particle.EmissionDirection = "Front"
  561. particle.Texture = "rbxassetid://936721732"
  562. end)
  563.  
  564. gatteka.MouseButton1Click:connect(function()
  565. print("warnin ears")
  566. sound.SoundId = "rbxassetid://2770451066"
  567. sound:Play()
  568. local particle = Instance.new("ParticleEmitter", idc)
  569. particle.EmissionDirection = "Front"
  570. particle.Texture = "rbxassetid://936721732"
  571. end)
  572.  
  573. taco.MouseButton1Click:connect(function()
  574. print("tacos")
  575. sound.SoundId = "rbxassetid://1238092370"
  576. sound:Play()
  577. local particle = Instance.new("ParticleEmitter", idc)
  578. particle.EmissionDirection = "Front"
  579. particle.Texture = "rbxassetid://936721732"
  580. end)
  581.  
  582. pause.MouseButton1Click:connect(function()
  583. print("music stopped")
  584. sound:Pause()
  585. local particle = idc.ParticleEmitter
  586. particle.Parent = nil
  587. end)
  588.  
  589. open.MouseButton1Click:connect(function()
  590. main.Visible = true
  591. close.Visible = true
  592. open.Visible = false
  593. end)
  594.  
  595. close.MouseButton1Click:connect(function()
  596. main.Visible = false
  597. close.Visible = false
  598. open.Visible = true
  599. end)
  600.  
  601. play.MouseButton1Click:connect(function()
  602. sound.SoundId = "rbxassetid://"..id.Text
  603. sound:Play()
  604. local particle = Instance.new("ParticleEmitter", idc)
  605. particle.EmissionDirection = "Front"
  606. particle.Texture = "rbxassetid://936721739"
  607. end)
  608.  
  609. one.MouseButton1Click:connect(function()
  610. sound.Volume = 1
  611. end)
  612.  
  613. two.MouseButton1Click:connect(function()
  614. sound.Volume = 2
  615. end)
  616.  
  617. three.MouseButton1Click:connect(function()
  618. sound.Volume = 3
  619. end)
  620.  
  621. four.MouseButton1Click:connect(function()
  622. sound.Volume = 4
  623. end)
  624.  
  625. five.MouseButton1Click:connect(function()
  626. sound.Volume = 5
  627. end)
  628.  
  629. six.MouseButton1Click:connect(function()
  630. sound.Volume = 6
  631. end)
  632.  
  633. seven.MouseButton1Click:connect(function()
  634. sound.Volume = 7
  635. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement