Advertisement
Lukas17

Untitled

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