Advertisement
Dowuer

Untitled

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