Advertisement
samuelrichter66

headphones

Apr 18th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Created with PenguinAnonymous's compiler
  2. --PenguinAnonymous is not responsible for damages caused to your game
  3. --Please stop using my plugin to create abusive scripts
  4. --Errors:
  5. local runDummyScript = function(f,scri)
  6. local oldenv = getfenv(f)
  7. local newenv = setmetatable({}, {
  8. __index = function(_, k)
  9. if k:lower() == 'script' then
  10. return scri
  11. else
  12. return oldenv[k]
  13. end
  14. end
  15. })
  16. setfenv(f, newenv)
  17. ypcall(function() f() end)
  18. end
  19. cors = {}
  20. mas = Instance.new("Model",game:GetService("Lighting"))
  21. mas.Name = "CompiledModel"
  22. o1 = Instance.new("LocalScript")
  23. o1.Name = "Wubstep"
  24. o1.Parent = mas
  25. table.insert(cors,function()
  26. wait()
  27. runDummyScript(function()
  28.  
  29. function clerp(c1,c2,al)
  30. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  31. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  32. for i,v in pairs(com1) do
  33. com1[i] = v+(com2[i]-v)*al
  34. end
  35. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  36. end
  37.  
  38. plr = game:service'Players'.samuelrichter66
  39. char = plr.Character
  40. humanoid = char:findFirstChild("Humanoid")
  41. torso = char:findFirstChild("Torso")
  42. head = char.Head
  43. ra = char:findFirstChild("Right Arm")
  44. la = char:findFirstChild("Left Arm")
  45. rl = char:findFirstChild("Right Leg")
  46. ll = char:findFirstChild("Left Leg")
  47. rs = torso:findFirstChild("Right Shoulder")
  48. ls = torso:findFirstChild("Left Shoulder")
  49. rh = torso:findFirstChild("Right Hip")
  50. lh = torso:findFirstChild("Left Hip")
  51. neck = torso:findFirstChild("Neck")
  52. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  53. rootpart = char:findFirstChild("HumanoidRootPart")
  54. camera = workspace.CurrentCamera
  55. anim = char:findFirstChild("Animate")
  56.  
  57. if char:FindFirstChild("Animate") then
  58. char.Animate:Destroy()
  59. end
  60. humanoid.Animator:Destroy()
  61.  
  62. local rm = Instance.new("Weld", torso)
  63. rm.C0 = CFrame.new(1.5, 0.5, 0)
  64. rm.C1 = CFrame.new(0, 0.5, 0)
  65. rm.Part0 = torso
  66. rm.Part1 = ra
  67.  
  68. local lm = Instance.new("Weld", torso)
  69. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  70. lm.C1 = CFrame.new(0, 0.5, 0)
  71. lm.Part0 = torso
  72. lm.Part1 = la
  73.  
  74. local rlegm = Instance.new("Weld", torso)
  75. rlegm.C0 = CFrame.new(0.5, -1, 0)
  76. rlegm.C1 = CFrame.new(0, 1, 0)
  77. rlegm.Part0 = torso
  78. rlegm.Part1 = rl
  79. local llegm = Instance.new("Weld", torso)
  80. llegm.C0 = CFrame.new(-0.5, -1, 0)
  81. llegm.C1 = CFrame.new(0, 1, 0)
  82. llegm.Part0 = torso
  83. llegm.Part1 = ll
  84.  
  85. neck.C0 = CFrame.new(0, 1, 0)
  86. neck.C1 = CFrame.new(0, -.5, 0)
  87.  
  88. rj.C0 = CFrame.new()
  89. rj.C1 = CFrame.new()
  90.  
  91. local Rbx = LoadLibrary("RbxUtility")
  92. local Create = Rbx.Create
  93.  
  94. GUI = Create("ScreenGui"){
  95. Parent = plr.PlayerGui,
  96. Enabled = true,
  97. ResetOnSpawn = true,
  98. Name = "WubstepGUI"
  99. }
  100.  
  101. Main = Create("Frame"){
  102. Parent = GUI,
  103. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  104. BorderColor3 = Color3.new(27/255,42/255,53/255),
  105. BorderSizePixel = 0,
  106. BackgroundTransparency = 0,
  107. Size = UDim2.new(0.2,0,0.5,0),
  108. Position = UDim2.new(-1.2,0,0.25,0),
  109. ZIndex = 1,
  110. Visible = true,
  111. Selectable = false,
  112. Name = "Main"
  113. }
  114.  
  115. IDBox = Create("TextBox"){
  116. Parent = Main,
  117. BackgroundColor3 = Color3.new(9/255,9/255,9/255),
  118. BackgroundTransparency = 0.7,
  119. BorderColor3 = Color3.new(255/255,255/255,255/255),
  120. BorderSizePixel = 5,
  121. Name = "ID",
  122. Position = UDim2.new(0.05,0,0.03,0),
  123. Selectable = true,
  124. ShowNativeInput = true,
  125. ClearTextOnFocus = true,
  126. Size = UDim2.new(0.9,0,0.15,0),
  127. Visible = true,
  128. ZIndex = 2,
  129. Text = "ID",
  130. TextWrapped = true,
  131. TextScaled = true,
  132. TextColor3 = Color3.new(255/255,255/255,255/255),
  133. TextStrokeTransparency = 0,
  134. TextStrokeColor3 = Color3.new(0,0,0)
  135. }
  136.  
  137. PlayButton = Create("TextButton"){
  138. Parent = Main,
  139. BackgroundTransparency = 0,
  140. BackgroundColor3 = Color3.new(9/255,9/255,9/255),
  141. BorderSizePixel = 0,
  142. BorderColor3 = Color3.new(27/255,42/255,53/255),
  143. Name = "Play",
  144. Modal = false,
  145. Position = UDim2.new(0.05,0,0.205,0),
  146. Size = UDim2.new(0.9,0,0.1,0),
  147. ZIndex = 2,
  148. Text = "Play",
  149. TextScaled = true,
  150. TextStrokeColor3 = Color3.new(0,0,0),
  151. TextStrokeTransparency = 1,
  152. TextColor3 = Color3.new(255/255,255/255,255/255),
  153. TextWrapped = true
  154. }
  155.  
  156. VolumeInc = Create("TextButton"){
  157. Parent = Main,
  158. BackgroundColor3 = Color3.new(0,7/255,48/255),
  159. BorderSizePixel = 2,
  160. Modal = false,
  161. Name = "+",
  162. Position = UDim2.new(0.75,0,0.325,0),
  163. Size = UDim2.new(0.2,0,0.34,0),
  164. Visible = true,
  165. TextScaled = true,
  166. TextColor3 = Color3.new(255/255,255/255,255/255),
  167. TextStrokeTransparency = 1,
  168. Text = "+"
  169. }
  170.  
  171. VolumeDec = Create("TextButton"){
  172. Parent = Main,
  173. BackgroundColor3 = Color3.new(48/255,0,0),
  174. BorderSizePixel = 2,
  175. Modal = false,
  176. Name = "+",
  177. Position = UDim2.new(0.05,0,0.325,0),
  178. Size = UDim2.new(0.2,0,0.34,0),
  179. Visible = true,
  180. TextScaled = true,
  181. TextColor3 = Color3.new(255/255,255/255,255/255),
  182. TextStrokeTransparency = 1,
  183. Text = "-"
  184. }
  185.  
  186. VolText = Create("TextLabel"){
  187. Parent = Main,
  188. BackgroundColor3 = Color3.new(255/255,255/255,255/255),
  189. BackgroundTransparency = 1,
  190. BorderColor3 = Color3.new(27/255,42/255,53/255),
  191. BorderSizePixel = 0,
  192. Name = "Volume",
  193. Position = UDim2.new(0.175,0,0.325,0),
  194. Size = UDim2.new(0.64,0,0.1,0),
  195. Visible = true,
  196. Text = "Volume",
  197. TextColor3 = Color3.new(255/255,255/255,255/255),
  198. TextScaled = true,
  199. TextStrokeColor3 = Color3.new(0,0,0),
  200. TextStrokeTransparency = 0
  201. }
  202.  
  203. VolNum = Create("TextLabel"){
  204. Parent = Main,
  205. BackgroundTransparency = 1,
  206. BorderSizePixel = 0,
  207. Name = "###",
  208. Position = UDim2.new(0.175,0,0.45,0),
  209. Size = UDim2.new(0.64,0,0.2,0),
  210. TextStrokeTransparency = 0,
  211. TextColor3 = Color3.new(255/255,255/255,255/255),
  212. Text = "1",
  213. TextScaled = true
  214. }
  215.  
  216. HeadphText = Create("TextLabel"){
  217. Parent = Main,
  218. BackgroundTransparency = 1,
  219. BorderSizePixel = 0,
  220. Name = "Headphones",
  221. Position = UDim2.new(0.05,0,0.7,0),
  222. Size = UDim2.new(0.64,0,0.1,0),
  223. TextStrokeTransparency = 0,
  224. TextColor3 = Color3.new(255/255,255/255,255/255),
  225. Text = "Headphones",
  226. TextScaled = true
  227. }
  228.  
  229. NotesText = Create("TextLabel"){
  230. Parent = Main,
  231. BackgroundTransparency = 1,
  232. BorderSizePixel = 0,
  233. Name = "Notes",
  234. Position = UDim2.new(0.05,0,0.85,0),
  235. Size = UDim2.new(0.64,0,0.1,0),
  236. TextStrokeTransparency = 0,
  237. TextColor3 = Color3.new(255/255,255/255,255/255),
  238. Text = "Notes",
  239. TextScaled = true
  240. }
  241.  
  242. Check1 = Create("TextButton"){
  243. Parent = Main,
  244. BackgroundTransparency = 0.7,
  245. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  246. BorderSizePixel = 5,
  247. BorderColor3 = Color3.new(0,0,0),
  248. Name = "Check1",
  249. Modal = false,
  250. Position = UDim2.new(0.78,0,0.7,0),
  251. Size = UDim2.new(0.13,0,0.1,0),
  252. ZIndex = 2,
  253. Text = "",
  254. TextScaled = true,
  255. TextStrokeColor3 = Color3.new(0,0,0),
  256. TextStrokeTransparency = 1,
  257. TextColor3 = Color3.new(255/255,255/255,255/255),
  258. TextWrapped = true
  259. }
  260.  
  261. Check2 = Create("TextButton"){
  262. Parent = Main,
  263. BackgroundTransparency = 0.7,
  264. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  265. BorderSizePixel = 5,
  266. BorderColor3 = Color3.new(0,0,0),
  267. Name = "Check2",
  268. Modal = false,
  269. Position = UDim2.new(0.78,0,0.85,0),
  270. Size = UDim2.new(0.13,0,0.1,0),
  271. ZIndex = 2,
  272. Text = "",
  273. TextScaled = true,
  274. TextStrokeColor3 = Color3.new(0,0,0),
  275. TextStrokeTransparency = 1,
  276. TextColor3 = Color3.new(255/255,255/255,255/255),
  277. TextWrapped = true
  278. }
  279.  
  280. Checkmark1 = Create("ImageLabel"){
  281. Parent = Check1,
  282. Size = UDim2.new(1,0,1,0),
  283. Position = UDim2.new(0,0,0,0),
  284. BorderSizePixel = 0,
  285. BackgroundTransparency = 1,
  286. Image = "rbxassetid://55565289",
  287. }
  288.  
  289. Checkmark2 = Create("ImageLabel"){
  290. Parent = Check2,
  291. Size = UDim2.new(1,0,1,0),
  292. Position = UDim2.new(0,0,0,0),
  293. BorderSizePixel = 0,
  294. BackgroundTransparency = 1,
  295. Image = "rbxassetid://55565289",
  296. }
  297.  
  298. OpenButton = Create("TextButton"){
  299. Parent = GUI,
  300. BackgroundTransparency = 0.7,
  301. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  302. BorderSizePixel = 5,
  303. BorderColor3 = Color3.new(0,0,0),
  304. Name = "Open/Close",
  305. Modal = false,
  306. Position = UDim2.new(0,0,0.7,0),
  307. Size = UDim2.new(0.13,0,0.1,0),
  308. ZIndex = 2,
  309. Text = "Wubstep",
  310. TextScaled = true,
  311. TextStrokeColor3 = Color3.new(0,0,0),
  312. TextStrokeTransparency = 0,
  313. TextColor3 = Color3.new(255/255,255/255,255/255),
  314. TextWrapped = true
  315. }
  316.  
  317. local Open = false
  318. local Debounce = false
  319. OpenButton.MouseButton1Down:connect(function()
  320. if Open == false and Debounce == false then
  321. Debounce = true
  322. Main:TweenPosition(UDim2.new(0.4, 0, 0.25, 0),"Out","Quad",3,false)
  323. repeat wait() until Main.Position == UDim2.new(0.4,0,0.25,0)
  324. wait(0.2)
  325. Open = true
  326. Debounce = false
  327. elseif Open == true and Debounce == false then
  328. Debounce = true
  329. Main:TweenPosition(UDim2.new(-1.2, 0, 0.25, 0),"Out","Quad",5,false)
  330. repeat wait() until Main.Position == UDim2.new(-1.2,0,0.25,0)
  331. wait(0.2)
  332. Open = false
  333. Debounce = false
  334. end
  335. end)
  336.  
  337. local Volume = 1
  338. VolumeInc.MouseButton1Down:connect(function()
  339. if Volume < 10 then
  340. Volume = Volume + 0.5
  341. end
  342. end)
  343. VolumeDec.MouseButton1Down:connect(function()
  344. if Volume > 0 then
  345. Volume = Volume - 0.5
  346. end
  347. end)
  348.  
  349. humanoid.WalkSpeed = 7
  350.  
  351. local s = Instance.new('Sound', head)
  352. s.Volume = Volume
  353. s.SoundId = "rbxassetid://0" --EG: Music to my ears
  354. s.Looped = true
  355. s:play()
  356.  
  357. PlayButton.MouseButton1Down:connect(function()
  358. s.SoundId = "rbxassetid://"..IDBox.Text
  359. end)
  360.  
  361. rsc0 = rm.C0
  362. lsc0 = lm.C0
  363. neckc0 = neck.C0
  364. rootc0 = rj.C0
  365. llc0 = llegm.C0
  366. rlc0 = rlegm.C0
  367. speed = 0.25
  368. angle = 0
  369. anglespeed = 1
  370.  
  371. local Hat = Instance.new('Part', char)
  372. Hat.FormFactor = 'Custom'
  373. Hat.Size = Vector3.new(1,1,1)
  374. Hat.CanCollide = false
  375. Hat.Locked = true
  376. Hat.Name = 'Headphones'
  377. Hat:breakJoints()
  378. Hat.TopSurface = 0
  379. Hat.BottomSurface = 0
  380. local Mesh = Instance.new('SpecialMesh', Hat)
  381. Mesh.MeshId = "http://www.roblox.com/asset/?id=1051545"
  382. Mesh.TextureId = "rbxassetid://186142634"
  383.  
  384. local Weld = Instance.new('Weld', Hat)
  385. Weld.Part0 = Hat
  386. Weld.Part1 = head
  387. Weld.C1 = CFrame.new(0, .2, 0)
  388.  
  389. local HP = true
  390. local Not = true
  391. Check1.MouseButton1Down:connect(function()
  392. if HP == true then
  393. HP = false
  394. Hat.Transparency = 0
  395. Checkmark1.Visible = true
  396. elseif HP == false then
  397. HP = true
  398. Hat.Transparency = 1
  399. Checkmark1.Visible = false
  400. end
  401. end)
  402. Check2.MouseButton1Down:connect(function()
  403. if Not == true then
  404. Not = false
  405. Checkmark2.Visible = false
  406. elseif Not == false then
  407. Not = true
  408. Checkmark2.Visible = true
  409. end
  410. end)
  411.  
  412. local SplashEffect = Instance.new('Part')
  413. Instance.new("CylinderMesh", SplashEffect);
  414. SplashEffect.Size = Vector3.new(.2,.2,.2)
  415. SplashEffect.Anchored = true
  416. SplashEffect.Transparency = 1
  417. SplashEffect.CanCollide = false
  418. SplashEffect.Locked = true
  419. SplashEffect.Material = "Neon"
  420. local surfacegui = Instance.new('SurfaceGui', SplashEffect)
  421. surfacegui.Face = 'Top'
  422. surfacegui.CanvasSize = Vector2.new(800,800)
  423. local SplashEffectImage = Instance.new('ImageLabel', surfacegui)
  424. SplashEffectImage.Size = UDim2.new(1,0,1,0)
  425. SplashEffectImage.Image = "rbxassetid://166139049"
  426. SplashEffectImage.BackgroundTransparency = 1
  427. SplashEffectImage.Name = 'Effect'
  428. SplashEffectImage.ImageColor3 = Color3.new(223/255, 0, 255/255)
  429. local light = Instance.new('PointLight', SplashEffect)
  430.  
  431. local SplashEffect2 = SplashEffect:clone()
  432. SplashEffect2:ClearAllChildren()
  433. Instance.new("CylinderMesh", SplashEffect2);
  434. local surfacegui2 = Instance.new('SurfaceGui', SplashEffect2)
  435. surfacegui2.Face = 'Top'
  436. surfacegui2.CanvasSize = Vector2.new(800,800)
  437. local SplashEffect2Image = Instance.new('ImageLabel', surfacegui2)
  438. SplashEffect2Image.Size = UDim2.new(1,0,1,0)
  439. SplashEffect2Image.Image = "rbxassetid://166139049"
  440. SplashEffect2Image.BackgroundTransparency = 1
  441. SplashEffect2Image.Name = 'Effect'
  442. SplashEffect2Image.ImageColor3 = Color3.new(223/255, 0, 255/255)
  443. local light2 = Instance.new('PointLight', SplashEffect2)
  444.  
  445. local Crack = Instance.new('Part')
  446. Crack.Size = Vector3.new(12, .2, 12)
  447. Crack.Anchored = true
  448. Crack.Transparency = 1
  449. Crack.CanCollide = false
  450.  
  451. Images = {"rbxassetid://109516732", "rbxassetid://185526499"}
  452. local Image = Instance.new('Decal', Crack)
  453. Image.Face = 'Top'
  454.  
  455.  
  456. local SplashColors = {Color3.new(223/255, 0, 255/255), Color3.new(223/255, 0, 255/255), Color3.new(226/255, 156/255, 210/255), Color3.new(120/255, 91/255, 169/255), Color3.new(8/255, 146/255, 208/255), Color3.new(0,0,1), Color3.new(127/255, 255/255, 212/255)}
  457. local Splash1cframe
  458. local Splash2cframe
  459.  
  460. function math_pos(float)
  461. if float < 0 then float = 0 end
  462. return float
  463. end
  464. function math_neg(float)
  465. if float > 0 then float = 0 end
  466. return float
  467. end
  468. function math_max(float, max)
  469. if float > max then float = max end
  470. return float
  471. end
  472. function math_min(float, min)
  473. if float > min then float = min end
  474. return float
  475. end
  476. pchar = char
  477. Part = function(x,y,z,color,tr,cc,an,parent)
  478. local p = Instance.new('Part',parent)
  479. p.formFactor = 'Custom'
  480. p.Size = Vector3.new(x,y,z)
  481. p.BrickColor = BrickColor.new(color)
  482. p.Material = "Neon"
  483. p.CanCollide = cc
  484. p.Transparency = tr
  485. p.Anchored = an
  486. p.TopSurface,p.BottomSurface = 0,0
  487. p.Locked=true
  488. p:BreakJoints()
  489. return p
  490. end
  491. Mesh = function(par,num,x,y,z)
  492. local msh = _
  493. if num == 1 then
  494. msh = Instance.new("CylinderMesh",par)
  495. elseif num == 2 then
  496. msh = Instance.new("SpecialMesh",par)
  497. msh.MeshType = 3
  498. elseif num == 3 then
  499. msh = Instance.new("BlockMesh",par)
  500. elseif num == 4 then
  501. msh = Instance.new("SpecialMesh",par)
  502. msh.MeshType = "Torso"
  503. elseif type(num) == 'string' then
  504. msh = Instance.new("SpecialMesh",par)
  505. msh.MeshId = num
  506. end
  507. msh.Scale = Vector3.new(x,y,z)
  508. return msh
  509. end
  510. function explosion(col1,col2,cfr,sz,rng,dmg)
  511. local a= Part(1,1,1,col1,.5,false,true,pchar)
  512. local a2= Part(1,1,1,col2,.5,false,true,pchar)
  513. local a3= Part(1,1,1,col2,.5,false,true,pchar)
  514. v1,v2,v3=sz.x,sz.y,sz.z
  515. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  516. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  517. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  518. a.CFrame=cfr
  519. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  520. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  521. for i,v in pairs(workspace:children()) do
  522. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  523. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  524. if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= pchar.Name then
  525. v.Humanoid.Health=v.Humanoid.Health-dmg
  526. v.Torso.Velocity=Vector3.new(math.random(-dmg*2,dmg*2),dmg*3,math.random(-dmg*2,dmg*2))
  527. end
  528. end
  529. end
  530. end
  531. Spawn(function()
  532. while true do
  533. wait()
  534. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  535. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  536. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  537. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  538. a2.CFrame=a2.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))
  539. a3.CFrame=a3.CFrame*CFrame.Angles(-math.rad(2),-math.rad(2),-math.rad(2))
  540. a.Transparency=a.Transparency+0.05
  541. a2.Transparency=a2.Transparency+0.05
  542. a3.Transparency=a3.Transparency+0.05
  543. end
  544. end)
  545. end
  546.  
  547. local lasttick
  548. local Action = false
  549. local db = false
  550. cd = false
  551.  
  552. mouse.KeyDown:connect(function(k)
  553. if k:byte() == 32 then
  554. if not jumped then
  555. lasttick = tick()
  556. end
  557. elseif k:lower() == "c" and db == false and cd == false then
  558. cd = true
  559. local Colors = {"New Yeller","Really red","Really blue","Royal purple","Pastel orange","Lime green","Hot pink","Toothpaste","Institutional white"}
  560. local Col1 = Colors[math.random(1,#Colors)]
  561. local Col2 = Colors[math.random(1,#Colors)]
  562. explosion(Col1,Col2,torso.CFrame,Vector3.new(80,80,80),60,80)
  563. cd = false
  564. elseif k:lower() == "f" and db == false then
  565. db = true
  566. local Rbx = LoadLibrary("RbxUtility")
  567. local Cre = Rbx.Create
  568. local Colors = {"New Yeller","Really red","Really blue","Royal purple","Pastel orange","Lime green","Hot pink","Toothpaste","Institutional white"}
  569. local sh = Cre("Part"){
  570. Parent = char,
  571. Size = Vector3.new(0.2,0.2,0.2),
  572. Anchored = true,
  573. CanCollide = false,
  574. Material = "Neon",
  575. BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]),
  576. CFrame = torso.CFrame
  577. }
  578. local msh = Cre("SpecialMesh"){
  579. MeshType = "Sphere",
  580. Scale = Vector3.new(0.01,0.01,0.01),
  581. Parent = sh
  582. }
  583. game:GetService("Debris"):AddItem(sh,25)
  584. coroutine.resume(coroutine.create(function()
  585. local a = 0
  586. for i=0,150 do
  587. game:GetService("RunService").RenderStepped:wait()
  588. sh.CFrame = torso.CFrame
  589. msh.Scale = msh.Scale + Vector3.new(math.floor(i/18),math.floor(i/18),math.floor(i/18))
  590. sh.Transparency = i/150
  591. a = a + 1
  592. if a >= 3 then
  593. a = 0
  594. sh.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  595. end
  596. for i,v in pairs(game.Workspace:GetChildren()) do
  597. if v and v.Name ~= plr.Name and v:FindFirstChild("Humanoid") then
  598. if v:FindFirstChild("Torso") then
  599. if (v.Torso.Position - torso.Position).magnitude <= i then
  600. v:BreakJoints()
  601. end
  602. end
  603. end
  604. end
  605. end
  606. db = false
  607. end))
  608. end
  609. end)
  610.  
  611. plr.Chatted:connect(function(msg)
  612. if msg == "/e dance" or msg == "/emote dance" then
  613. Action = 'Dancing'
  614. end
  615. if msg == "/e dance2" or msg == "/emote dance2" then
  616. Action = 'Dancing2'
  617. end
  618. if msg == "/e dance3" or msg == "/emote dance3" then
  619. Action = 'Dancing3'
  620. end
  621. end)
  622.  
  623. local screengui = Instance.new('ScreenGui', plr.PlayerGui)
  624. screengui.Name = "Vinyl's Effect"
  625. local frame = Instance.new('ImageLabel', screengui)
  626. frame.Size = UDim2.new(1,250,1,250)
  627. frame.Position = UDim2.new(0,-125,0,-125)
  628. frame.Image = "rbxassetid://186263828"
  629. frame.BackgroundTransparency = 1
  630.  
  631. local parts = Instance.new('Model', char)
  632.  
  633. coroutine.resume(coroutine.create(function()
  634. while true do
  635. game:GetService("RunService").RenderStepped:wait()
  636. VolNum.Text = Volume
  637. s.Volume = Volume
  638. end
  639. end))
  640.  
  641. local Notes = {}
  642. game:service'RunService'.RenderStepped:connect(function()
  643. angle = (angle % 100) + anglespeed/10
  644. local rscf = rsc0
  645. local lscf = lsc0
  646. local rjcf = rootc0
  647. local ncf = neckc0
  648. local rlcf = rlc0
  649. local llcf = llc0
  650. local jumpray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
  651. local jumphit, jumppos = workspace:FindPartOnRayWithIgnoreList(jumpray, {char, parts, Crack, SplashEffect, SplashEffect2})
  652. do --Right leg effect
  653. local ray = Ray.new(rl.CFrame.p, ((rl.CFrame*CFrame.new(0,-1,0)).p - rl.Position).unit*1)
  654. local hit,hitz, normal = workspace:FindPartOnRay(ray, char)
  655. if hit and hit:IsA'BasePart' and hitz then
  656. if SplashEffect.Parent == nil then
  657. local COLOR = SplashColors[math.random(1,#SplashColors)];
  658. SplashEffect.Parent = parts
  659. SplashEffect.Transparency = 0.2
  660. SplashEffect.BrickColor = BrickColor.new(COLOR)
  661. SplashEffect.Size = Vector3.new(.2,.2,.2)
  662. SplashEffectImage.ImageColor3 = COLOR;
  663. SplashEffectImage.ImageTransparency = 0
  664. SplashEffect.CFrame = CFrame.new(hitz, hitz+normal) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, -.65, 0)
  665. Splash1cframe = SplashEffect.CFrame
  666. light.Color = SplashEffectImage.ImageColor3
  667. light.Brightness = 1
  668. light.Range = 8
  669. if Not == true then
  670. for i = 1, math.random(6,10) do
  671. local Note = Instance.new('Part', parts)
  672. Note.CanCollide = false
  673. Note.Material = "Neon"
  674. Note.Anchored = true
  675. Note.CFrame = SplashEffect.CFrame * CFrame.new(math.random(-4,4), -2, math.random(-4,4)) * CFrame.Angles(math.pi/2+math.random(-50,50)/220,math.random(-50,50)/220,math.random(-50,50)/20)
  676. Note.Color = SplashEffectImage.ImageColor3
  677. Note.Size = Vector3.new(1,1,1)
  678. local mesh = Instance.new('SpecialMesh', Note)
  679. mesh.MeshId = "rbxassetid://1088207"
  680. mesh.Scale = Vector3.new(.1-math.random()/5,.1-math.random()/5,.1-math.random()/5)
  681. table.insert(Notes,Note)
  682. end
  683. end
  684. wait(1)
  685. SplashEffect.Parent = nil
  686. Splash1cframe = nil
  687. end
  688. end
  689. end
  690. do --Left leg effect
  691. local ray = Ray.new(ll.CFrame.p, ((ll.CFrame*CFrame.new(0,-1,0)).p - ll.Position).unit*1)
  692. local hit,hitz, normal = workspace:FindPartOnRay(ray, char)
  693. if hit and hit:IsA'BasePart' and hitz then
  694. if SplashEffect2.Parent == nil then
  695. local COLOR = SplashColors[math.random(1,#SplashColors)];
  696. SplashEffect2.Parent = parts
  697. SplashEffect2.Transparency = 0.2
  698.  
  699. SplashEffect2.BrickColor = BrickColor.new(COLOR)
  700. SplashEffect2.Size = Vector3.new(.2,.2,.2)
  701. SplashEffect2Image.ImageColor3 = COLOR;
  702. SplashEffect2Image.ImageTransparency = 0
  703. SplashEffect2.CFrame = CFrame.new(hitz, hitz+normal) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, -.65, 0)
  704. Splash2cframe = SplashEffect2.CFrame
  705. light2.Color = SplashEffect2Image.ImageColor3
  706. light2.Brightness = 1
  707. light2.Range = 8
  708. if Not == true then
  709. for i = 1, math.random(6,10) do
  710. local Note = Instance.new('Part', parts)
  711. Note.CanCollide = false
  712. Note.Material = "Neon"
  713. Note.Anchored = true
  714. Note.CFrame = SplashEffect2.CFrame * CFrame.new(math.random(-4,4), -2, math.random(-4,4)) * CFrame.Angles(math.pi/2+math.random(-50,50)/220,math.random(-50,50)/220,math.random(-50,50)/20)
  715. Note.Color = SplashEffect2Image.ImageColor3
  716. Note.Size = Vector3.new(1,1,1)
  717. local mesh = Instance.new('SpecialMesh', Note)
  718. mesh.MeshId = "rbxassetid://1088207"
  719. mesh.Scale = Vector3.new(.1-math.random()/5,.1-math.random()/5,.1-math.random()/5)
  720. table.insert(Notes,Note)
  721. end
  722. end
  723. wait(1)
  724. SplashEffect2.Parent = nil
  725. Splash2cframe = nil
  726. end
  727. end
  728. end
  729. if Action == 'Dancing' then
  730. anglespeed = .95
  731. llcf = llc0 * CFrame.new(0, .2, -math_pos(math.asin(math.sin(angle))*.2)) * CFrame.Angles(math_pos(math.asin(math.sin(angle))*.2)-.12, 0, -.02)
  732. rlcf = rlc0 * CFrame.new(0, .2, -math_pos(math.asin(math.sin(angle))*.2)) * CFrame.Angles(math_pos(math.asin(math.sin(angle))*.2), 0, .02)
  733. rscf = rsc0 * CFrame.Angles(math.rad(70) - math.asin(math.sin(angle))*1.5, 0, 0)
  734. lscf = lsc0 * CFrame.Angles(math.rad(10) - math.asin(math.sin(angle))*.45, 0, -.1)
  735. rjcf = rootc0 * CFrame.new(0, -.2 + -math_neg(math.asin(math.sin(angle))*2), 0) * CFrame.Angles(-math_pos(math.asin(math.sin(angle))*.2), 0, 0)
  736. ncf = neckc0 * CFrame.Angles(-math_neg(math.asin(math.sin(angle))*.2), 0, 0)
  737. elseif Action == 'Dancing2' then
  738. anglespeed = 1.15
  739. llcf = llc0 * CFrame.new(0, -math_neg(math.sin((angle+2)*2))*.2, math_neg(math.sin((angle+4)*2)*.6)) * CFrame.Angles(-math.abs(math.asin(math.sin(angle))*.05), 0, -.02)
  740. rlcf = rlc0 * CFrame.new(0, -math_neg(math.sin(angle*2))*.2, math_neg(math.sin(angle*2)*.6)) * CFrame.Angles(-math.abs(math.asin(math.sin(angle))*.05), 0, .02)
  741. rscf = rsc0 * CFrame.Angles(math.rad(140) - math.sin(angle*1.5+(math.random()/2))*.65, 0, -.2 + math.abs(math.asin(math.sin(angle)))*.35)
  742. lscf = lsc0 * CFrame.Angles(math.rad(140) - math.sin(angle*1.5+(math.random()/2))*.65, 0, .2 - math.abs(math.asin(math.sin(angle)))*.35)
  743. rjcf = rootc0 * CFrame.new(0, -.1 + -math_neg(math.sin(angle*2)*.8), 0) * CFrame.Angles(0, 0, 0)
  744. ncf = neckc0 * CFrame.Angles(-math_neg(math.sin(angle/2)*.2), 0, math.asin(math.sin(angle))*.2)
  745. elseif Action == 'Dancing3' then
  746. anglespeed = .95
  747. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.1, 0, 0) * CFrame.Angles(0,math.asin(math.sin(angle))*.05,0)
  748. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(-math.asin(math.sin(angle)))*.5, -math_pos(-math.asin(math.sin(angle)))*.5) * CFrame.Angles(-math_pos(-math.asin(math.sin(angle)))*.4,0,.075 + -math.asin(math.sin(angle))*.05)
  749. llcf = llc0 * CFrame.new(0, -.05 + math_pos(math.asin(math.sin(angle)))*.5, -math_pos(math.asin(math.sin(angle)))*.5) * CFrame.Angles(-math_pos(math.asin(math.sin(angle)))*.4,0,-.075 + -math.asin(math.sin(angle))*.05)
  750. rscf = rsc0 * CFrame.new(0, 0, math.abs(math.asin(math.sin(angle)))*.15) * CFrame.Angles(math.rad(30) + math.abs(math.asin(math.sin(angle)))*.95, 0, math.asin(math.sin(angle))*.8)
  751. lscf = lsc0 * CFrame.new(0, 0, math.abs(math.asin(math.sin(angle)))*.15) * CFrame.Angles(math.rad(30) + math.abs(math.asin(math.sin(angle)))*.95, 0, math.asin(math.sin(angle))*.8)
  752. ncf = neckc0 * CFrame.Angles(0,-math.asin(math.sin(angle))*.5,0)
  753. elseif Action == false then
  754. if not jumphit then
  755. anglespeed = 2
  756. rlcf = rlc0 * CFrame.new(0, .15, -.15) * CFrame.Angles(-.1 - math.asin(math.sin(angle))*.05, 0, 0)
  757. llcf = llc0 * CFrame.new(0, .15, -.15) * CFrame.Angles(-.1 + math.asin(math.sin(angle))*.05, 0, 0)
  758. lscf = lsc0 * CFrame.Angles(math_min(math_max(math.rad(-torso.Velocity.y), -10), 10) - math.asin(math.sin(angle))*.05, 0, 0)
  759. rscf = rsc0 * CFrame.Angles(math_min(math_max(math.rad(-torso.Velocity.y), -10), 10) + math.asin(math.sin(angle))*.05, 0, 0)
  760. elseif Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude < 2 then
  761. anglespeed = .75
  762. ncf = neckc0 * CFrame.Angles(math.abs(math.asin(math.sin(angle))*.15), math.asin(math.sin(angle))*.15, 0)
  763. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.1, 0, 0)
  764. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(-math.asin(math.sin(angle)))*.25, -math_pos(-math.asin(math.sin(angle)))*.25) * CFrame.Angles(-math_pos(-math.asin(math.sin(angle)))*.24,0,.075 + -math.asin(math.sin(angle))*.05)
  765. llcf = llc0 * CFrame.new(0, -.05 + math_pos(math.asin(math.sin(angle)))*.25, -math_pos(math.asin(math.sin(angle)))*.25) * CFrame.Angles(-math_pos(math.asin(math.sin(angle)))*.24,0,-.075 + -math.asin(math.sin(angle))*.05)
  766. rscf = rsc0 * CFrame.Angles(-math.asin(math.sin(angle))*.25, 0, .015)
  767. lscf = lsc0 * CFrame.Angles(math.asin(math.sin(angle))*.25, 0, -.015)
  768. elseif Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude > 2 then
  769. anglespeed = 1
  770. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.025, .05 - math.cos(angle*2)*.025, 0) * CFrame.Angles(-.15 + -math.abs(math.cos(angle)*.025),math.asin(math.sin(angle))*.025,0)
  771. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(math.cos(angle - 0.25)*.3), math_neg(-math.asin(math.sin(angle))*.2)) * CFrame.Angles(-.025 + math.asin(math.sin(angle))*.4,0,.025 + -math.asin(math.sin(angle))*.025)
  772. llcf = llc0 * CFrame.new(0, -.05 + math_pos(-math.cos(angle - 0.25)*.3), math_neg(math.asin(math.sin(angle))*.2)) * CFrame.Angles(-.025 - math.asin(math.sin(angle))*.4,0,-.025 + -math.asin(math.sin(angle))*.025)
  773. rscf = rsc0 * CFrame.Angles(.5 - math.asin(math.sin(angle))*.9, 0, math.asin(math.sin(angle))*.2)
  774. lscf = lsc0 * CFrame.Angles(.5 + math.asin(math.sin(angle))*.9, 0, math.asin(math.sin(angle))*.2)
  775. end
  776. end
  777. if SplashEffect.Parent ~= nil then
  778. if light then
  779. light.Range = light.Range + 1
  780. light.Brightness = light.Brightness - .045
  781. end
  782. SplashEffect.Size = SplashEffect.Size + Vector3.new(1.25,0,1.25)
  783. SplashEffectImage.ImageTransparency = SplashEffectImage.ImageTransparency + .045
  784. SplashEffect.Transparency = SplashEffect.Transparency + .025
  785. SplashEffect.CFrame = Splash1cframe
  786. end
  787.  
  788. if Crack.Parent ~= nil then
  789. if Image.Transparency > 1 then Crack.Parent = nil end
  790. Image.Transparency = Image.Transparency + .045
  791. end
  792.  
  793. if SplashEffect2.Parent ~= nil then
  794. if light2 then
  795. light2.Range = light2.Range + 1
  796. light2.Brightness = light2.Brightness - .045
  797. end
  798. SplashEffect2.Size = SplashEffect2.Size + Vector3.new(1.25,0,1.25)
  799. SplashEffect2Image.ImageTransparency = SplashEffect2Image.ImageTransparency + .045
  800. SplashEffect2.Transparency = SplashEffect2.Transparency + .025
  801. SplashEffect2.CFrame = Splash2cframe
  802. end
  803.  
  804. for i,v in pairs(Notes) do
  805. if v and v:IsA'BasePart' then
  806. if v.Transparency > 1 then
  807. v:Destroy()
  808. table.remove(Notes, i)
  809. end
  810. v.CFrame = v.CFrame * CFrame.new(0,0,-.285)
  811. v.Transparency = v.Transparency + .025
  812. end
  813. end
  814.  
  815. if Action ~= false then
  816. if torso.Velocity.magnitude > 2 then
  817. Action = false
  818. end
  819. end
  820.  
  821. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  822. llegm.C0 = clerp(llegm.C0,llcf,speed)
  823. rj.C0 = clerp(rj.C0,rjcf,speed)
  824. rm.C0 = clerp(rm.C0,rscf,speed)
  825. lm.C0 = clerp(lm.C0,lscf,speed)
  826. rj.C0 = clerp(rj.C0,rjcf,speed)
  827. neck.C0 = clerp(neck.C0,ncf,speed)
  828. end)
  829.  
  830. plr.Chatted:connect(function(msg)
  831. if (msg:sub(1,4) == "/mc ") then
  832. s:stop();
  833. s.SoundId = "rbxassetid://"..msg:sub(5);
  834. s:play();
  835. elseif msg:lower() == "/mc epicsaxguy" then
  836. s:stop()
  837. s.SoundId = "rbxassetid://130775431"
  838. s:play()
  839. elseif msg:lower() == "/mc shirushi" then
  840. s:stop()
  841. s.SoundId = "rbxassetid://186565262"
  842. s:play()
  843. end
  844. end)
  845.  
  846.  
  847. while true do
  848. for i = 0,140,15 do
  849. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  850. frame.Rotation = 0+math.random()
  851. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  852. game:service'RunService'.RenderStepped:wait()
  853. end
  854. for i = 140,5, -15 do
  855. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  856. frame.Rotation = 0+math.random(-10,10)/10
  857. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  858. game:service'RunService'.RenderStepped:wait()
  859. end
  860. for i = 5,25,15 do
  861. frame.Rotation = 0-math.random()
  862. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  863. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  864. game:service'RunService'.RenderStepped:wait()
  865. end
  866. for i = 25,0,-15 do
  867. frame.Rotation = 0+math.random()
  868. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  869. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  870. game:service'RunService'.RenderStepped:wait()
  871. end
  872. for i = 0,75,-15 do
  873. frame.Rotation = 0-math.random()
  874. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  875. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  876. game:service'RunService'.RenderStepped:wait()
  877. end
  878. for i = 75,0,-15 do
  879. frame.Rotation = 0
  880. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  881. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  882. game:service'RunService'.RenderStepped:wait()
  883. end
  884. end
  885. end,o1)
  886. end)
  887. mas.Parent = workspace
  888. mas:MakeJoints()
  889. local mas1 = mas:GetChildren()
  890. for i=1,#mas1 do
  891. mas1[i].Parent = script
  892. ypcall(function() mas1[i]:MakeJoints() end)
  893. end
  894. mas:Destroy()
  895. for i=1,#cors do
  896. spawn(cors[i])
  897. end
  898.  
  899. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
  900. game:GetService("Lighting").Brightness = 1
  901. game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  902. game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  903. game:GetService("Lighting").GlobalShadows = true
  904. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  905. game:GetService("Lighting").Outlines = true
  906. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  907. game:GetService("Lighting").TimeOfDay = "14:00:00"
  908. game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
  909. game:GetService("Lighting").FogEnd = 100000
  910. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement