Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.34 KB | None | 0 0
  1. require(script:WaitForChild'EzConvert')();
  2. wait(1/60)
  3.  
  4.  
  5. ----script under here or die
  6. local Player = game:GetService("Players").ArciBus1
  7. local Mouse,mouse,UserInputService,ContextActionService
  8. do
  9. script.Parent = Player.Character
  10. local CAS = {Actions={}}
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13. Event.Parent = Player.Character
  14. local fakeEvent = function()
  15. local t = {_fakeEvent=true}
  16. t.Connect = function(self,f)self.Function=f end
  17. t.connect = t.Connect
  18. return t
  19. end
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. function CAS:BindAction(name,fun,touch,...)
  23. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  24. end
  25. function CAS:UnbindAction(name)
  26. CAS.Actions[name] = nil
  27. end
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36. Event.OnServerEvent:Connect(function(plr,io)
  37. if plr~=Player then return end
  38. if io.isMouse then
  39. m.Target = io.Target
  40. m.Hit = io.Hit
  41. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  42. if io.UserInputState == Enum.UserInputState.Begin then
  43. m:TrigEvent("Button1Down")
  44. else
  45. m:TrigEvent("Button1Up")
  46. end
  47. else
  48. for n,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. if io.UserInputState == Enum.UserInputState.Begin then
  56. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputBegan",io,false)
  58. else
  59. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  60. UIS:TrigEvent("InputEnded",io,false)
  61. end
  62. end
  63. end)
  64. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  65. end
  66.  
  67.  
  68. --Hello creatures from Earth, i've returned to bring some quality scripts for ya'll--
  69. --One of the best guns ever to exist, yes, the Dubstep Gun!, oh boy, you're gonna like this one :)--
  70. --This took me ALOT of work, not just the scripting part, but to make the actual Dubstep Gun--
  71. --And this took me a fair amount of robux too hehehe--
  72. --Enough talkin', enjoy the script!--
  73.  
  74. Player=game.Players.ArciBus1
  75. Character=Player.Character
  76. Character.Humanoid.Name = "noneofurbusiness"
  77. hum = Character.noneofurbusiness
  78. LeftArm=Character["Left Arm"]
  79. LeftLeg=Character["Left Leg"]
  80. RightArm=Character["Right Arm"]
  81. RightLeg=Character["Right Leg"]
  82. Root=Character["HumanoidRootPart"]
  83. Head=Character["Head"]
  84. Torso=Character["Torso"]
  85. Neck=Torso["Neck"]
  86. walking = false
  87. hitdebounce = false
  88. jumping = false
  89. attacking = false
  90. firsttime = false
  91. tauntdebounce = false
  92. position = nil
  93. classical = true
  94. dada = false
  95. industrial = false
  96. popstar = false
  97. vinyl = false
  98. brutal = false
  99. love = false
  100. godgun = false
  101. MseGuide = true
  102. running = false
  103. settime = 0
  104. sine = 0
  105. t = 0
  106. ws = 22
  107. change = 1
  108. combo1 = true
  109. equip = false
  110. swetch = false
  111. dgs = 75
  112. combo2 = false
  113. switch1 = true
  114. switch2 = false
  115. firsttime2 = false
  116. stop = false
  117. combo3 = false
  118. gunallowance = false
  119. shooting = false
  120. RunSrv = game:GetService("RunService")
  121. RenderStepped = game:GetService("RunService").RenderStepped
  122. removeuseless = game:GetService("Debris")
  123. smoothen = game:GetService("TweenService")
  124. cam = workspace.CurrentCamera
  125. randomcolortable={"Cyan","Really red","Cyan","Royal purple","Lime green","Crimson","Daisy yellow","Eggplant"} ---rainbow effect
  126. randomsound={1841352043,1841310110,1841352055}
  127. random = #randomcolortable
  128.  
  129. --[[
  130. screenGui = Instance.new("ScreenGui")
  131. screenGui.Parent = script.Parent
  132. --]]
  133.  
  134. local HEADLERP = Instance.new("ManualWeld")
  135. HEADLERP.Parent = Head
  136. HEADLERP.Part0 = Head
  137. HEADLERP.Part1 = Head
  138. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  139.  
  140. local TORSOLERP = Instance.new("ManualWeld")
  141. TORSOLERP.Parent = Root
  142. TORSOLERP.Part0 = Torso
  143. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  144.  
  145. local ROOTLERP = Instance.new("ManualWeld")
  146. ROOTLERP.Parent = Root
  147. ROOTLERP.Part0 = Root
  148. ROOTLERP.Part1 = Torso
  149. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  150.  
  151. local RIGHTARMLERP = Instance.new("ManualWeld")
  152. RIGHTARMLERP.Parent = RightArm
  153. RIGHTARMLERP.Part0 = RightArm
  154. RIGHTARMLERP.Part1 = Torso
  155. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  156.  
  157. local LEFTARMLERP = Instance.new("ManualWeld")
  158. LEFTARMLERP.Parent = LeftArm
  159. LEFTARMLERP.Part0 = LeftArm
  160. LEFTARMLERP.Part1 = Torso
  161. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  162.  
  163. local RIGHTLEGLERP = Instance.new("ManualWeld")
  164. RIGHTLEGLERP.Parent = RightLeg
  165. RIGHTLEGLERP.Part0 = RightLeg
  166. RIGHTLEGLERP.Part1 = Torso
  167. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  168.  
  169. local LEFTLEGLERP = Instance.new("ManualWeld")
  170. LEFTLEGLERP.Parent = LeftLeg
  171. LEFTLEGLERP.Part0 = LeftLeg
  172. LEFTLEGLERP.Part1 = Torso
  173. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  174.  
  175. local function weldBetween(a, b)
  176. local weld = Instance.new("ManualWeld", a)
  177. weld.Part0 = a
  178. weld.Part1 = b
  179. weld.C0 = a.CFrame:inverse() * b.CFrame
  180. return weld
  181. end
  182.  
  183. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  184. A = Instance.new("Attachment", PARENT)
  185. A.Position = POSITION1
  186. A.Name = "A"
  187. B = Instance.new("Attachment", PARENT)
  188. B.Position = POSITION2
  189. B.Name = "B"
  190. tr1 = Instance.new("Trail", PARENT)
  191. tr1.Attachment0 = A
  192. tr1.Attachment1 = B
  193. tr1.Enabled = true
  194. tr1.Lifetime = LIFETIME
  195. tr1.TextureMode = "Static"
  196. tr1.LightInfluence = 0
  197. tr1.Color = COLOR
  198. tr1.Transparency = NumberSequence.new(0, 1)
  199. end
  200.  
  201. --NOTE: DO NOT EDIT ANYTHING UNLESS YOU KNOW WHAT YOU'RE DOING!--
  202. --The dubstep gun consists of 2 separate meshes.--
  203.  
  204. dubgun = Instance.new("Part", Torso)
  205. dubgun.Size = Vector3.new(1,1,1)
  206. dubgun.Transparency = 0
  207. dubgun.CanCollide = false
  208. dubgun.BrickColor = LeftArm.BrickColor
  209. dubgunMESH = Instance.new("SpecialMesh",dubgun)
  210. dubgunMESH.MeshId = "rbxassetid://3074077141"
  211. dubgunMESH.Scale = Vector3.new(.1,.1,.1)
  212. dubgunMESH.TextureId = "rbxassetid://3074045895"
  213. dubgunweld = weldBetween(dubgun,RightArm)
  214. dubgunweld.C0 = dubgunweld.C0 * CFrame.new(-.95,.6,-.7) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(-100))
  215. coroutine.wrap(function()
  216. while true do
  217. pcall(function()
  218. if industrial then
  219. dubgunMESH.VertexColor = Vector3.new(.2,.2,.2)
  220. elseif crimson then
  221. dubgunMESH.VertexColor = Vector3.new(.3,0,0)
  222. elseif brutal then
  223. dubgunMESH.VertexColor = Vector3.new(1,0,0)
  224. elseif dada then
  225. dubgunMESH.VertexColor = Vector3.new(0,1,0)
  226. elseif vinyl then
  227. dubgunMESH.VertexColor = Vector3.new(0,.81,1)
  228. elseif love then
  229. dubgunMESH.VertexColor = Vector3.new(1,0,.85)
  230. elseif godgun then
  231. dubgunMESH.VertexColor = Vector3.new(1,1,0)
  232. elseif classical then
  233. dubgunMESH.VertexColor = Vector3.new(1,1,1)
  234. end
  235. end)
  236. wait()
  237. end
  238. end)()
  239.  
  240. lightpart = Instance.new("Part",Torso)
  241. lightpart.Size = Vector3.new(0.05, 0.3, 0.24)
  242. lightpart.Shape = "Cylinder"
  243. lightpart.Anchored = false
  244. lightpart.CanCollide = false
  245. lightpart.Material = "Neon"
  246. lightpart.BrickColor = BrickColor.new("Really red")
  247. lightpartweld = weldBetween(lightpart,dubgun)
  248. lightpartweld.C0 = CFrame.new(.2,-.575,-.79) * CFrame.Angles(0,0,math.rad(90))
  249.  
  250. light = Instance.new("PointLight", lightpart)
  251. light.Color = BrickColor.new("Really red").Color
  252. light.Range = 3
  253. light.Brightness = 2
  254. light.Enabled = true
  255.  
  256. lightpart2 = Instance.new("Part",Torso)
  257. lightpart2.Size = Vector3.new(0.05, 0.3, 0.24)
  258. lightpart2.Shape = "Cylinder"
  259. lightpart2.Anchored = false
  260. lightpart2.CanCollide = false
  261. lightpart2.Material = "Neon"
  262. lightpart2.BrickColor = BrickColor.new("Cyan")
  263. lightpartweld2 = weldBetween(lightpart2,dubgun)
  264. lightpartweld2.C0 = CFrame.new(.2,-.95,-.79) * CFrame.Angles(0,0,math.rad(90))
  265.  
  266. light = Instance.new("PointLight", lightpart2)
  267. light.Color = BrickColor.new("Cyan").Color
  268. light.Range = 2
  269. light.Brightness = 2
  270. light.Enabled = true
  271.  
  272. lightpart3 = Instance.new("Part",Torso)
  273. lightpart3.Size = Vector3.new(0.05, 0.3, 0.24)
  274. lightpart3.Shape = "Cylinder"
  275. lightpart3.Anchored = false
  276. lightpart3.CanCollide = false
  277. lightpart3.Material = "Neon"
  278. lightpart3.BrickColor = BrickColor.new("Bright yellow")
  279. lightpartweld3 = weldBetween(lightpart3,dubgun)
  280. lightpartweld3.C0 = CFrame.new(.2,-1.315,-.79) * CFrame.Angles(0,0,math.rad(90))
  281.  
  282. light = Instance.new("PointLight", lightpart3)
  283. light.Color = BrickColor.new("Bright yellow").Color
  284. light.Range = 3
  285. light.Brightness = 2
  286. light.Enabled = true
  287.  
  288. lightpart4 = Instance.new("Part",Torso)
  289. lightpart4.Size = Vector3.new(0.05, 0.3, 0.24)
  290. lightpart4.Shape = "Cylinder"
  291. lightpart4.Anchored = false
  292. lightpart4.CanCollide = false
  293. lightpart4.Material = "Neon"
  294. lightpart4.BrickColor = BrickColor.new("Really red")
  295. lightpartweld4 = weldBetween(lightpart4,dubgun)
  296. lightpartweld4.C0 = CFrame.new(.5255,-.575,-.79) * CFrame.Angles(0,0,math.rad(90))
  297.  
  298. light = Instance.new("PointLight", lightpart4)
  299. light.Color = BrickColor.new("Really red").Color
  300. light.Range = 2
  301. light.Brightness = 2
  302. light.Enabled = true
  303.  
  304. lightpart5 = Instance.new("Part",Torso)
  305. lightpart5.Size = Vector3.new(0.05, 0.3, 0.24)
  306. lightpart5.Shape = "Cylinder"
  307. lightpart5.Anchored = false
  308. lightpart5.CanCollide = false
  309. lightpart5.Material = "Neon"
  310. lightpart5.BrickColor = BrickColor.new("Cyan")
  311. lightpart5weld = weldBetween(lightpart5,dubgun)
  312. lightpart5weld.C0 = CFrame.new(.5255,-.95,-.79) * CFrame.Angles(0,0,math.rad(90))
  313.  
  314. light = Instance.new("PointLight", lightpart5)
  315. light.Color = BrickColor.new("Cyan").Color
  316. light.Range = 2
  317. light.Brightness = 2
  318. light.Enabled = true
  319.  
  320. lightpart6 = Instance.new("Part",Torso)
  321. lightpart6.Size = Vector3.new(0.05, 0.3, 0.24)
  322. lightpart6.Shape = "Cylinder"
  323. lightpart6.Anchored = false
  324. lightpart6.CanCollide = false
  325. lightpart6.Material = "Neon"
  326. lightpart6.BrickColor = BrickColor.new("Bright yellow")
  327. lightpartweld6 = weldBetween(lightpart6,dubgun)
  328. lightpartweld6.C0 = CFrame.new(.5255,-1.315,-.79) * CFrame.Angles(0,0,math.rad(90))
  329.  
  330. light = Instance.new("PointLight", lightpart6)
  331. light.Color = BrickColor.new("Bright yellow").Color
  332. light.Range = 2
  333. light.Brightness = 2
  334. light.Enabled = true
  335.  
  336. lightpart7 = Instance.new("Part",Torso)
  337. lightpart7.Size = Vector3.new(0.05, 0.52, 0.44)
  338. lightpart7.Shape = "Cylinder"
  339. lightpart7.Anchored = false
  340. lightpart7.CanCollide = false
  341. lightpart7.Material = "Neon"
  342. lightpart7.BrickColor = BrickColor.new("Cyan")
  343. lightpartweld7 = weldBetween(lightpart7,dubgun)
  344. lightpartweld7.C0 = CFrame.new(.5195,-.8,-.37) * CFrame.Angles(0,0,math.rad(90))
  345.  
  346. light = Instance.new("PointLight", lightpart7)
  347. light.Color = BrickColor.new("Cyan").Color
  348. light.Range = 4
  349. light.Brightness = 2
  350. light.Enabled = true
  351.  
  352. lightpart8 = Instance.new("Part",Torso)
  353. lightpart8.Size = Vector3.new(0.05, 0.52, 0.44)
  354. lightpart8.Shape = "Cylinder"
  355. lightpart8.Anchored = false
  356. lightpart8.CanCollide = false
  357. lightpart8.Material = "Neon"
  358. lightpart8.BrickColor = BrickColor.new("Cyan")
  359. lightpartweld8 = weldBetween(lightpart8,dubgun)
  360. lightpartweld8.C0 = CFrame.new(.195,-.8,-.37) * CFrame.Angles(0,0,math.rad(90))
  361.  
  362. light = Instance.new("PointLight", lightpart8)
  363. light.Color = BrickColor.new("Cyan").Color
  364. light.Range = 3
  365. light.Brightness = 2
  366. light.Enabled = true
  367.  
  368. lightpart9 = Instance.new("Part",Torso)
  369. lightpart9.Size = Vector3.new(0.05, 0.65, 0.59)
  370. lightpart9.Shape = "Cylinder"
  371. lightpart9.Anchored = false
  372. lightpart9.CanCollide = false
  373. lightpart9.Material = "Neon"
  374. lightpart9.BrickColor = BrickColor.new("Cyan")
  375. lightpartweld9 = weldBetween(lightpart9,dubgun)
  376. lightpartweld9.C0 = CFrame.new(.155,.21,-.2941) * CFrame.Angles(0,0,math.rad(90))
  377.  
  378. light = Instance.new("PointLight", lightpart9)
  379. light.Color = BrickColor.new("Cyan").Color
  380. light.Range = 3
  381. light.Brightness = 2
  382. light.Enabled = true
  383.  
  384. lightpart10 = Instance.new("Part",Torso)
  385. lightpart10.Size = Vector3.new(0.05, 0.65, 0.59)
  386. lightpart10.Shape = "Cylinder"
  387. lightpart10.Anchored = false
  388. lightpart10.CanCollide = false
  389. lightpart10.Material = "Neon"
  390. lightpart10.BrickColor = BrickColor.new("Cyan")
  391. lightpartweld10 = weldBetween(lightpart10,dubgun)
  392. lightpartweld10.C0 = CFrame.new(.565,.21,-.2941) * CFrame.Angles(0,0,math.rad(90))
  393.  
  394. light = Instance.new("PointLight", lightpart10)
  395. light.Color = BrickColor.new("Cyan").Color
  396. light.Range = 2
  397. light.Brightness = 2
  398. light.Enabled = true
  399.  
  400. lightpart11 = Instance.new("Part",Torso)
  401. lightpart11.Size = Vector3.new(0.05, 0.44, 0.38)
  402. lightpart11.Shape = "Cylinder"
  403. lightpart11.Anchored = false
  404. lightpart11.CanCollide = false
  405. lightpart11.Material = "Neon"
  406. lightpart11.BrickColor = BrickColor.new("Cyan")
  407. lightpartweld11 = weldBetween(lightpart11,dubgun)
  408. lightpartweld11.C0 = CFrame.new(.195,1.091,.1441) * CFrame.Angles(0,0,math.rad(90))
  409.  
  410. light = Instance.new("PointLight", lightpart11)
  411. light.Color = BrickColor.new("Cyan").Color
  412. light.Range = 2
  413. light.Brightness = 2
  414. light.Enabled = true
  415.  
  416. lightpart12 = Instance.new("Part",Torso)
  417. lightpart12.Size = Vector3.new(0.05, 0.44, 0.38)
  418. lightpart12.Shape = "Cylinder"
  419. lightpart12.Anchored = false
  420. lightpart12.CanCollide = false
  421. lightpart12.Material = "Neon"
  422. lightpart12.BrickColor = BrickColor.new("Cyan")
  423. lightpartweld12 = weldBetween(lightpart12,dubgun)
  424. lightpartweld12.C0 = CFrame.new(.525,1.091,.1441) * CFrame.Angles(0,0,math.rad(90))
  425.  
  426. light = Instance.new("PointLight", lightpart12)
  427. light.Color = BrickColor.new("Cyan").Color
  428. light.Range = 2
  429. light.Brightness = 2
  430. light.Enabled = true
  431.  
  432. lightpart13 = Instance.new("Part",Torso)
  433. lightpart13.Size = Vector3.new(0.05, 0.25, 0.19)
  434. lightpart13.Shape = "Cylinder"
  435. lightpart13.Anchored = false
  436. lightpart13.CanCollide = false
  437. lightpart13.Material = "Neon"
  438. lightpart13.BrickColor = BrickColor.new("Bright yellow")
  439. lightpartweld13 = weldBetween(lightpart13,dubgun)
  440. lightpartweld13.C0 = CFrame.new(-.17,-2.296,-.83) * CFrame.Angles(0,0,math.rad(90))
  441.  
  442. light = Instance.new("PointLight", lightpart13)
  443. light.Color = BrickColor.new("Bright yellow").Color
  444. light.Range = 4
  445. light.Brightness = 2
  446. light.Enabled = true
  447.  
  448. lightpart14 = Instance.new("Part",Torso)
  449. lightpart14.Size = Vector3.new(0.05, 0.25, 0.19)
  450. lightpart14.Shape = "Cylinder"
  451. lightpart14.Anchored = false
  452. lightpart14.CanCollide = false
  453. lightpart14.Material = "Neon"
  454. lightpart14.BrickColor = BrickColor.new("Really red")
  455. lightpartweld14 = weldBetween(lightpart14,dubgun)
  456. lightpartweld14.C0 = CFrame.new(-.17,-2.296,-.615) * CFrame.Angles(0,0,math.rad(90))
  457.  
  458. light = Instance.new("PointLight", lightpart14)
  459. light.Color = BrickColor.new("Really red").Color
  460. light.Range = 4
  461. light.Brightness = 2
  462. light.Enabled = true
  463.  
  464. lightpart15 = Instance.new("Part",Torso)
  465. lightpart15.Size = Vector3.new(0.05, 0.25, 0.19)
  466. lightpart15.Shape = "Cylinder"
  467. lightpart15.Anchored = false
  468. lightpart15.CanCollide = false
  469. lightpart15.Material = "Neon"
  470. lightpart15.BrickColor = BrickColor.new("Cyan")
  471. lightpartweld15 = weldBetween(lightpart15,dubgun)
  472. lightpartweld15.C0 = CFrame.new(-.17,-2.296,-.4) * CFrame.Angles(0,0,math.rad(90))
  473.  
  474. light = Instance.new("PointLight", lightpart15)
  475. light.Color = BrickColor.new("Cyan").Color
  476. light.Range = 2
  477. light.Brightness = 2
  478. light.Enabled = true
  479.  
  480.  
  481. dubgun2 = Instance.new("Part", Torso)
  482. dubgun2.Size = Vector3.new(1,1,1)
  483. dubgun2.Transparency = 0
  484. dubgun2.CanCollide = false
  485. dubgun2.BrickColor = LeftArm.BrickColor
  486. dubgunMESH2 = Instance.new("SpecialMesh",dubgun2)
  487. dubgunMESH2.MeshId = "rbxassetid://3074080972"
  488. dubgunMESH2.Scale = Vector3.new(.074,.074,.074)
  489. dubgunMESH2.TextureId = "rbxassetid://3074091837"
  490. dubgunweld2 = weldBetween(dubgun2,dubgun)
  491. dubgunweld2.C0 = dubgunweld.C0 * CFrame.new(.68,-.088,-.70) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(-100))
  492.  
  493. muffled = Instance.new("Sound",dubgun)
  494. muffled.SoundId = "rbxassetid://3076647485"
  495. muffled.Volume = .6
  496. muffled:Play()
  497. muffled.Looped = true
  498. muffled.Name = "muf"
  499.  
  500. dubgun.ChildRemoved:connect(function(removed)
  501. if removed.Name == "muf" then
  502. muffled = Instance.new("Sound",dubgun)
  503. if industrial then
  504. muffled.SoundId = "rbxassetid://3083263055"
  505. elseif vinyl then
  506. muffled.SoundId = "rbxassetid://3102209482"
  507. elseif brutal then
  508. muffled.SoundId = "rbxassetid://3105568121"
  509. elseif dada then
  510. muffled.SoundId = "rbxassetid://3104950452"
  511. elseif love then
  512. muffled.SoundId = "rbxassetid://3102056738"
  513. elseif godgun then
  514. muffled.SoundId = "rbxassetid://3101686252"
  515. elseif crimson then
  516. muffled.SoundId = "rbxassetid://3107797809"
  517. elseif classical then
  518. muffled.SoundId = "rbxassetid://3076647485"
  519. end
  520. muffled.Volume = .6
  521. muffled:Play()
  522. muffled.Looped = true
  523. muffled.Name = "muf"
  524. end
  525. end)
  526.  
  527. coroutine.wrap(function()
  528. while wait() do
  529. hum.WalkSpeed = ws
  530. hum.JumpPower = 75
  531. end
  532. end)()
  533. godmode = coroutine.wrap(function()
  534. for i,v in pairs(Character:GetChildren()) do
  535. if v:IsA("BasePart") and v ~= Root then
  536. v.Anchored = false
  537. end
  538. end
  539. while true do
  540. hum.MaxHealth = math.huge
  541. wait(0.0000001)
  542. hum.Health = math.huge
  543. wait()
  544. end
  545. end)
  546. godmode()
  547. ff = Instance.new("ForceField", Character)
  548. ff.Visible = false
  549.  
  550. coroutine.wrap(function()
  551. for i,v in pairs(Character:GetChildren()) do
  552. if v.Name == "Animate" then v:Remove()
  553. end
  554. end
  555. end)()
  556.  
  557. function damagealll(Radius,Position)
  558. local Returning = {}
  559. for _,v in pairs(workspace:GetChildren()) do
  560. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  561. if v:FindFirstChild("Torso") then
  562. local Mag = (v.Torso.Position - Position).magnitude
  563. if Mag < Radius then
  564. table.insert(Returning,v)
  565. end
  566. elseif v:FindFirstChild("UpperTorso") then
  567. local Mag = (v.UpperTorso.Position - Position).magnitude
  568. if Mag < Radius then
  569. table.insert(Returning,v)
  570. end
  571. end
  572. end
  573. end
  574. return Returning
  575. end
  576.  
  577. ArtificialHB = Instance.new("BindableEvent", script)
  578. ArtificialHB.Name = "Heartbeat"
  579. script:WaitForChild("Heartbeat")
  580.  
  581. frame = 1 / 60
  582. tf = 0
  583. allowframeloss = false
  584. tossremainder = false
  585.  
  586.  
  587. lastframe = tick()
  588. script.Heartbeat:Fire()
  589.  
  590.  
  591. game:GetService("RunService").Heartbeat:connect(function(s, p)
  592. tf = tf + s
  593. if tf >= frame then
  594. if allowframeloss then
  595. script.Heartbeat:Fire()
  596. lastframe = tick()
  597. else
  598. for i = 1, math.floor(tf / frame) do
  599. script.Heartbeat:Fire()
  600. end
  601. lastframe = tick()
  602. end
  603. if tossremainder then
  604. tf = 0
  605. else
  606. tf = tf - frame * math.floor(tf / frame)
  607. end
  608. end
  609. end)
  610.  
  611. function swait(num)
  612. if num == 0 or num == nil then
  613. game:service("RunService").Stepped:wait(0)
  614. else
  615. for i = 0, num do
  616. game:service("RunService").Stepped:wait(0)
  617. end
  618. end
  619. end
  620.  
  621. for _,x in pairs(Character:GetChildren()) do
  622. if x:IsA("Decal") then x:Remove() end
  623. end
  624.  
  625. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  626. so = Instance.new("Sound")
  627. so.Parent = PARENT
  628. so.SoundId = "rbxassetid://"..ID
  629. so.Volume = VOL
  630. so.Looped = LOOP
  631. so:Play()
  632. removeuseless:AddItem(so,REMOVE)
  633. end
  634.  
  635. mouse.KeyDown:connect(function(Press)
  636. Press=Press:lower()
  637. if Press=='m' then
  638. immortality()
  639. elseif Press=='z' then
  640. if debounce then return end
  641. debounce = true
  642. industrial = false
  643. godgun = false
  644. classical = true
  645. vinyl = false
  646. love = false
  647. dada = false
  648. popstar = false
  649. brutal = false
  650. crimson = false
  651. muffled.SoundId = "rbxassetid://3076647485"
  652. muffled:Play()
  653. local sm = Instance.new("Part",Torso)
  654. sm.Size = Vector3.new(2,2,2)
  655. sm.Shape = "Ball"
  656. sm.Anchored = true
  657. sm.CanCollide = false
  658. sm.CFrame = dubgun.CFrame
  659. sm.Transparency = 0
  660. sm.BrickColor = BrickColor.new("White")
  661. sm.Material = "Neon"
  662. coroutine.wrap(function()
  663. for i = 1, 30 do
  664. swait()
  665. sm.Size = sm.Size + Vector3.new(1,1,1)
  666. sm.Transparency = sm.Transparency + .05
  667. end
  668. sm:Remove()
  669. end)()
  670. local wb = Instance.new("Sound",dubgun)
  671. wb.Volume = 4
  672. wb.SoundId = "rbxassetid://1678747502"
  673. wb:Play()
  674. removeuseless:AddItem(wb,5)
  675. local particlemiter = Instance.new("ParticleEmitter",dubgun)
  676. particlemiter.Texture = "rbxassetid://1955503112"
  677. particlemiter.Size = NumberSequence.new(2,.5)
  678. particlemiter.Transparency = NumberSequence.new(0,1)
  679. particlemiter.Enabled = true
  680. particlemiter.LockedToPart = false
  681. particlemiter.Speed = NumberRange.new(20)
  682. particlemiter.RotSpeed = NumberRange.new(210)
  683. particlemiter.Lifetime = NumberRange.new(2)
  684. particlemiter.SpreadAngle = Vector2.new(-100,100)
  685. particlemiter.Rate = 500
  686. local particlemiter2 = Instance.new("ParticleEmitter",dubgun)
  687. particlemiter2.Texture = "rbxassetid://149310730"
  688. particlemiter2.Size = NumberSequence.new(2,.5)
  689. particlemiter2.Transparency = NumberSequence.new(0,1)
  690. particlemiter2.Enabled = true
  691. particlemiter2.LockedToPart = false
  692. particlemiter2.Speed = NumberRange.new(20)
  693. particlemiter2.RotSpeed = NumberRange.new(210)
  694. particlemiter2.Lifetime = NumberRange.new(2)
  695. particlemiter2.SpreadAngle = Vector2.new(-100,100)
  696. particlemiter2.Rate = 500
  697. local particlemiter3 = Instance.new("ParticleEmitter",dubgun)
  698. particlemiter3.Texture = "rbxassetid://35755888"
  699. particlemiter3.Size = NumberSequence.new(2,.5)
  700. particlemiter3.Transparency = NumberSequence.new(0,1)
  701. particlemiter3.Enabled = true
  702. particlemiter3.LockedToPart = false
  703. particlemiter3.Speed = NumberRange.new(20)
  704. particlemiter3.RotSpeed = NumberRange.new(210)
  705. particlemiter3.Lifetime = NumberRange.new(2)
  706. particlemiter3.SpreadAngle = Vector2.new(-100,100)
  707. particlemiter3.Rate = 500
  708. wait(.15)
  709. coroutine.wrap(function()
  710. particlemiter.Enabled = false
  711. particlemiter2.Enabled = false
  712. particlemiter3.Enabled = false
  713. wait(5)
  714. particlemiter3:Remove()
  715. particlemiter:Remove()
  716. particlemiter2:Remove()
  717. end)()
  718. debounce = false
  719. elseif Press=='x' then
  720. if debounce then return end
  721. debounce = true
  722. industrial = true
  723. vinyl = false
  724. love = false
  725. godgun = false
  726. classical = false
  727. popstar = false
  728. dada = false
  729. brutal = false
  730. crimson = false
  731. muffled.SoundId = "rbxassetid://3083263055"
  732. muffled:Play()
  733. local sm = Instance.new("Part",Torso)
  734. sm.Size = Vector3.new(2,2,2)
  735. sm.Shape = "Ball"
  736. sm.Anchored = true
  737. sm.CanCollide = false
  738. sm.CFrame = dubgun.CFrame
  739. sm.Transparency = 0
  740. sm.BrickColor = BrickColor.new("White")
  741. sm.Material = "Neon"
  742. coroutine.wrap(function()
  743. for i = 1, 30 do
  744. swait()
  745. sm.Size = sm.Size + Vector3.new(1,1,1)
  746. sm.Transparency = sm.Transparency + .05
  747. end
  748. sm:Remove()
  749. end)()
  750. local wb = Instance.new("Sound",dubgun)
  751. wb.Volume = 4
  752. wb.SoundId = "rbxassetid://1678747502"
  753. wb:Play()
  754. removeuseless:AddItem(wb,5)
  755. local particlemiter = Instance.new("ParticleEmitter",dubgun)
  756. particlemiter.Texture = "rbxassetid://1955503112"
  757. particlemiter.Size = NumberSequence.new(2,.5)
  758. particlemiter.Transparency = NumberSequence.new(0,1)
  759. particlemiter.Enabled = true
  760. particlemiter.LockedToPart = false
  761. particlemiter.Speed = NumberRange.new(20)
  762. particlemiter.RotSpeed = NumberRange.new(210)
  763. particlemiter.Lifetime = NumberRange.new(2)
  764. particlemiter.SpreadAngle = Vector2.new(-100,100)
  765. particlemiter.Rate = 500
  766. local particlemiter2 = Instance.new("ParticleEmitter",dubgun)
  767. particlemiter2.Texture = "rbxassetid://149310730"
  768. particlemiter2.Size = NumberSequence.new(2,.5)
  769. particlemiter2.Transparency = NumberSequence.new(0,1)
  770. particlemiter2.Enabled = true
  771. particlemiter2.LockedToPart = false
  772. particlemiter2.Speed = NumberRange.new(20)
  773. particlemiter2.RotSpeed = NumberRange.new(210)
  774. particlemiter2.Lifetime = NumberRange.new(2)
  775. particlemiter2.SpreadAngle = Vector2.new(-100,100)
  776. particlemiter2.Rate = 500
  777. local particlemiter3 = Instance.new("ParticleEmitter",dubgun)
  778. particlemiter3.Texture = "rbxassetid://35755888"
  779. particlemiter3.Size = NumberSequence.new(2,.5)
  780. particlemiter3.Transparency = NumberSequence.new(0,1)
  781. particlemiter3.Enabled = true
  782. particlemiter3.LockedToPart = false
  783. particlemiter3.Speed = NumberRange.new(20)
  784. particlemiter3.RotSpeed = NumberRange.new(210)
  785. particlemiter3.Lifetime = NumberRange.new(2)
  786. particlemiter3.SpreadAngle = Vector2.new(-100,100)
  787. particlemiter3.Rate = 500
  788. wait(.15)
  789. coroutine.wrap(function()
  790. particlemiter.Enabled = false
  791. particlemiter2.Enabled = false
  792. particlemiter3.Enabled = false
  793. wait(5)
  794. particlemiter3:Remove()
  795. particlemiter:Remove()
  796. particlemiter2:Remove()
  797. end)()
  798. debounce = false
  799. elseif Press=='c' then
  800. if debounce then return end
  801. debounce = true
  802. industrial = false
  803. godgun = true
  804. vinyl = false
  805. love = false
  806. classical = false
  807. popstar = false
  808. dada = false
  809. brutal = false
  810. crimson = false
  811. muffled.SoundId = "rbxassetid://3101686252"
  812. muffled:Play()
  813. local sm = Instance.new("Part",Torso)
  814. sm.Size = Vector3.new(2,2,2)
  815. sm.Shape = "Ball"
  816. sm.Anchored = true
  817. sm.CanCollide = false
  818. sm.CFrame = dubgun.CFrame
  819. sm.Transparency = 0
  820. sm.BrickColor = BrickColor.new("White")
  821. sm.Material = "Neon"
  822. coroutine.wrap(function()
  823. for i = 1, 30 do
  824. swait()
  825. sm.Size = sm.Size + Vector3.new(1,1,1)
  826. sm.Transparency = sm.Transparency + .05
  827. end
  828. sm:Remove()
  829. end)()
  830. local wb = Instance.new("Sound",dubgun)
  831. wb.Volume = 4
  832. wb.SoundId = "rbxassetid://1678747502"
  833. wb:Play()
  834. removeuseless:AddItem(wb,5)
  835. local particlemiter = Instance.new("ParticleEmitter",dubgun)
  836. particlemiter.Texture = "rbxassetid://1955503112"
  837. particlemiter.Size = NumberSequence.new(2,.5)
  838. particlemiter.Transparency = NumberSequence.new(0,1)
  839. particlemiter.Enabled = true
  840. particlemiter.LockedToPart = false
  841. particlemiter.Speed = NumberRange.new(20)
  842. particlemiter.RotSpeed = NumberRange.new(210)
  843. particlemiter.Lifetime = NumberRange.new(2)
  844. particlemiter.SpreadAngle = Vector2.new(-100,100)
  845. particlemiter.Rate = 500
  846. local particlemiter2 = Instance.new("ParticleEmitter",dubgun)
  847. particlemiter2.Texture = "rbxassetid://149310730"
  848. particlemiter2.Size = NumberSequence.new(2,.5)
  849. particlemiter2.Transparency = NumberSequence.new(0,1)
  850. particlemiter2.Enabled = true
  851. particlemiter2.LockedToPart = false
  852. particlemiter2.Speed = NumberRange.new(20)
  853. particlemiter2.RotSpeed = NumberRange.new(210)
  854. particlemiter2.Lifetime = NumberRange.new(2)
  855. particlemiter2.SpreadAngle = Vector2.new(-100,100)
  856. particlemiter2.Rate = 500
  857. local particlemiter3 = Instance.new("ParticleEmitter",dubgun)
  858. particlemiter3.Texture = "rbxassetid://35755888"
  859. particlemiter3.Size = NumberSequence.new(2,.5)
  860. particlemiter3.Transparency = NumberSequence.new(0,1)
  861. particlemiter3.Enabled = true
  862. particlemiter3.LockedToPart = false
  863. particlemiter3.Speed = NumberRange.new(20)
  864. particlemiter3.RotSpeed = NumberRange.new(210)
  865. particlemiter3.Lifetime = NumberRange.new(2)
  866. particlemiter3.SpreadAngle = Vector2.new(-100,100)
  867. particlemiter3.Rate = 500
  868. wait(.15)
  869. coroutine.wrap(function()
  870. particlemiter.Enabled = false
  871. particlemiter2.Enabled = false
  872. particlemiter3.Enabled = false
  873. wait(5)
  874. particlemiter3:Remove()
  875. particlemiter:Remove()
  876. particlemiter2:Remove()
  877. end)()
  878. debounce = false
  879. elseif Press=='v' then
  880. if debounce then return end
  881. debounce = true
  882. industrial = false
  883. love = true
  884. vinyl = false
  885. godgun = false
  886. classical = false
  887. popstar = false
  888. dada = false
  889. brutal = false
  890. crimson = false
  891. muffled.SoundId = "rbxassetid://3102056738"
  892. muffled:Play()
  893. local sm = Instance.new("Part",Torso)
  894. sm.Size = Vector3.new(2,2,2)
  895. sm.Shape = "Ball"
  896. sm.Anchored = true
  897. sm.CanCollide = false
  898. sm.CFrame = dubgun.CFrame
  899. sm.Transparency = 0
  900. sm.BrickColor = BrickColor.new("White")
  901. sm.Material = "Neon"
  902. coroutine.wrap(function()
  903. for i = 1, 30 do
  904. swait()
  905. sm.Size = sm.Size + Vector3.new(1,1,1)
  906. sm.Transparency = sm.Transparency + .05
  907. end
  908. sm:Remove()
  909. end)()
  910. local wb = Instance.new("Sound",dubgun)
  911. wb.Volume = 4
  912. wb.SoundId = "rbxassetid://1678747502"
  913. wb:Play()
  914. removeuseless:AddItem(wb,5)
  915. local particlemiter = Instance.new("ParticleEmitter",dubgun)
  916. particlemiter.Texture = "rbxassetid://1955503112"
  917. particlemiter.Size = NumberSequence.new(2,.5)
  918. particlemiter.Transparency = NumberSequence.new(0,1)
  919. particlemiter.Enabled = true
  920. particlemiter.LockedToPart = false
  921. particlemiter.Speed = NumberRange.new(20)
  922. particlemiter.RotSpeed = NumberRange.new(210)
  923. particlemiter.Lifetime = NumberRange.new(2)
  924. particlemiter.SpreadAngle = Vector2.new(-100,100)
  925. particlemiter.Rate = 500
  926. local particlemiter2 = Instance.new("ParticleEmitter",dubgun)
  927. particlemiter2.Texture = "rbxassetid://149310730"
  928. particlemiter2.Size = NumberSequence.new(2,.5)
  929. particlemiter2.Transparency = NumberSequence.new(0,1)
  930. particlemiter2.Enabled = true
  931. particlemiter2.LockedToPart = false
  932. particlemiter2.Speed = NumberRange.new(20)
  933. particlemiter2.RotSpeed = NumberRange.new(210)
  934. particlemiter2.Lifetime = NumberRange.new(2)
  935. particlemiter2.SpreadAngle = Vector2.new(-100,100)
  936. particlemiter2.Rate = 500
  937. local particlemiter3 = Instance.new("ParticleEmitter",dubgun)
  938. particlemiter3.Texture = "rbxassetid://35755888"
  939. particlemiter3.Size = NumberSequence.new(2,.5)
  940. particlemiter3.Transparency = NumberSequence.new(0,1)
  941. particlemiter3.Enabled = true
  942. particlemiter3.LockedToPart = false
  943. particlemiter3.Speed = NumberRange.new(20)
  944. particlemiter3.RotSpeed = NumberRange.new(210)
  945. particlemiter3.Lifetime = NumberRange.new(2)
  946. particlemiter3.SpreadAngle = Vector2.new(-100,100)
  947. particlemiter3.Rate = 500
  948. wait(.15)
  949. coroutine.wrap(function()
  950. particlemiter.Enabled = false
  951. particlemiter2.Enabled = false
  952. particlemiter3.Enabled = false
  953. wait(5)
  954. particlemiter3:Remove()
  955. particlemiter:Remove()
  956. particlemiter2:Remove()
  957. end)()
  958. debounce = false
  959. elseif Press=='b' then
  960. if debounce then return end
  961. debounce = true
  962. industrial = false
  963. love = false
  964. vinyl = true
  965. godgun = false
  966. classical = false
  967. popstar = false
  968. dada = false
  969. brutal = false
  970. crimson = false
  971. muffled.SoundId = "rbxassetid://3102209482"
  972. muffled:Play()
  973. local sm = Instance.new("Part",Torso)
  974. sm.Size = Vector3.new(2,2,2)
  975. sm.Shape = "Ball"
  976. sm.Anchored = true
  977. sm.CanCollide = false
  978. sm.CFrame = dubgun.CFrame
  979. sm.Transparency = 0
  980. sm.BrickColor = BrickColor.new("White")
  981. sm.Material = "Neon"
  982. coroutine.wrap(function()
  983. for i = 1, 30 do
  984. swait()
  985. sm.Size = sm.Size + Vector3.new(1,1,1)
  986. sm.Transparency = sm.Transparency + .05
  987. end
  988. sm:Remove()
  989. end)()
  990. local wb = Instance.new("Sound",dubgun)
  991. wb.Volume = 4
  992. wb.SoundId = "rbxassetid://1678747502"
  993. wb:Play()
  994. removeuseless:AddItem(wb,5)
  995. local particlemiter = Instance.new("ParticleEmitter",dubgun)
  996. particlemiter.Texture = "rbxassetid://1955503112"
  997. particlemiter.Size = NumberSequence.new(2,.5)
  998. particlemiter.Transparency = NumberSequence.new(0,1)
  999. particlemiter.Enabled = true
  1000. particlemiter.LockedToPart = false
  1001. particlemiter.Speed = NumberRange.new(20)
  1002. particlemiter.RotSpeed = NumberRange.new(210)
  1003. particlemiter.Lifetime = NumberRange.new(2)
  1004. particlemiter.SpreadAngle = Vector2.new(-100,100)
  1005. particlemiter.Rate = 500
  1006. local particlemiter2 = Instance.new("ParticleEmitter",dubgun)
  1007. particlemiter2.Texture = "rbxassetid://149310730"
  1008. particlemiter2.Size = NumberSequence.new(2,.5)
  1009. particlemiter2.Transparency = NumberSequence.new(0,1)
  1010. particlemiter2.Enabled = true
  1011. particlemiter2.LockedToPart = false
  1012. particlemiter2.Speed = NumberRange.new(20)
  1013. particlemiter2.RotSpeed = NumberRange.new(210)
  1014. particlemiter2.Lifetime = NumberRange.new(2)
  1015. particlemiter2.SpreadAngle = Vector2.new(-100,100)
  1016. particlemiter2.Rate = 500
  1017. local particlemiter3 = Instance.new("ParticleEmitter",dubgun)
  1018. particlemiter3.Texture = "rbxassetid://35755888"
  1019. particlemiter3.Size = NumberSequence.new(2,.5)
  1020. particlemiter3.Transparency = NumberSequence.new(0,1)
  1021. particlemiter3.Enabled = true
  1022. particlemiter3.LockedToPart = false
  1023. particlemiter3.Speed = NumberRange.new(20)
  1024. particlemiter3.RotSpeed = NumberRange.new(210)
  1025. particlemiter3.Lifetime = NumberRange.new(2)
  1026. particlemiter3.SpreadAngle = Vector2.new(-100,100)
  1027. particlemiter3.Rate = 500
  1028. wait(.15)
  1029. coroutine.wrap(function()
  1030. particlemiter.Enabled = false
  1031. particlemiter2.Enabled = false
  1032. particlemiter3.Enabled = false
  1033. wait(5)
  1034. particlemiter3:Remove()
  1035. particlemiter:Remove()
  1036. particlemiter2:Remove()
  1037. end)()
  1038. debounce = false
  1039. elseif Press=='n' then
  1040. if debounce then return end
  1041. debounce = true
  1042. industrial = false
  1043. love = false
  1044. vinyl = false
  1045. godgun = false
  1046. classical = false
  1047. popstar = false
  1048. dada = true
  1049. brutal = false
  1050. crimson = false
  1051. muffled.SoundId = "rbxassetid://3104950452"
  1052. muffled:Play()
  1053. local sm = Instance.new("Part",Torso)
  1054. sm.Size = Vector3.new(2,2,2)
  1055. sm.Shape = "Ball"
  1056. sm.Anchored = true
  1057. sm.CanCollide = false
  1058. sm.CFrame = dubgun.CFrame
  1059. sm.Transparency = 0
  1060. sm.BrickColor = BrickColor.new("White")
  1061. sm.Material = "Neon"
  1062. coroutine.wrap(function()
  1063. for i = 1, 30 do
  1064. swait()
  1065. sm.Size = sm.Size + Vector3.new(1,1,1)
  1066. sm.Transparency = sm.Transparency + .05
  1067. end
  1068. sm:Remove()
  1069. end)()
  1070. local wb = Instance.new("Sound",dubgun)
  1071. wb.Volume = 4
  1072. wb.SoundId = "rbxassetid://1678747502"
  1073. wb:Play()
  1074. removeuseless:AddItem(wb,5)
  1075. local particlemiter = Instance.new("ParticleEmitter",dubgun)
  1076. particlemiter.Texture = "rbxassetid://1955503112"
  1077. particlemiter.Size = NumberSequence.new(2,.5)
  1078. particlemiter.Transparency = NumberSequence.new(0,1)
  1079. particlemiter.Enabled = true
  1080. particlemiter.LockedToPart = false
  1081. particlemiter.Speed = NumberRange.new(20)
  1082. particlemiter.RotSpeed = NumberRange.new(210)
  1083. particlemiter.Lifetime = NumberRange.new(2)
  1084. particlemiter.SpreadAngle = Vector2.new(-100,100)
  1085. particlemiter.Rate = 500
  1086. local particlemiter2 = Instance.new("ParticleEmitter",dubgun)
  1087. particlemiter2.Texture = "rbxassetid://149310730"
  1088. particlemiter2.Size = NumberSequence.new(2,.5)
  1089. particlemiter2.Transparency = NumberSequence.new(0,1)
  1090. particlemiter2.Enabled = true
  1091. particlemiter2.LockedToPart = false
  1092. particlemiter2.Speed = NumberRange.new(20)
  1093. particlemiter2.RotSpeed = NumberRange.new(210)
  1094. particlemiter2.Lifetime = NumberRange.new(2)
  1095. particlemiter2.SpreadAngle = Vector2.new(-100,100)
  1096. particlemiter2.Rate = 500
  1097. local particlemiter3 = Instance.new("ParticleEmitter",dubgun)
  1098. particlemiter3.Texture = "rbxassetid://35755888"
  1099. particlemiter3.Size = NumberSequence.new(2,.5)
  1100. particlemiter3.Transparency = NumberSequence.new(0,1)
  1101. particlemiter3.Enabled = true
  1102. particlemiter3.LockedToPart = false
  1103. particlemiter3.Speed = NumberRange.new(20)
  1104. particlemiter3.RotSpeed = NumberRange.new(210)
  1105. particlemiter3.Lifetime = NumberRange.new(2)
  1106. particlemiter3.SpreadAngle = Vector2.new(-100,100)
  1107. particlemiter3.Rate = 500
  1108. wait(.15)
  1109. coroutine.wrap(function()
  1110. particlemiter.Enabled = false
  1111. particlemiter2.Enabled = false
  1112. particlemiter3.Enabled = false
  1113. wait(5)
  1114. particlemiter3:Remove()
  1115. particlemiter:Remove()
  1116. particlemiter2:Remove()
  1117. end)()
  1118. debounce = false
  1119. elseif Press=='l' then
  1120. if debounce then return end
  1121. debounce = true
  1122. industrial = false
  1123. love = false
  1124. vinyl = false
  1125. godgun = false
  1126. classical = false
  1127. crimson = false
  1128. popstar = false
  1129. dada = false
  1130. brutal = true
  1131. muffled.SoundId = "rbxassetid://3105568121"
  1132. muffled:Play()
  1133. local sm = Instance.new("Part",Torso)
  1134. sm.Size = Vector3.new(2,2,2)
  1135. sm.Shape = "Ball"
  1136. sm.Anchored = true
  1137. sm.CanCollide = false
  1138. sm.CFrame = dubgun.CFrame
  1139. sm.Transparency = 0
  1140. sm.BrickColor = BrickColor.new("White")
  1141. sm.Material = "Neon"
  1142. coroutine.wrap(function()
  1143. for i = 1, 30 do
  1144. swait()
  1145. sm.Size = sm.Size + Vector3.new(1,1,1)
  1146. sm.Transparency = sm.Transparency + .05
  1147. end
  1148. sm:Remove()
  1149. end)()
  1150. local wb = Instance.new("Sound",dubgun)
  1151. wb.Volume = 4
  1152. wb.SoundId = "rbxassetid://1678747502"
  1153. wb:Play()
  1154. removeuseless:AddItem(wb,5)
  1155. local particlemiter = Instance.new("ParticleEmitter",dubgun)
  1156. particlemiter.Texture = "rbxassetid://1955503112"
  1157. particlemiter.Size = NumberSequence.new(2,.5)
  1158. particlemiter.Transparency = NumberSequence.new(0,1)
  1159. particlemiter.Enabled = true
  1160. particlemiter.LockedToPart = false
  1161. particlemiter.Speed = NumberRange.new(20)
  1162. particlemiter.RotSpeed = NumberRange.new(210)
  1163. particlemiter.Lifetime = NumberRange.new(2)
  1164. particlemiter.SpreadAngle = Vector2.new(-100,100)
  1165. particlemiter.Rate = 500
  1166. local particlemiter2 = Instance.new("ParticleEmitter",dubgun)
  1167. particlemiter2.Texture = "rbxassetid://149310730"
  1168. particlemiter2.Size = NumberSequence.new(2,.5)
  1169. particlemiter2.Transparency = NumberSequence.new(0,1)
  1170. particlemiter2.Enabled = true
  1171. particlemiter2.LockedToPart = false
  1172. particlemiter2.Speed = NumberRange.new(20)
  1173. particlemiter2.RotSpeed = NumberRange.new(210)
  1174. particlemiter2.Lifetime = NumberRange.new(2)
  1175. particlemiter2.SpreadAngle = Vector2.new(-100,100)
  1176. particlemiter2.Rate = 500
  1177. local particlemiter3 = Instance.new("ParticleEmitter",dubgun)
  1178. particlemiter3.Texture = "rbxassetid://35755888"
  1179. particlemiter3.Size = NumberSequence.new(2,.5)
  1180. particlemiter3.Transparency = NumberSequence.new(0,1)
  1181. particlemiter3.Enabled = true
  1182. particlemiter3.LockedToPart = false
  1183. particlemiter3.Speed = NumberRange.new(20)
  1184. particlemiter3.RotSpeed = NumberRange.new(210)
  1185. particlemiter3.Lifetime = NumberRange.new(2)
  1186. particlemiter3.SpreadAngle = Vector2.new(-100,100)
  1187. particlemiter3.Rate = 500
  1188. wait(.15)
  1189. coroutine.wrap(function()
  1190. particlemiter.Enabled = false
  1191. particlemiter2.Enabled = false
  1192. particlemiter3.Enabled = false
  1193. wait(5)
  1194. particlemiter3:Remove()
  1195. particlemiter:Remove()
  1196. particlemiter2:Remove()
  1197. end)()
  1198. debounce = false
  1199. elseif Press=='k' then
  1200. if debounce then return end
  1201. debounce = true
  1202. industrial = false
  1203. love = false
  1204. vinyl = false
  1205. godgun = false
  1206. classical = false
  1207. popstar = false
  1208. dada = false
  1209. brutal = false
  1210. crimson = true
  1211. muffled.SoundId = "rbxassetid://3107797809"
  1212. muffled:Play()
  1213. local sm = Instance.new("Part",Torso)
  1214. sm.Size = Vector3.new(2,2,2)
  1215. sm.Shape = "Ball"
  1216. sm.Anchored = true
  1217. sm.CanCollide = false
  1218. sm.CFrame = dubgun.CFrame
  1219. sm.Transparency = 0
  1220. sm.BrickColor = BrickColor.new("White")
  1221. sm.Material = "Neon"
  1222. coroutine.wrap(function()
  1223. for i = 1, 30 do
  1224. swait()
  1225. sm.Size = sm.Size + Vector3.new(1,1,1)
  1226. sm.Transparency = sm.Transparency + .05
  1227. end
  1228. sm:Remove()
  1229. end)()
  1230. local wb = Instance.new("Sound",dubgun)
  1231. wb.Volume = 4
  1232. wb.SoundId = "rbxassetid://1678747502"
  1233. wb:Play()
  1234. removeuseless:AddItem(wb,5)
  1235. local particlemiter = Instance.new("ParticleEmitter",dubgun)
  1236. particlemiter.Texture = "rbxassetid://1955503112"
  1237. particlemiter.Size = NumberSequence.new(2,.5)
  1238. particlemiter.Transparency = NumberSequence.new(0,1)
  1239. particlemiter.Enabled = true
  1240. particlemiter.LockedToPart = false
  1241. particlemiter.Speed = NumberRange.new(20)
  1242. particlemiter.RotSpeed = NumberRange.new(210)
  1243. particlemiter.Lifetime = NumberRange.new(2)
  1244. particlemiter.SpreadAngle = Vector2.new(-100,100)
  1245. particlemiter.Rate = 500
  1246. local particlemiter2 = Instance.new("ParticleEmitter",dubgun)
  1247. particlemiter2.Texture = "rbxassetid://149310730"
  1248. particlemiter2.Size = NumberSequence.new(2,.5)
  1249. particlemiter2.Transparency = NumberSequence.new(0,1)
  1250. particlemiter2.Enabled = true
  1251. particlemiter2.LockedToPart = false
  1252. particlemiter2.Speed = NumberRange.new(20)
  1253. particlemiter2.RotSpeed = NumberRange.new(210)
  1254. particlemiter2.Lifetime = NumberRange.new(2)
  1255. particlemiter2.SpreadAngle = Vector2.new(-100,100)
  1256. particlemiter2.Rate = 500
  1257. local particlemiter3 = Instance.new("ParticleEmitter",dubgun)
  1258. particlemiter3.Texture = "rbxassetid://35755888"
  1259. particlemiter3.Size = NumberSequence.new(2,.5)
  1260. particlemiter3.Transparency = NumberSequence.new(0,1)
  1261. particlemiter3.Enabled = true
  1262. particlemiter3.LockedToPart = false
  1263. particlemiter3.Speed = NumberRange.new(20)
  1264. particlemiter3.RotSpeed = NumberRange.new(210)
  1265. particlemiter3.Lifetime = NumberRange.new(2)
  1266. particlemiter3.SpreadAngle = Vector2.new(-100,100)
  1267. particlemiter3.Rate = 500
  1268. wait(.15)
  1269. coroutine.wrap(function()
  1270. particlemiter.Enabled = false
  1271. particlemiter2.Enabled = false
  1272. particlemiter3.Enabled = false
  1273. wait(5)
  1274. particlemiter3:Remove()
  1275. particlemiter:Remove()
  1276. particlemiter2:Remove()
  1277. end)()
  1278. debounce = false
  1279. end
  1280. end)
  1281.  
  1282. mouse.Button1Down:connect(function()
  1283. if debounce then return end
  1284. debounce = true
  1285. attacking = true
  1286. stop = false
  1287. change = .5
  1288. local enigma = false
  1289. x1 = Instance.new("Sound",dubgun)
  1290. if industrial then
  1291. x1.SoundId = "rbxassetid://3083319302"
  1292. elseif brutal then
  1293. x1.SoundId = "rbxassetid://3105571797"
  1294. elseif dada then
  1295. x1.SoundId = "rbxassetid://3105045607"
  1296. elseif crimson then
  1297. x1.SoundId = "rbxassetid://3107799061"
  1298. elseif love then
  1299. x1.SoundId = "rbxassetid://3102055459"
  1300. elseif vinyl then
  1301. x1.SoundId = "rbxassetid://3102210476"
  1302. elseif classical then
  1303. x1.SoundId = "rbxassetid://3076784522"
  1304. elseif godgun then
  1305. x1.SoundId = "rbxassetid://3101688545"
  1306. end
  1307. x1.Volume = 8
  1308. x1.Looped = false
  1309. x1:Play()
  1310. muffled.Volume = 0
  1311. local zm = true
  1312. local mz = false
  1313. local g1 = Instance.new("BodyGyro", Root)
  1314. g1.D = 175
  1315. g1.P = 2000
  1316. g1.MaxTorque = Vector3.new(0,9000000,0)
  1317. wait(.1)
  1318. coroutine.wrap(function()
  1319. while zm do
  1320. if stop then break end
  1321. change = .5
  1322. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.09)
  1323. if swetch then
  1324. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(48), math.rad(0)),.2)
  1325. else
  1326. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(21), math.rad(0)),.2)
  1327. end
  1328. if godgun then
  1329. cam.FieldOfView = cam.FieldOfView - .08
  1330. elseif crimson then
  1331. cam.FieldOfView = cam.FieldOfView - .11
  1332. else
  1333. cam.FieldOfView = cam.FieldOfView - .23
  1334. end
  1335. swait()
  1336. end
  1337. if stop then
  1338. mz = true
  1339. removeuseless:AddItem(g1,.001)
  1340. end
  1341. end)()
  1342. wait(x1.TimeLength)
  1343. if mz then
  1344. removeuseless:AddItem(g1,.001)
  1345. else
  1346. local p = Instance.new("Part", dubgun)
  1347. p.Size = Vector3.new(1,1,1)
  1348. p.CanCollide = false
  1349. p.Transparency = 1
  1350. pw = weldBetween(p,dubgun)
  1351. pw.C0 = CFrame.new(-3.3,-0,.6)
  1352. local shockwave = Instance.new("Part", Torso)
  1353. shockwave.Size = Vector3.new(5, 5, 5)
  1354. shockwave.Transparency = .4
  1355. if industrial then
  1356. shockwave.BrickColor = BrickColor.new("Really black")
  1357. elseif dada then
  1358. shockwave.BrickColor = BrickColor.new("Lime green")
  1359. elseif brutal then
  1360. shockwave.BrickColor = BrickColor.new("Really red")
  1361. elseif vinyl then
  1362. shockwave.BrickColor = BrickColor.new("Cyan")
  1363. elseif love then
  1364. shockwave.BrickColor = BrickColor.new("Pink")
  1365. elseif godgun then
  1366. shockwave.BrickColor = BrickColor.new("Gold")
  1367. elseif classical then
  1368. shockwave.BrickColor = BrickColor.new("White")
  1369. elseif crimson then
  1370. shockwave.BrickColor = BrickColor.new("Crimson")
  1371. end
  1372. shockwave.Anchored = true
  1373. shockwave.CanCollide = false
  1374. shockwave.CFrame = p.CFrame*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90))
  1375. sh = Instance.new("SpecialMesh", shockwave)
  1376. sh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1377. sh.Scale = Vector3.new(0, 0, 0)
  1378. local shockwave2 = Instance.new("Part", Torso)
  1379. shockwave2.Size = Vector3.new(5, 5, 5)
  1380. shockwave2.Transparency = .7
  1381. if industrial then
  1382. shockwave2.BrickColor = BrickColor.new("Really black")
  1383. elseif dada then
  1384. shockwave2.BrickColor = BrickColor.new("Lime green")
  1385. elseif brutal then
  1386. shockwave2.BrickColor = BrickColor.new("Really red")
  1387. elseif love then
  1388. shockwave2.BrickColor = BrickColor.new("Pink")
  1389. elseif vinyl then
  1390. shockwave2.BrickColor = BrickColor.new("Cyan")
  1391. elseif godgun then
  1392. shockwave2.BrickColor = BrickColor.new("Gold")
  1393. elseif classical then
  1394. shockwave2.BrickColor = BrickColor.new("White")
  1395. elseif crimson then
  1396. shockwave2.BrickColor = BrickColor.new("Crimson")
  1397. end
  1398. shockwave2.Anchored = true
  1399. shockwave2.CanCollide = false
  1400. shockwave2.CFrame = p.CFrame*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90))
  1401. sh2 = Instance.new("SpecialMesh", shockwave2)
  1402. sh2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1403. sh2.Scale = Vector3.new(2, 2, 2)
  1404. local shockwave3 = Instance.new("Part", Torso)
  1405. shockwave3.Size = Vector3.new(5, 5, 5)
  1406. shockwave3.Transparency = .2
  1407. if industrial then
  1408. shockwave3.BrickColor = BrickColor.new("Really black")
  1409. elseif dada then
  1410. shockwave3.BrickColor = BrickColor.new("Lime green")
  1411. elseif brutal then
  1412. shockwave3.BrickColor = BrickColor.new("Really red")
  1413. elseif love then
  1414. shockwave3.BrickColor = BrickColor.new("Pink")
  1415. elseif vinyl then
  1416. shockwave3.BrickColor = BrickColor.new("Cyan")
  1417. elseif godgun then
  1418. shockwave3.BrickColor = BrickColor.new("Gold")
  1419. elseif classical then
  1420. shockwave3.BrickColor = BrickColor.new("White")
  1421. elseif crimson then
  1422. shockwave3.BrickColor = BrickColor.new("Crimson")
  1423. end
  1424. shockwave3.Anchored = true
  1425. shockwave3.CanCollide = false
  1426. shockwave3.CFrame = p.CFrame*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90))
  1427. sh3 = Instance.new("SpecialMesh", shockwave3)
  1428. sh3.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1429. sh3.Scale = Vector3.new(0, 0, 0)
  1430. local Blaster = Instance.new("Part", dubgun)
  1431. Blaster.Material = "Neon"
  1432. Blaster.Anchored = true
  1433. Blaster.CanCollide = false
  1434. Blaster.Transparency = .1
  1435. if industrial then
  1436. Blaster.BrickColor = BrickColor.new("Really black")
  1437. elseif dada then
  1438. Blaster.BrickColor = BrickColor.new("Lime green")
  1439. elseif brutal then
  1440. Blaster.BrickColor = BrickColor.new("Really red")
  1441. elseif vinyl then
  1442. Blaster.BrickColor = BrickColor.new("Cyan")
  1443. elseif love then
  1444. Blaster.BrickColor = BrickColor.new("Pink")
  1445. elseif godgun then
  1446. Blaster.BrickColor = BrickColor.new("Gold")
  1447. elseif classical then
  1448. Blaster.BrickColor = BrickColor.Random()
  1449. elseif crimson then
  1450. Blaster.BrickColor = BrickColor.new("Crimson")
  1451. end
  1452. Blaster.Size = Vector3.new(5,5,5)
  1453. BlasterShape = Instance.new("SpecialMesh", Blaster)
  1454. BlasterShape.MeshType = "Sphere"
  1455. BlasterShape.Scale = Vector3.new(1.8,1.8,1.8)
  1456. Blaster.CFrame = dubgun.CFrame * CFrame.new(43, 0, 0)
  1457. local TheBeam = Instance.new("Part", Blaster)
  1458. TheBeam.CanCollide = false
  1459. TheBeam.Shape = "Cylinder"
  1460. TheBeam.Transparency = .1
  1461. TheBeam.Size = Vector3.new(1000,3,3)
  1462. TheBeam.Material = "Neon"
  1463. TheBeam.Transparency = .25
  1464. TheBeam.Anchored = true
  1465. TheBeam.BrickColor = Blaster.BrickColor
  1466. TheBeam.CFrame = Blaster.CFrame * CFrame.new(-500,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1467. clenn = coroutine.wrap(function()
  1468. for i = 1, 40 do
  1469. sh.Scale = sh.Scale + Vector3.new(1,0,1)
  1470. sh.Parent.Transparency = sh.Parent.Transparency + .05
  1471. sh2.Scale = sh2.Scale + Vector3.new(1,0,1)
  1472. sh2.Parent.Transparency = sh2.Parent.Transparency + .05
  1473. sh3.Scale = sh3.Scale + Vector3.new(1,0,1)
  1474. sh3.Parent.Transparency = sh3.Parent.Transparency + .05
  1475. Blaster.Size = Blaster.Size - Vector3.new(5,5,5)
  1476. Blaster.Transparency = Blaster.Transparency + .05
  1477. TheBeam.Size = TheBeam.Size - Vector3.new(0,4,4)
  1478. TheBeam.Transparency = TheBeam.Transparency + .05
  1479. swait()
  1480. end
  1481. sh.Parent:Remove()
  1482. sh2.Parent:Remove()
  1483. sh3.Parent:Remove()
  1484. Blaster:Remove()
  1485. TheBeam:Remove()
  1486. end)
  1487. enigma = true
  1488. DASOUND = Instance.new("Sound",dubgun)
  1489. DASOUND.Volume = 8
  1490. if industrial then
  1491. DASOUND.SoundId = "rbxassetid://3083320744"
  1492. elseif dada then
  1493. DASOUND.SoundId = "rbxassetid://1736332220"
  1494. elseif love then
  1495. DASOUND.SoundId = "rbxassetid://1736518563"
  1496. elseif vinyl then
  1497. DASOUND.SoundId = "rbxassetid://1839911846"
  1498. elseif classical then
  1499. DASOUND.SoundId = "rbxassetid://3076799059"
  1500. elseif brutal then
  1501. DASOUND.SoundId = "rbxassetid://3105617268"
  1502. DASOUND.Pitch = .945
  1503. elseif crimson then
  1504. DASOUND.SoundId = "rbxassetid://3107798630"
  1505. elseif godgun then
  1506. DASOUND.SoundId = "rbxassetid://3101767795"
  1507. DASOUND.Pitch = .7
  1508. end
  1509. DASOUND.Looped = true
  1510. DASOUND:Play()
  1511. t = 0
  1512. n = 0
  1513. b = 0
  1514. coroutine.wrap(function()
  1515. while wait(.6) do
  1516. if not zm then break end
  1517. coroutine.wrap(function()
  1518. local b1 = Instance.new("Part",Torso)
  1519. b1.Size = Vector3.new(1,1,1)
  1520. b1.Anchored = true
  1521. b1.CanCollide = false
  1522. b1.Transparency = 1
  1523. b1.CFrame = p.CFrame * CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-.5,15))
  1524. local l1 = b1:Clone() l1.Parent = Torso l1.Transparency = 1 l1.CFrame = p.CFrame
  1525. for i = 1, 20 do
  1526. l1.CFrame = l1.CFrame:lerp(CFrame.new(b1.Position),.1)
  1527. local magic = Instance.new("Part",Torso)
  1528. magic.Anchored = true
  1529. magic.CanCollide = false
  1530. magic.BrickColor = Blaster.BrickColor
  1531. magic.Material = "Neon"
  1532. magic.Size = Vector3.new(3+.5*math.sin(sine),3+.5*math.sin(sine),3+.5*math.sin(sine))
  1533. magic.CFrame = l1.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1534. coroutine.wrap(function()
  1535. for i = 1, 20 do
  1536. magic.Transparency = magic.Transparency + .05
  1537. swait()
  1538. end
  1539. magic:Remove()
  1540. end)()
  1541. swait()
  1542. end
  1543. local toched = false
  1544. l1.Anchored = false
  1545. local m1 = Instance.new("Part",Torso)
  1546. m1.Size = Vector3.new(1,1,1)
  1547. m1.Anchored = true
  1548. m1.CanCollide = false
  1549. m1.Transparency = 1
  1550. m1.Name = "m1"
  1551. m1.CFrame = CFrame.new(mouse.Hit.p)
  1552. local bov = Instance.new("BodyVelocity",l1)
  1553. bov.maxForce = Vector3.new(99999,99999,99999)
  1554. l1.CFrame = CFrame.new(l1.Position,m1.Position)
  1555. bov.velocity = l1.CFrame.lookVector*200
  1556. l1.Touched:connect(function(hit)
  1557. if hit:IsA("Part") and hit.Name == "m1" then
  1558. if toched then return end
  1559. l1.Anchored = true
  1560. toched = true
  1561. for i = 1, 15 do
  1562. local c = Instance.new("Part",Torso)
  1563. c.Size = Vector3.new(2,1,2)
  1564. c.Material = "Neon"
  1565. c.Anchored = true
  1566. c.Shape = "Cylinder"
  1567. c.CanCollide = false
  1568. c.BrickColor = Blaster.BrickColor
  1569. c.CFrame = m1.CFrame * CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15)) * CFrame.Angles(math.rad(90),math.rad(90),0)
  1570. coroutine.wrap(function()
  1571. for i = 1, 30 do
  1572. c.Size = c.Size + Vector3.new(4,0,0)
  1573. c.Transparency = c.Transparency + .035
  1574. swait()
  1575. end
  1576. c:Remove()
  1577. end)()
  1578. end
  1579. random2 = randomsound[math.random(1,#randomsound)]
  1580. local sloc = Instance.new("Part",Torso)
  1581. sloc.CFrame = m1.CFrame
  1582. sloc.Anchored = true
  1583. sloc.Transparency = 1
  1584. sloc.CanCollide = false
  1585. sloc.Size = Vector3.new(1,1,1)
  1586. local s = Instance.new("Sound",sloc)
  1587. s.SoundId = "rbxassetid://"..random2
  1588. s.Volume = 2
  1589. s:Play()
  1590. removeuseless:AddItem(sloc,6)
  1591. Hit = damagealll(25,m1.Position)
  1592. for _,v in pairs(Hit) do
  1593. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1594. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1595. slachtoffer:TakeDamage(math.random(14,25))
  1596. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1597. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1598. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1599. vel.velocity = CFrame.new(m1.Position,torso.Position).lookVector*85
  1600. removeuseless:AddItem(vel,.1)
  1601. end
  1602. end
  1603. local boom = Instance.new("Part",Torso)
  1604. boom.Size = Vector3.new(2,2,2)
  1605. boom.Transparency = 0
  1606. boom.BrickColor = Blaster.BrickColor
  1607. boom.Anchored = true
  1608. boom.CanCollide = false
  1609. boom.CFrame = m1.CFrame
  1610. boom.Material = "Neon"
  1611. boom.Shape = "Ball"
  1612. for i = 1, 20 do
  1613. boom.Size = boom.Size + Vector3.new(5,5,5)
  1614. boom.Transparency = boom.Transparency + .05
  1615. swait()
  1616. end
  1617. boom:Remove()
  1618. m1:Remove()
  1619. toched = true
  1620. end
  1621. end)
  1622. while true do
  1623. if toched then break end
  1624. local magic = Instance.new("Part",Torso)
  1625. magic.Anchored = true
  1626. magic.CanCollide = false
  1627. magic.BrickColor = Blaster.BrickColor
  1628. magic.Material = "Neon"
  1629. magic.Size = Vector3.new(3+.5*math.sin(sine),3+.5*math.sin(sine),3+.5*math.sin(sine))
  1630. magic.CFrame = l1.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1631. coroutine.wrap(function()
  1632. for i = 1, 20 do
  1633. magic.Transparency = magic.Transparency + .05
  1634. swait()
  1635. end
  1636. magic:Remove()
  1637. end)()
  1638. swait()
  1639. end
  1640. end)()
  1641. end
  1642. end)()
  1643. coroutine.wrap(function()
  1644. while wait(1.7) do
  1645. if not zm then break end
  1646. random = randomcolortable[math.random(1,#randomcolortable)]
  1647. local z = {
  1648. Color = BrickColor.new(random).Color
  1649. }
  1650. if classical then
  1651. local lol = smoothen:Create(TheBeam,TweenInfo.new(2,Enum.EasingStyle.Linear),z)
  1652. lol:Play()
  1653. local lol2 = smoothen:Create(Blaster,TweenInfo.new(2,Enum.EasingStyle.Linear),z)
  1654. lol2:Play()
  1655. local lol3 = smoothen:Create(shockwave,TweenInfo.new(2,Enum.EasingStyle.Linear),z)
  1656. lol3:Play()
  1657. local lol4 = smoothen:Create(shockwave2,TweenInfo.new(2,Enum.EasingStyle.Linear),z)
  1658. lol4:Play()
  1659. local lol5 = smoothen:Create(shockwave3,TweenInfo.new(2,Enum.EasingStyle.Linear),z)
  1660. lol5:Play()
  1661. end
  1662. end
  1663. end)()
  1664. while true do
  1665. if stop then break end
  1666. t = t + 25
  1667. n = n + 12
  1668. b = b + 5
  1669. if godgun then
  1670. Blaster.CFrame = p.CFrame * CFrame.new(12,0,0)
  1671. else
  1672. Blaster.CFrame = p.CFrame * CFrame.new(3,0,0)
  1673. end
  1674. local STARTPOS = Blaster.CFrame*CFrame.new(0,0,0).p
  1675. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  1676. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  1677. shockwave.CFrame = p.CFrame * CFrame.Angles(math.rad(n),math.rad(0),math.rad(-90))
  1678. shockwave2.CFrame = p.CFrame * CFrame.Angles(math.rad(t),math.rad(0),math.rad(-90))
  1679. shockwave3.CFrame = p.CFrame * CFrame.Angles(math.rad(b),math.rad(0),math.rad(-90))
  1680. if godgun then
  1681. sh3.Scale = Vector3.new(24 + 6 * math.sin(sine), 2 , 24 + 6 * math.sin(sine))
  1682. sh2.Scale = Vector3.new(12 + 3 * math.sin(sine), 1 , 12 + 3 * math.sin(sine))
  1683. sh.Scale = Vector3.new(6 + 1.5 * math.sin(sine), .5, 6 + 1.5 * math.sin(sine))
  1684. TheBeam.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1685. TheBeam.Size = Vector3.new(DISTANCE,16 + 4 * math.sin(sine),16 + 4 * math.sin(sine))
  1686. Blaster.Size = Vector3.new(16 + 4 * math.sin(sine), 16 + 4 * math.sin(sine), 16 + 4 * math.sin(sine))
  1687. else
  1688. sh3.Scale = Vector3.new(8 + 2 * math.sin(sine),.5 + .1 * math.sin(sine/2),8 + 2 * math.sin(sine))
  1689. sh2.Scale = Vector3.new(4 + 1 * math.sin(sine), .25 + .05 * math.sin(sine/2), 4 + 1 * math.sin(sine))
  1690. sh.Scale = Vector3.new(2 + .5 * math.sin(sine), .125 + .025 * math.sin(sine/2), 2 + .5 * math.sin(sine))
  1691. TheBeam.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1692. TheBeam.Size = Vector3.new(DISTANCE,4 + 1 * math.sin(sine),4 + 1 * math.sin(sine))
  1693. Blaster.Size = Vector3.new(4 + 1 * math.sin(sine), 4 + 1 * math.sin(sine), 4 + 1 * math.sin(sine))
  1694. end
  1695. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.09)
  1696. local wubsplosion = Instance.new("Part",Torso)
  1697. if godgun then
  1698. wubsplosion.Size = Vector3.new(62 + 10 * math.sin(sine),62 + 10 * math.sin(sine),62 + 10 * math.sin(sine))
  1699. else
  1700. wubsplosion.Size = Vector3.new(13 + 4 * math.sin(sine),13 + 2 * math.sin(sine),13 + 4 * math.sin(sine))
  1701. end
  1702. wubsplosion.Anchored = true
  1703. wubsplosion.BrickColor = TheBeam.BrickColor
  1704. wubsplosion.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1705. wubsplosion.Transparency = .6
  1706. wubsplosion.CanCollide = false
  1707. wubsplosion.Material = "Neon"
  1708. coroutine.wrap(function()
  1709. for i = 1, 50 do
  1710. if godgun then
  1711. wubsplosion.Size = wubsplosion.Size - Vector3.new(4,4,4)
  1712. else
  1713. wubsplosion.Transparency = wubsplosion.Transparency - .02
  1714. wubsplosion.Size = wubsplosion.Size - Vector3.new(1,1,1)
  1715. end
  1716. swait()
  1717. end
  1718. wubsplosion:Remove()
  1719. end)()
  1720. if godgun then
  1721. Hit = damagealll(38,wubsplosion.Position)
  1722. for _,v in pairs(Hit) do
  1723. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1724. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1725. slachtoffer.Parent:BreakJoints()
  1726. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1727. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1728. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1729. vel.velocity = CFrame.new(wubsplosion.Position,torso.Position).lookVector*500
  1730. removeuseless:AddItem(vel,.1)
  1731. end
  1732. end
  1733. elseif vinyl then
  1734. Hit = damagealll(15,wubsplosion.Position)
  1735. for _,v in pairs(Hit) do
  1736. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1737. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1738. slachtoffer:TakeDamage(math.random(10,20))
  1739. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1740. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1741. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1742. vel.velocity = CFrame.new(wubsplosion.Position,torso.Position).lookVector*30
  1743. removeuseless:AddItem(vel,.1)
  1744. end
  1745. end
  1746. else
  1747. Hit = damagealll(8,wubsplosion.Position)
  1748. for _,v in pairs(Hit) do
  1749. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1750. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1751. slachtoffer:TakeDamage(math.random(2,7))
  1752. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1753. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1754. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1755. vel.velocity = CFrame.new(wubsplosion.Position,torso.Position).lookVector*60
  1756. removeuseless:AddItem(vel,.1)
  1757. end
  1758. end
  1759. end
  1760. if swetch then
  1761. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(48), math.rad(0)),.2)
  1762. else
  1763. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(21), math.rad(0)),.2)
  1764. end
  1765. cam.FieldOfView = 70 - DASOUND.PlaybackLoudness/75
  1766. swait()
  1767. end
  1768. end
  1769. pcall(function()
  1770. clenn()
  1771. end)
  1772. zm = false
  1773. removeuseless:AddItem(g1,.001)
  1774. if enigma then
  1775. local m = Instance.new("Sound",dubgun)
  1776. if industrial then
  1777. m.SoundId = "rbxassetid://3083339955"
  1778. elseif brutal then
  1779. m.SoundId = "rbxassetid://3105577759"
  1780. elseif vinyl then
  1781. m.SoundId = "rbxassetid://3102208752"
  1782. elseif love then
  1783. m.SoundId = "rbxassetid://3102056030"
  1784. elseif dada then
  1785. m.SoundId = "rbxassetid://3104950005"
  1786. elseif classical then
  1787. m.SoundId = "rbxassetid://3076953125"
  1788. elseif crimson then
  1789. m.SoundId = "rbxassetid://3107798078"
  1790. elseif dubgun then
  1791. m.SoundId = "rbxassetid://3101688961"
  1792. end
  1793. m.Volume = 8
  1794. m:Play()
  1795. removeuseless:AddItem(m,6)
  1796. end
  1797. end)
  1798.  
  1799. mouse.Button1Up:connect(function()
  1800. attacking = false
  1801. debounce = false
  1802. stop = true
  1803. cam.FieldOfView = 70
  1804. muffled.Volume = .8
  1805. ws = 22
  1806. pcall(function()
  1807. x1:Remove()
  1808. DASOUND:Remove()
  1809. ROOTLERP.C1 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1810. end)
  1811.  
  1812. end)
  1813.  
  1814. checks1 = coroutine.wrap(function() -------Checks
  1815. while true do
  1816. if Root.Velocity.y > 1 then
  1817. position = "Jump"
  1818. elseif Root.Velocity.y < -1 then
  1819. position = "Falling"
  1820. elseif Root.Velocity.Magnitude < 5 then
  1821. position = "Idle"
  1822. elseif Root.Velocity.Magnitude > 5 then
  1823. position = "Walking"
  1824. else
  1825. end
  1826. wait()
  1827. end
  1828. end)
  1829. checks1()
  1830.  
  1831. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1832. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1833. end
  1834.  
  1835. function ray2(StartPos, EndPos, Distance, Ignore)
  1836. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1837. return ray(StartPos, DIRECTION, Distance, Ignore)
  1838. end
  1839.  
  1840. OrgnC0 = Neck.C0
  1841. local movelimbs = coroutine.wrap(function()
  1842. while wait() do
  1843. TrsoLV = Torso.CFrame.lookVector
  1844. Dist = nil
  1845. Diff = nil
  1846. if not MseGuide then
  1847. print("Failed to recognize")
  1848. else
  1849. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1850. Dist = (Head.CFrame.p-Point).magnitude
  1851. Diff = Head.CFrame.Y-Point.Y
  1852. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1853. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1854. Diff2 = LeftArm.CFrame.Y-Point.Y
  1855. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1856. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  1857. end
  1858. end
  1859. end)
  1860. movelimbs()
  1861. immortal = {}
  1862. for i,v in pairs(Character:GetDescendants()) do
  1863. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  1864. if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  1865. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1866. end
  1867. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  1868. elseif v:IsA("JointInstance") then
  1869. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  1870. end
  1871. end
  1872. for e = 1, #immortal do
  1873. if immortal[e] ~= nil then
  1874. local STUFF = immortal[e]
  1875. local PART = STUFF[1]
  1876. local PARENT = STUFF[2]
  1877. local MATERIAL = STUFF[3]
  1878. local COLOR = STUFF[4]
  1879. local TRANSPARENCY = STUFF[5]
  1880. if levitate then
  1881. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1882. PART.Material = MATERIAL
  1883. PART.Color = COLOR
  1884. PART.Transparency = TRANSPARENCY
  1885. end
  1886. PART.AncestryChanged:connect(function()
  1887. PART.Parent = PARENT
  1888. end)
  1889. else
  1890. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1891. PART.Material = MATERIAL
  1892. PART.Color = COLOR
  1893. PART.Transparency = TRANSPARENCY
  1894. end
  1895. PART.AncestryChanged:connect(function()
  1896. PART.Parent = PARENT
  1897. end)
  1898. end
  1899. end
  1900. end
  1901. function immortality()
  1902. for e = 1, #immortal do
  1903. if immortal[e] ~= nil then
  1904. local STUFF = immortal[e]
  1905. local PART = STUFF[1]
  1906. local PARENT = STUFF[2]
  1907. local MATERIAL = STUFF[3]
  1908. local COLOR = STUFF[4]
  1909. local TRANSPARENCY = STUFF[5]
  1910. if PART.ClassName == "Part" and PART == Root then
  1911. PART.Material = MATERIAL
  1912. PART.Color = COLOR
  1913. PART.Transparency = TRANSPARENCY
  1914. end
  1915. if PART.Parent ~= PARENT then
  1916. hum:Remove()
  1917. PART.Parent = PARENT
  1918. hum = Instance.new("Humanoid",Character)
  1919. if levitate then
  1920. eyo1:Remove()
  1921. eyo2:Remove()
  1922. end
  1923. hum.Name = "noneofurbusiness"
  1924. end
  1925. end
  1926. end
  1927. end
  1928. coroutine.wrap(function()
  1929. while true do
  1930. hum:SetStateEnabled("Dead",false) hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  1931. if hum.Health < .1 then
  1932. immortality()
  1933. end
  1934. wait()
  1935. end
  1936. end)()
  1937.  
  1938. local anims = coroutine.wrap(function()
  1939. while true do
  1940. settime = 0.05
  1941. sine = sine + change
  1942. if position == "Jump" then
  1943. change = 1
  1944. spin = false
  1945. if attacking then
  1946. swetch = false
  1947. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9, 1, .35) * CFrame.Angles(math.rad(-105), math.rad(0), math.rad(10)), 0.2)
  1948. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, -.2, .45) * CFrame.Angles(math.rad(-110), math.rad(-60), math.rad(0)), 0.2)
  1949. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.09)
  1950. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1951. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  1952. else
  1953. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1954. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9, .85, .35) * CFrame.Angles(math.rad(-46 + 3 * math.sin(sine/8)), math.rad(9 + 1 * math.sin(sine/8)), math.rad(13)), 0.2)
  1955. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, -.2, -.05) * CFrame.Angles(math.rad(-55 + 4 *math.sin(sine/8)), math.rad(-60 + 2 * math.sin(sine/8)), math.rad(0)), 0.2)
  1956. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.09)
  1957. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1958. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  1959. end
  1960. elseif position == "Falling" then
  1961. change = 1
  1962. spin = false
  1963. if attacking then
  1964. swetch = false
  1965. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9, 1, .35) * CFrame.Angles(math.rad(-85), math.rad(0), math.rad(10)), 0.2)
  1966. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, -.2, .45) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.2)
  1967. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.09)
  1968. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/12), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.25)
  1969. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
  1970. else
  1971. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1972. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.09)
  1973. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9, .85, .35) * CFrame.Angles(math.rad(-46 + 3 * math.sin(sine/8)), math.rad(9 + 1 * math.sin(sine/8)), math.rad(13)), 0.2)
  1974. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, -.2, -.05) * CFrame.Angles(math.rad(-55 + 4 *math.sin(sine/8)), math.rad(-60 + 2 * math.sin(sine/8)), math.rad(0)), 0.2)
  1975. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/12), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.25)
  1976. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
  1977. end
  1978. elseif position == "Walking" then
  1979. change = 1.2
  1980. walking = true
  1981. spin = false
  1982. ws = 22
  1983. if attacking then
  1984. swetch = true
  1985. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9, 1, .35) * CFrame.Angles(math.rad(-95), math.rad(0), math.rad(10)), 0.2)
  1986. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, -.2, .45) * CFrame.Angles(math.rad(-100), math.rad(-60), math.rad(0)), 0.2)
  1987. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.62 + .54 * math.cos(sine/8)/2.8,.2 + .5 * math.sin(sine/8)) * CFrame.Angles(math.rad(20 + 60* math.sin(sine/8)), math.rad(9-16)*math.cos(sine/8), math.rad(0), math.cos(65 * math.cos(sine/8))), 0.3)
  1988. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.62 - .54 * math.cos(sine/8)/2.8,.2 - .5 * math.sin(sine/8)) * CFrame.Angles(math.rad(20 - 60* math.sin(sine/8)), math.rad(-9+16)*math.cos(sine/8), math.rad(0), math.cos(65 * math.cos(sine/8))), 0.3)
  1989. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + 0.19*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
  1990. else
  1991. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1992. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9, .85, .35) * CFrame.Angles(math.rad(-46 + 3 * math.sin(sine/8)), math.rad(9 + 1 * math.sin(sine/8)), math.rad(13)), 0.2)
  1993. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, -.2, -.05) * CFrame.Angles(math.rad(-55 + 4 *math.sin(sine/8)), math.rad(-60 + 2 * math.sin(sine/8)), math.rad(0)), 0.2)
  1994. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1995. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1996. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + 0.19*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
  1997. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.62 + .54 * math.cos(sine/8)/2.8,.2 + .5 * math.sin(sine/8)) * CFrame.Angles(math.rad(20 + 60* math.sin(sine/8)), math.rad(9-16)*math.cos(sine/8), math.rad(0), math.cos(65 * math.cos(sine/8))), 0.3)
  1998. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.62 - .54 * math.cos(sine/8)/2.8,.2 - .5 * math.sin(sine/8)) * CFrame.Angles(math.rad(20 - 60* math.sin(sine/8)), math.rad(-9+16)*math.cos(sine/8), math.rad(0), math.cos(65 * math.cos(sine/8))), 0.3)
  1999. end
  2000. elseif position == "Idle" then
  2001. change = .5
  2002. spin = true
  2003. if attacking then
  2004. swetch = false
  2005. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9, 1, .35) * CFrame.Angles(math.rad(-85), math.rad(0), math.rad(10)), 0.2)
  2006. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, -.2, .45) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.2)
  2007. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2008. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2009. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2010. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2011. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),.2)
  2012. else
  2013. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2014. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9, .85, .35) * CFrame.Angles(math.rad(-52 + 2 * math.sin(sine/12)), math.rad(9 + 1 * math.sin(sine/12)), math.rad(13)), 0.2)
  2015. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, -.2, -.05) * CFrame.Angles(math.rad(-62 + 3 *math.sin(sine/12)), math.rad(-60 + 2 * math.sin(sine/12)), math.rad(0)), 0.2)
  2016. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),.2)
  2017. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2018. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2019. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2020. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2021. end
  2022. end
  2023. swait()
  2024. end
  2025. end)
  2026. anims()
  2027. warn("FEEL THE BASS! Made by Taphly")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement