Advertisement
Official_Supr14

Shrike | Non fe

Jul 13th, 2019
7,976
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.77 KB | None | 0 0
  1. -----------//SHRIKE THE DICE GOD\\-----------
  2. --[[Movelist
  3. Q = Teleport
  4. E = Massive rend
  5. R = Dice throw
  6. T = Taunt
  7. Y = Super kick(Target someone first)
  8. U = Combustion light
  9. P = Portal kick
  10. F = Ultra form
  11. G = Portal shotgun
  12. H = Widowdicer(Sidekick)(Press again to make her dissapear)
  13. J = Invisible(Press again to appear)
  14. K = Lightning dice(Target someone first)
  15. L = The end(Obliterates anything that's close)
  16. -----WIDOWDICER CONTROLS-----
  17. Z = Shoot
  18. X = Swap gun to Uzi
  19. C = Swap gun to Desert eagle
  20. V = Swap gun to Raygun
  21. B = Remove/wear glasses.
  22. ---------]]
  23.  
  24. --Alright Xester, you had your fun.--
  25. --It's time for something new.--
  26.  
  27. Player=game.Players.LocalPlayer
  28. Character=Player.Character
  29. Character.Humanoid.Name = "noneofurbusiness"
  30. hum = Character.noneofurbusiness
  31. LeftArm=Character["Left Arm"]
  32. LeftLeg=Character["Left Leg"]
  33. RightArm=Character["Right Arm"]
  34. RightLeg=Character["Right Leg"]
  35. Root=Character["HumanoidRootPart"]
  36. Head=Character["Head"]
  37. Torso=Character["Torso"]
  38. Neck=Torso["Neck"]
  39. mouse = Player:GetMouse()
  40. walking = false
  41. hitdebounce = false
  42. jumping = false
  43. invisible = false
  44. attacking = false
  45. firsttime = false
  46. tauntdebounce = false
  47. raygun = false
  48. position = nil
  49. classical = true
  50. dada = false
  51. secondform = false
  52. industrial = false
  53. sidekicktaunting = false
  54. popstar = false
  55. vinyl = false
  56. brutal = false
  57. love = false
  58. godgun = false
  59. talkingtalking = false
  60. glasson = true
  61. glassonp = false
  62. sidekick = false
  63. MseGuide = true
  64. sidekickshootanim = false
  65. running = false
  66. settime = 0
  67. sine = 0
  68. t = 0
  69. ws = 32
  70. change = 1
  71. combo1 = true
  72. equip = false
  73. swetch = false
  74. dgs = 75
  75. combo2 = false
  76. switch1 = true
  77. switch2 = false
  78. tauntdebounce = false
  79. firsttime2 = false
  80. stop = false
  81. combo3 = false
  82. gunallowance = false
  83. shooting = false
  84. RunSrv = game:GetService("RunService")
  85. RenderStepped = game:GetService("RunService").RenderStepped
  86. removeuseless = game:GetService("Debris")
  87. smoothen = game:GetService("TweenService")
  88. cam = workspace.CurrentCamera
  89. randomcolortable={"Cyan","Really red","Cyan","Royal purple","Lime green","Crimson","Daisy yellow","Eggplant"} ---rainbow effect
  90. randomsound={1841352043,1841310110,1841352055}
  91. dicesound={3122807673,3122808037,3122808415,3122808790,3122809131}
  92. shellsound={3178804103,3178804279,3178804471}
  93. shellsound2={3182143803,3182144291,3182144511}
  94. local dmt2 = {1843002153,3111464957,3164241009}
  95. local soundtable = {3164866143,3164866542,3164866984,3164867563,3164868011,3164868391,3164868830,3164869532,3164869991,3164870493,3164872506,3164872843,3164873181}
  96. local p2 = {3206942440,3206936546,3206936808,3206937465}
  97. local p1 = {3206782096,3206785806,3206954599,3206954963,3206955213,3206955582,3206955890,3206956319,3206956640,3206957177}
  98. local secondtheme={561542239,3206925146}
  99. random = #randomcolortable
  100.  
  101. screenGui = Instance.new("ScreenGui")
  102. screenGui.Parent = script.Parent
  103.  
  104. local HEADLERP = Instance.new("ManualWeld")
  105. HEADLERP.Parent = Head
  106. HEADLERP.Part0 = Head
  107. HEADLERP.Part1 = Head
  108. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  109.  
  110. local TORSOLERP = Instance.new("ManualWeld")
  111. TORSOLERP.Parent = Root
  112. TORSOLERP.Part0 = Torso
  113. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  114.  
  115. local ROOTLERP = Instance.new("ManualWeld")
  116. ROOTLERP.Parent = Root
  117. ROOTLERP.Part0 = Root
  118. ROOTLERP.Part1 = Torso
  119. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  120.  
  121. local RIGHTARMLERP = Instance.new("ManualWeld")
  122. RIGHTARMLERP.Parent = RightArm
  123. RIGHTARMLERP.Part0 = RightArm
  124. RIGHTARMLERP.Part1 = Torso
  125. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  126.  
  127. local LEFTARMLERP = Instance.new("ManualWeld")
  128. LEFTARMLERP.Parent = LeftArm
  129. LEFTARMLERP.Part0 = LeftArm
  130. LEFTARMLERP.Part1 = Torso
  131. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  132.  
  133. local RIGHTLEGLERP = Instance.new("ManualWeld")
  134. RIGHTLEGLERP.Parent = RightLeg
  135. RIGHTLEGLERP.Part0 = RightLeg
  136. RIGHTLEGLERP.Part1 = Torso
  137. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  138.  
  139. local LEFTLEGLERP = Instance.new("ManualWeld")
  140. LEFTLEGLERP.Parent = LeftLeg
  141. LEFTLEGLERP.Part0 = LeftLeg
  142. LEFTLEGLERP.Part1 = Torso
  143. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  144.  
  145. local function weldBetween(a, b)
  146. local weld = Instance.new("ManualWeld", a)
  147. weld.Part0 = a
  148. weld.Part1 = b
  149. weld.C0 = a.CFrame:inverse() * b.CFrame
  150. return weld
  151. end
  152.  
  153. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  154. A = Instance.new("Attachment", PARENT)
  155. A.Position = POSITION1
  156. A.Name = "A"
  157. B = Instance.new("Attachment", PARENT)
  158. B.Position = POSITION2
  159. B.Name = "B"
  160. tr1 = Instance.new("Trail", PARENT)
  161. tr1.Attachment0 = A
  162. tr1.Attachment1 = B
  163. tr1.Enabled = true
  164. tr1.Lifetime = LIFETIME
  165. tr1.TextureMode = "Static"
  166. tr1.LightInfluence = 0
  167. tr1.Color = COLOR
  168. tr1.Transparency = NumberSequence.new(0, 1)
  169. end
  170.  
  171. coroutine.wrap(function()
  172. while wait() do
  173. if secondform then
  174. elseif invisible then
  175. else
  176. doomtheme.Volume = 3
  177. end
  178. hum.WalkSpeed = ws
  179. hum.JumpPower = 75
  180. LeftArm.BrickColor = BrickColor.new("Really black")
  181. RightArm.BrickColor = BrickColor.new("Really black")
  182. Head.BrickColor = BrickColor.new("Really black")
  183. end
  184. end)()
  185. godmode = coroutine.wrap(function()
  186. for i,v in pairs(Character:GetChildren()) do
  187. if v:IsA("BasePart") and v ~= Root then
  188. v.Anchored = false
  189. end
  190. end
  191. while true do
  192. hum.MaxHealth = math.huge
  193. wait(0.0000001)
  194. hum.Health = math.huge
  195. wait()
  196. end
  197. end)
  198. godmode()
  199. ff = Instance.new("ForceField", Character)
  200. ff.Visible = false
  201.  
  202. ----defaultpos----
  203. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  204. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  205. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  206. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  207. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  208. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  209. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  210. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  211. ----defaultpos----
  212.  
  213. coroutine.wrap(function()
  214. for i,v in pairs(Character:GetChildren()) do
  215. if v.Name == "Animate" then v:Remove()
  216. end
  217. end
  218. end)()
  219.  
  220. function damagealll(Radius,Position)
  221. local Returning = {}
  222. for _,v in pairs(workspace:GetChildren()) do
  223. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  224. if v:FindFirstChild("Torso") then
  225. local Mag = (v.Torso.Position - Position).magnitude
  226. if Mag < Radius then
  227. table.insert(Returning,v)
  228. end
  229. elseif v:FindFirstChild("UpperTorso") then
  230. local Mag = (v.UpperTorso.Position - Position).magnitude
  231. if Mag < Radius then
  232. table.insert(Returning,v)
  233. end
  234. end
  235. end
  236. end
  237. return Returning
  238. end
  239.  
  240. ArtificialHB = Instance.new("BindableEvent", script)
  241. ArtificialHB.Name = "Heartbeat"
  242. script:WaitForChild("Heartbeat")
  243.  
  244. frame = 1 / 60
  245. tf = 0
  246. allowframeloss = false
  247. tossremainder = false
  248.  
  249.  
  250. lastframe = tick()
  251. script.Heartbeat:Fire()
  252.  
  253.  
  254. game:GetService("RunService").Heartbeat:connect(function(s, p)
  255. tf = tf + s
  256. if tf >= frame then
  257. if allowframeloss then
  258. script.Heartbeat:Fire()
  259. lastframe = tick()
  260. else
  261. for i = 1, math.floor(tf / frame) do
  262. script.Heartbeat:Fire()
  263. end
  264. lastframe = tick()
  265. end
  266. if tossremainder then
  267. tf = 0
  268. else
  269. tf = tf - frame * math.floor(tf / frame)
  270. end
  271. end
  272. end)
  273.  
  274. function swait(num)
  275. if num == 0 or num == nil then
  276. game:service("RunService").Stepped:wait(0)
  277. else
  278. for i = 0, num do
  279. game:service("RunService").Stepped:wait(0)
  280. end
  281. end
  282. end
  283.  
  284. for _,x in pairs(Character:GetChildren()) do
  285. if x:IsA("Decal") then x:Remove() end
  286. end
  287.  
  288. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  289. so = Instance.new("Sound")
  290. so.Parent = PARENT
  291. so.SoundId = "rbxassetid://"..ID
  292. so.Volume = VOL
  293. so.Looped = LOOP
  294. so:Play()
  295. removeuseless:AddItem(so,REMOVE)
  296. end
  297.  
  298. for _,n in pairs(Character:GetChildren()) do
  299. if n:IsA("Accessory") then n:Remove() end
  300. end
  301. for _,x in pairs(Character:GetChildren()) do
  302. if x:IsA("Decal") then x:Remove() end
  303. end
  304. Head.face:Remove()
  305.  
  306. dmt2random = dmt2[math.random(1,#dmt2)]
  307. doomtheme = Instance.new("Sound", Torso)
  308. doomtheme.Volume = 3
  309. doomtheme.Name = "doomtheme"
  310. doomtheme.Looped = true
  311. doomtheme.SoundId = "rbxassetid://"..dmt2random
  312. doomtheme:Play()
  313.  
  314. Torso.ChildRemoved:connect(function(removed)
  315. if removed.Name == "doomtheme" then
  316. if secondform then
  317. local thousand = secondtheme[math.random(1,#secondtheme)]
  318. doomtheme = Instance.new("Sound",Torso)
  319. doomtheme.SoundId = "rbxassetid://"..thousand
  320. if invisible then
  321. doomtheme.Volume = 0
  322. else
  323. doomtheme.Volume = 4
  324. end
  325. doomtheme.Name = "doomtheme"
  326. doomtheme.Looped = true
  327. doomtheme:Play()
  328. else
  329. dmt2random = dmt2[math.random(1,#dmt2)]
  330. doomtheme = Instance.new("Sound",Torso)
  331. doomtheme.SoundId = "rbxassetid://2683987785"
  332. doomtheme.SoundId = "rbxassetid://"..dmt2random
  333. if invisible then
  334. doomtheme.Volume = 0
  335. else
  336. doomtheme.Volume = 3
  337. end
  338. doomtheme.Name = "doomtheme"
  339. doomtheme.Looped = true
  340. doomtheme:Play()
  341. end
  342. end
  343. end)
  344.  
  345. eyo = Instance.new("Part",Head)
  346. eyo.BrickColor = BrickColor.new("White")
  347. eyo.Material = "Neon"
  348. eyo.Name = "eyo"
  349. eyo.CanCollide = false
  350. eyo.Size = Vector3.new(0.11, 0.12, 0.11)
  351. eyeballmesh = Instance.new("SpecialMesh",eyo)
  352. eyeballmesh.MeshType = "Sphere"
  353. eyoweld = weldBetween(eyo,Head)
  354. eyoweld.C0 = CFrame.new(-.215,-.21,.515)
  355.  
  356. coroutine.wrap(function()
  357. while true do
  358. wait(5)
  359. for i = 1, 10 do
  360. eyo.Size = eyo.Size - Vector3.new(0,.008,0)
  361. swait()
  362. end
  363. for i = 1, 10 do
  364. eyo.Size = eyo.Size + Vector3.new(0,.008,0)
  365. swait()
  366. end
  367. swait()
  368. end
  369. end)()
  370.  
  371. leftlocation = Instance.new("Part",LeftArm)
  372. leftlocation.Size = Vector3.new(1,1,1)
  373. leftlocation.Transparency = 1
  374. leftlocationweld = weldBetween(leftlocation,LeftArm)
  375. leftlocationweld.C0 = CFrame.new(0,1.2,0)
  376. rightlocation = Instance.new("Part",RightArm)
  377. rightlocation.Size = Vector3.new(1,1,1)
  378. rightlocation.Transparency = 1
  379. rightlocationweld = weldBetween(rightlocation,RightArm)
  380. rightlocationweld.C0 = CFrame.new(0,1.2,0)
  381.  
  382. fedora = Instance.new("Part",Character)
  383. fedora.Size = Vector3.new(2,2,2)
  384. fedora.CFrame = Head.CFrame
  385. fedora.CanCollide = false
  386. fedoraweld = Instance.new("Weld",fedora)
  387. fedoraweld.Part0 = fedora
  388. fedoraweld.Part1 = Head
  389. fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(-.1,-1.04,0) * CFrame.Angles(math.rad(0),math.rad(-20),math.rad(-10))
  390. mfedora = Instance.new("SpecialMesh", fedora)
  391. mfedora.MeshType = "FileMesh"
  392. mfedora.Scale = Vector3.new(1.18, 1.18, 1.18)
  393. mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=11144636','http://www.roblox.com/asset/?id=1416342992'
  394.  
  395. mask = Instance.new("Part",Character)
  396. mask.Size = Vector3.new(2,2,2)
  397. mask.CFrame = Head.CFrame
  398. mask.CanCollide = false
  399. maskweld = Instance.new("Weld",mask)
  400. maskweld.Part0 = mask
  401. maskweld.Part1 = Head
  402. maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-.16,-.1,.62) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0))
  403. mmask = Instance.new("SpecialMesh", mask)
  404. mmask.MeshType = "FileMesh"
  405. mmask.Scale = Vector3.new(1.25, 1.25, 1.25)
  406. mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=12470186','http://www.roblox.com/asset/?id=238375294'
  407.  
  408. shirt = Instance.new("Shirt", Character)
  409. shirt.Name = "Shirt"
  410. pants = Instance.new("Pants", Character)
  411. pants.Name = "Pants"
  412. Character.Shirt.ShirtTemplate = "rbxassetid://33209766"----lol
  413. Character.Pants.PantsTemplate = "rbxassetid://33210029"
  414.  
  415. slaten = Instance.new("Decal",mask)
  416. slaten.Texture = "rbxassetid://654786596"
  417. slaten.Color3 = Color3.new(0, 0, 0)
  418. slaten.Face = "Top"
  419.  
  420. slaten2 = Instance.new("Decal",mask)
  421. slaten2.Texture = "rbxassetid://647393266"
  422. slaten2.Color3 = Color3.new(0, 0, 0)
  423. slaten2.Face = "Top"
  424.  
  425. mouse.KeyDown:connect(function(Press)
  426. Press=Press:lower()
  427. if Press=='m' then
  428. immortality()
  429. for i,v in pairs(Player.Character:GetDescendants()) do
  430. if v:IsA("BodyVelocity") then
  431. v:Remove()
  432. end
  433. end
  434. elseif Press=='r' then
  435. if debounce then return end
  436. debounce = true
  437. attacking = true
  438. g1 = Instance.new("BodyGyro", Root)
  439. g1.D = 175
  440. g1.P = 20000
  441. g1.MaxTorque = Vector3.new(0,9000,0)
  442. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  443. ws = 4
  444. for i = 1, 20 do
  445. 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)
  446. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  447. 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)
  448. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  449. 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)
  450. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  451. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  452. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2)
  453. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.2)
  454. swait()
  455. end
  456. ws = 0
  457. local dice = Instance.new("Part",Torso)
  458. local mv = (dice.Position - mouse.Hit.p).magnitude
  459. if mv > 50 then
  460. mv = 50
  461. end
  462. dice.CanCollide = true
  463. dice.CFrame = Root.CFrame * CFrame.new(2,0,-3.6) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  464. dice.Anchored = false
  465. dice.Transparency = 1
  466. dice.Size = Vector3.new(.5,.5,.5)
  467. dice.Velocity = CFrame.new(dice.Position,mouse.Hit.p).lookVector*(mv * 2)
  468. dicemesh = Instance.new("SpecialMesh",dice)
  469. dicemesh.MeshId = "rbxassetid://95358536"
  470. dicemesh.TextureId = "rbxassetid://100025876"
  471. dicemesh.Scale = Vector3.new(.21,.21,.21)
  472. coroutine.wrap(function()
  473. for i = 1, 10 do
  474. dice.Transparency = dice.Transparency - .1
  475. swait()
  476. end
  477. end)()
  478. local toched = false
  479. dice.Touched:connect(function(explod)
  480. if toched then return end
  481. toched = true
  482. r = dicesound[math.random(1,#dicesound)]
  483. local daic = Instance.new("Sound",dice)
  484. daic.SoundId = "rbxassetid://"..r
  485. daic.Volume = 10
  486. daic:Play()
  487. wait(1.5)
  488. ex2 = Instance.new("Part",Torso)
  489. ex2.Anchored = true
  490. ex2.CanCollide = false
  491. ex2.Transparency = 1
  492. ex2.Size = Vector3.new(.1,.1,.1)
  493. ex2.CFrame = dice.CFrame
  494. removeuseless:AddItem(ex2,4)
  495. local ex = Instance.new("Sound",ex2)
  496. ex.SoundId = "rbxassetid://3122872389"
  497. ex.Volume = 10
  498. ex:Play()
  499. Hit = damagealll(34,dice.Position)
  500. for _,v in pairs(Hit) do
  501. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  502. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  503. if secondform then
  504. slachtoffer.Parent:BreakJoints()
  505. else
  506. slachtoffer:TakeDamage(math.random(48,72))
  507. end
  508. if secondform then
  509. coroutine.wrap(function()
  510. if tauntdebounce then return end
  511. tauntdebounce = true
  512. rdnm2 = p1[math.random(1,#p1)]
  513. tauntsound = Instance.new("Sound", Head)
  514. tauntsound.Volume = 10
  515. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  516. tauntsound.Looped = false
  517. tauntsound:Play()
  518. wait(3)
  519. wait(tauntsound.TimeLength)
  520. tauntsound:Remove()
  521. wait(1)
  522. tauntdebounce = false
  523. end)()
  524. end
  525. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  526. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  527. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  528. vel.velocity = CFrame.new(dice.Position,torso.Position).lookVector*125
  529. removeuseless:AddItem(vel,.1)
  530. end
  531. end
  532. dice:Remove()
  533. local lightofdeath = Instance.new("Part",Torso)
  534. lightofdeath.Size = Vector3.new(1000000,20,20)
  535. lightofdeath.CanCollide = false
  536. lightofdeath.Anchored = true
  537. lightofdeath.Material = "Neon"
  538. lightofdeath.Transparency = .1
  539. lightofdeath.BrickColor = BrickColor.new("White")
  540. lightofdeath.CFrame = CFrame.new(dice.Position) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  541. lightofdeath.Shape = "Cylinder"
  542. coroutine.wrap(function()
  543. local shockwave = Instance.new("Part", Torso)
  544. shockwave.Size = Vector3.new(1,1,1)
  545. shockwave.CanCollide = false
  546. shockwave.Anchored = true
  547. shockwave.Transparency = 0
  548. shockwave.BrickColor = BrickColor.new("White")
  549. shockwave.CFrame = CFrame.new(dice.Position) * CFrame.new(0,-1.75,0)
  550. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  551. shockwavemesh.Scale = Vector3.new(4,.7,4)
  552. shockwavemesh.MeshId = "rbxassetid://20329976"
  553. local shockwave2 = Instance.new("Part", Torso)
  554. shockwave2.Size = Vector3.new(1,1,1)
  555. shockwave2.CanCollide = false
  556. shockwave2.Anchored = true
  557. shockwave2.Transparency = 0
  558. shockwave2.BrickColor = BrickColor.new("White")
  559. shockwave2.CFrame = CFrame.new(dice.Position) * CFrame.new(0,-1.6,0)
  560. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  561. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  562. shockwavemesh2.MeshId = "rbxassetid://20329976"
  563. local shockwave3 = Instance.new("Part", Torso)
  564. shockwave3.Size = Vector3.new(1,1,1)
  565. shockwave3.CanCollide = false
  566. shockwave3.Anchored = true
  567. shockwave3.Transparency = 0
  568. shockwave3.BrickColor = BrickColor.new("Really black")
  569. shockwave3.CFrame = CFrame.new(dice.Position) * CFrame.new(0,-1.75,0)
  570. local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  571. shockwavemesh3.Scale = Vector3.new(4,.7,4)
  572. shockwavemesh3.MeshId = "rbxassetid://20329976"
  573. local shockwave4 = Instance.new("Part", Torso)
  574. shockwave4.Size = Vector3.new(1,1,1)
  575. shockwave4.CanCollide = false
  576. shockwave4.Anchored = true
  577. shockwave2.Transparency = 0
  578. shockwave4.BrickColor = BrickColor.new("Really black")
  579. shockwave4.CFrame = CFrame.new(dice.Position) * CFrame.new(0,-1.6,0)
  580. local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  581. shockwavemesh4.Scale = Vector3.new(4,.7,4)
  582. shockwavemesh4.MeshId = "rbxassetid://20329976"
  583. local e = Instance.new("Part",Torso)
  584. e.Size = Vector3.new(2,2,2)
  585. e.Material = "Neon"
  586. e.Anchored = true
  587. e.CanCollide = false
  588. e.CFrame = dice.CFrame
  589. e.Shape = "Ball"
  590. e.BrickColor = BrickColor.new("White")
  591. for i = 1, 50 do
  592. e.Size = e.Size + Vector3.new(3.5,3.5,3.5)
  593. e.Transparency = e.Transparency + .035
  594. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+21),0)
  595. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0)
  596. shockwave.Transparency = shockwave.Transparency + 0.03
  597. shockwave2.Transparency = shockwave2.Transparency + 0.03
  598. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(2,.5,2)
  599. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(2,.5,2)
  600. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+9),0)
  601. shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-9),0)
  602. shockwave3.Transparency = shockwave3.Transparency + 0.05
  603. shockwave4.Transparency = shockwave4.Transparency + 0.05
  604. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(5,1,5)
  605. shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(5,1,5)
  606. swait()
  607. end
  608. e:Remove()
  609. shockwave:Remove()
  610. shockwave2:Remove()
  611. shockwave3:Remove()
  612. shockwave4:Remove()
  613. end)()
  614. coroutine.wrap(function()
  615. for i = 1, 20 do
  616. lightofdeath.Transparency = lightofdeath.Transparency + .05
  617. swait()
  618. end
  619. lightofdeath:Remove()
  620. end)()
  621. end)
  622. for i = 1, 25 do
  623. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.2)
  624. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(22),math.rad(-1)),.2)
  625. swait()
  626. end
  627. ws = 32
  628. removeuseless:AddItem(g1,.0001)
  629. debounce = false
  630. attacking = false
  631. elseif Press=='q' then
  632. if debounce then return end
  633. if mouse.Target ~= nil then
  634. debounce = true
  635. attacking = true
  636. tps = Instance.new("Sound", Torso)
  637. tps.Volume = 10
  638. tps.SoundId = "rbxassetid://2610939724"
  639. tps:Play()
  640. removeuseless:AddItem(tps,4)
  641. g1 = Instance.new("BodyGyro", Root)
  642. g1.D = 175
  643. g1.P = 20000
  644. g1.MaxTorque = Vector3.new(0,9000,0)
  645. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  646. removeuseless:AddItem(g1,.05)
  647. local fakemask = Instance.new("Part",Character)
  648. fakemask.Size = Vector3.new(1,1,1)
  649. fakemask.CFrame = mask.CFrame
  650. fakemask.Material = "Neon"
  651. fakemask.CanCollide = false
  652. fakemask.Anchored = true
  653. fakemask.BrickColor = BrickColor.new("Really black")
  654. fakemask.Transparency = .5
  655. local mfMask = Instance.new("SpecialMesh", fakemask)
  656. mfMask.MeshType = "FileMesh"
  657. mfMask.Scale = Vector3.new(1.25,1.25,1.25)
  658. mfMask.MeshId = "rbxassetid://12470186"
  659. local fakefedora = Instance.new("Part",Character)
  660. fakefedora.Size = Vector3.new(2,2,2)
  661. fakefedora.CFrame = fedora.CFrame
  662. fakefedora.CanCollide = false
  663. fakefedora.Transparency = .5
  664. fakefedora.Anchored = true
  665. fakefedora.BrickColor = BrickColor.new("Really black")
  666. local fakefedoram = Instance.new("SpecialMesh", fakefedora)
  667. fakefedoram.MeshType = "FileMesh"
  668. fakefedoram.Scale = Vector3.new(1.1, 1.1, 1.1)
  669. fakefedoram.MeshId = "rbxassetid://11144636"
  670. local fakehead = Instance.new("Part",Character)
  671. fakehead.Size = Vector3.new(1.01,1.01,1.01)
  672. fakehead.Anchored = true
  673. fakehead.CanCollide = false
  674. fakehead.Transparency = .5
  675. fakehead.BrickColor = BrickColor.new("Really black")
  676. fakehead.Material = "Neon"
  677. fakehead.CFrame = Head.CFrame
  678. local fakeheadmesh = Instance.new("SpecialMesh",fakehead)
  679. fakeheadmesh.MeshType = "Head"
  680. fakeheadmesh.Scale = Vector3.new(1.255,1.255,1.255)
  681. local fakelarm = Instance.new("Part",Character)
  682. fakelarm.CFrame = LeftArm.CFrame
  683. fakelarm.Size = Vector3.new(1,2,1)
  684. fakelarm.CanCollide = false
  685. fakelarm.BrickColor = BrickColor.new("Really black")
  686. fakelarm.Transparency = .5
  687. fakelarm.Material = "Neon"
  688. fakelarm.Anchored = true
  689. local fakerarm = Instance.new("Part",Character)
  690. fakerarm.CFrame = RightArm.CFrame
  691. fakerarm.Size = Vector3.new(1,2,1)
  692. fakerarm.Transparency = .5
  693. fakerarm.BrickColor = BrickColor.new("Really black")
  694. fakerarm.CanCollide = false
  695. fakerarm.Material = "Neon"
  696. fakerarm.Anchored = true
  697. local fakelleg = Instance.new("Part",Character)
  698. fakelleg.CFrame = LeftLeg.CFrame
  699. fakelleg.Size = Vector3.new(1,2,1)
  700. fakelleg.BrickColor = BrickColor.new("Really black")
  701. fakelleg.Transparency = .5
  702. fakelleg.CanCollide = false
  703. fakelleg.Material = "Neon"
  704. fakelleg.Anchored = true
  705. local fakerleg = Instance.new("Part",Character)
  706. fakerleg.CFrame = RightLeg.CFrame
  707. fakerleg.Size = Vector3.new(1,2,1)
  708. fakerleg.Transparency = .5
  709. fakerleg.BrickColor = BrickColor.new("Really black")
  710. fakerleg.CanCollide = false
  711. fakerleg.Material = "Neon"
  712. fakerleg.Anchored = true
  713. local fakeTorso = Instance.new("Part",Character)
  714. fakeTorso.CFrame = Torso.CFrame
  715. fakeTorso.Size = Vector3.new(2,2,1)
  716. fakeTorso.Transparency = .5
  717. fakeTorso.CanCollide = false
  718. fakeTorso.BrickColor = BrickColor.new("Really black")
  719. fakeTorso.Material = "Neon"
  720. fakeTorso.Anchored = true
  721. coroutine.wrap(function()
  722. for i = 1, 80 do
  723. fakemask.Transparency = fakemask.Transparency + .0125
  724. fakefedora.Transparency = fakefedora.Transparency + .0125
  725. fakehead.Transparency = fakehead.Transparency + .0125
  726. fakelarm.Transparency = fakelarm.Transparency + .0125
  727. fakerarm.Transparency = fakerarm.Transparency + .0125
  728. fakelleg.Transparency = fakelleg.Transparency + .0125
  729. fakerleg.Transparency = fakerleg.Transparency + .0125
  730. fakeTorso.Transparency = fakeTorso.Transparency + .0125
  731. swait()
  732. end
  733. fakemask:Remove()
  734. fakefedora:Remove()
  735. fakehead:Remove()
  736. fakelarm:Remove()
  737. fakerarm:Remove()
  738. fakelleg:Remove()
  739. fakerleg:Remove()
  740. fakeTorso:Remove()
  741. end)()
  742. Root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0)
  743. wait(.1)
  744. attacking = false
  745. debounce = false
  746. end
  747. elseif Press=='v' then
  748. if debounce then return end
  749. if not sidekick then return end
  750. if sidekickshootanim then return end
  751. sidekickshootanim = true
  752. for i = 1, 20 do
  753. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  754. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  755. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  756. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  757. gun.Transparency = gun.Transparency + .05
  758. gun2.Transparency = gun2.Transparency + .05
  759. gun3.Transparency = gun3.Transparency + .05
  760. gun4.Transparency = gun4.Transparency + .05
  761. swait()
  762. end
  763. gunmesh.MeshId = "rbxassetid://430586811"
  764. gunmesh.TextureId = "rbxassetid://430586818"
  765. gunmesh.Scale = Vector3.new(.0011,.0011,.0011)
  766. gunweld.C0 = CFrame.new(-1.2,0,-.6) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  767. for i = 1, 20 do
  768. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  769. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  770. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  771. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  772. gun.Transparency = gun.Transparency - .05
  773. swait()
  774. end
  775. gun2.Transparency = 1
  776. gun3.Transparency = 1
  777. gun4.Transparency = 1
  778. uzi = false
  779. deserteagle = true
  780. raygun = true
  781. sidekickshootanim = false
  782. elseif Press=='c' then
  783. if debounce then return end
  784. if not sidekick then return end
  785. if sidekickshootanim then return end
  786. sidekickshootanim = true
  787. for i = 1, 20 do
  788. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  789. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  790. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  791. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  792. gun.Transparency = gun.Transparency + .05
  793. swait()
  794. end
  795. gunmesh.MeshId = "rbxassetid://431258335"
  796. gunmesh.TextureId = "rbxassetid://431259201"
  797. gunmesh.Scale = Vector3.new(.003,.003,.003)
  798. gunweld.C0 = CFrame.new(0,-.3,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180))
  799. for i = 1, 20 do
  800. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  801. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  802. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  803. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  804. gun.Transparency = gun.Transparency - .05
  805. gun2.Transparency = gun2.Transparency - .05
  806. gun3.Transparency = gun3.Transparency - .05
  807. gun4.Transparency = gun4.Transparency - .05
  808. swait()
  809. end
  810. gun2.Transparency = 0
  811. gun3.Transparency = 0
  812. gun4.Transparency = 0
  813. uzi = false
  814. deserteagle = true
  815. raygun = false
  816. sidekickshootanim = false
  817. elseif Press=='x' then
  818. if debounce then return end
  819. if not sidekick then return end
  820. if sidekickshootanim then return end
  821. sidekickshootanim = true
  822. for i = 1, 20 do
  823. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  824. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  825. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  826. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  827. gun.Transparency = gun.Transparency + .05
  828. gun2.Transparency = gun2.Transparency + .05
  829. gun3.Transparency = gun3.Transparency + .05
  830. gun4.Transparency = gun4.Transparency + .05
  831. swait()
  832. end
  833. gunmesh.MeshId = "rbxassetid://72012794"
  834. gunmesh.TextureId = "rbxassetid://72012761"
  835. gunmesh.Scale = Vector3.new(1,1.1,1)
  836. gunweld.C0 = CFrame.new(0,-.45,.05) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(90))
  837. for i = 1, 20 do
  838. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  839. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  840. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  841. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  842. gun.Transparency = gun.Transparency - .05
  843. swait()
  844. end
  845. gun2.Transparency = 1
  846. gun3.Transparency = 1
  847. gun4.Transparency = 1
  848. uzi = true
  849. deserteagle = false
  850. raygun = false
  851. sidekickshootanim = false
  852. elseif Press=='z' then
  853. if debounce then return end
  854. if not sidekick then return end
  855. if sidekickshootanim then return end
  856. sidekickshootanim = true
  857. g1 = Instance.new("BodyGyro", Root)
  858. g1.D = 175
  859. g1.P = 20000
  860. g1.MaxTorque = Vector3.new(0,9000,0)
  861. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  862. coroutine.wrap(function()
  863. if sidekicktaunting then return end
  864. sidekicktaunting = true
  865. local mr={3182322877,3182252391,3182374535,3182388872,3182410995,3182425171,3182432426,3182466325}
  866. local r2 = mr[math.random(1,#mr)]
  867. local lc = Instance.new("Sound",thedice)
  868. lc.SoundId = "rbxassetid://"..r2
  869. lc.Volume = 10
  870. lc:Play()
  871. wait(.5)
  872. wait(lc.TimeLength)
  873. wait(4)
  874. lc:Remove()
  875. sidekicktaunting = false
  876. end)()
  877. if raygun then
  878. for i = 1, 1 do
  879. for i = 1, 15 do
  880. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  881. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  882. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  883. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.5 + .1 * math.sin(sine/15),2 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-91 + 1 * math.sin(sine/16))),.2)
  884. swait()
  885. end
  886. coroutine.wrap(function()
  887. local shoot = Instance.new("Sound",gunbox)
  888. shoot.SoundId = "rbxassetid://131179973"
  889. shoot.Volume = 8
  890. shoot:Play()
  891. local orbhit = false
  892. local orb = Instance.new("Part",Torso)
  893. orb.Size = Vector3.new(1,1,1)
  894. orb.Shape = "Ball"
  895. orb.BrickColor = BrickColor.new("Lime green")
  896. orb.Anchored = false
  897. orb.Transparency = 1
  898. orb.CanCollide = false
  899. orb.Material = "Neon"
  900. orb.CFrame = gunbox.CFrame
  901. local bov = Instance.new("BodyVelocity",orb)
  902. bov.maxForce = Vector3.new(99999,99999,99999)
  903. orb.CFrame = CFrame.new(orb.Position,mouse.Hit.p)
  904. bov.velocity = orb.CFrame.lookVector*325
  905. coroutine.wrap(function()
  906. while true do
  907. if orbhit then break end
  908. local magic = Instance.new("Part",Torso)
  909. magic.BrickColor = BrickColor.new("Lime green")
  910. magic.Anchored = true
  911. magic.CanCollide = false
  912. magic.CFrame = orb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  913. magic.Material = "Neon"
  914. magic.Size = Vector3.new(2,2,2)
  915. coroutine.wrap(function()
  916. for i = 1, 40 do
  917. magic.Transparency = magic.Transparency + .025
  918. magic.Size = magic.Size - Vector3.new(.05,.05,.05)
  919. swait()
  920. end
  921. magic:Remove()
  922. end)()
  923. swait()
  924. end
  925. end)()
  926. coroutine.wrap(function()
  927. while wait(.05) do
  928. if orbhit then break end
  929. local ring = Instance.new("Part",Torso)
  930. ring.Anchored = true
  931. ring.CanCollide = false
  932. ring.Size = Vector3.new(1,1,1)
  933. ring.Material = "Neon"
  934. ring.BrickColor = BrickColor.new("Lime green")
  935. ring.CFrame = orb.CFrame * CFrame.Angles(math.rad(90),0,0)
  936. local ringmesh = Instance.new("SpecialMesh",ring)
  937. ringmesh.MeshId = "rbxassetid://471124075"
  938. ringmesh.Scale = Vector3.new(.001,.001,.001)
  939. coroutine.wrap(function()
  940. for i = 1, 40 do
  941. ringmesh.Scale = ringmesh.Scale + Vector3.new(.005,.002,.005)
  942. ring.Transparency = ring.Transparency + .025
  943. swait()
  944. end
  945. ring:Remove()
  946. end)()
  947. end
  948. end)()
  949. coroutine.wrap(function()
  950. wait(5)
  951. if orbhit then
  952. else
  953. orbhit = true
  954. orb:Remove()
  955. end
  956. end)()
  957. orb.Touched:connect(function(orbh)
  958. if orbh:IsA("Part") and orbh.Parent.Parent ~= Character and orbh.Parent ~= Character then
  959. if orbhit then return end
  960. orbhit = true
  961. Hit = damagealll(28,orb.Position)
  962. for _,v in pairs(Hit) do
  963. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  964. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  965. slachtoffer:TakeDamage(math.random(69,82))
  966. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  967. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  968. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  969. vel.velocity = CFrame.new(orb.Position,torso.Position).lookVector*195
  970. removeuseless:AddItem(vel,.1)
  971. end
  972. end
  973. orb.Anchored = true
  974. orb.Transparency = 1
  975. local soundbox = Instance.new("Part",Torso)
  976. soundbox.CFrame = orb.CFrame
  977. soundbox.Size = Vector3.new(.1,.1,.1)
  978. soundbox.Anchored = true
  979. soundbox.CanCollide = false
  980. soundbox.Transparency = 1
  981. removeuseless:AddItem(soundbox,5)
  982. local explosionsound = Instance.new("Sound",soundbox)
  983. explosionsound.SoundId = "rbxassetid://2812343636"
  984. explosionsound.TimePosition = .6
  985. explosionsound.Volume = 10
  986. explosionsound:Play()
  987. local explosion = Instance.new("Part",Torso)
  988. explosion.Size = Vector3.new(1,1,1)
  989. explosion.Anchored = true
  990. explosion.CanCollide = false
  991. explosion.BrickColor = BrickColor.new("Lime green")
  992. explosion.Material = "Neon"
  993. explosion.Shape = "Ball"
  994. explosion.CFrame = orb.CFrame
  995. for i = 1, 40 do
  996. local ps = Instance.new("Part",Torso)
  997. ps.Size = Vector3.new(1,1,1)
  998. ps.Anchored = true
  999. ps.BrickColor = BrickColor.new("Lime green")
  1000. ps.Material = "Neon"
  1001. ps.Transparency = 0
  1002. ps.CFrame = explosion.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1003. local psm = Instance.new("SpecialMesh",ps)
  1004. psm.MeshType = "Sphere"
  1005. psm.Scale = Vector3.new(2,1,2)
  1006. coroutine.wrap(function()
  1007. for i = 1, 30 do
  1008. psm.Scale = psm.Scale + Vector3.new(0,6,0)
  1009. swait()
  1010. end
  1011. for i = 1, 20 do
  1012. psm.Scale = psm.Scale + Vector3.new(0,2,0)
  1013. ps.Transparency = ps.Transparency + .05
  1014. swait()
  1015. end
  1016. ps:Remove()
  1017. end)()
  1018. end
  1019. coroutine.wrap(function()
  1020. for i = 1, 30 do
  1021. local bamwave = Instance.new("Part",Torso)
  1022. bamwave.CanCollide = false
  1023. bamwave.Anchored = true
  1024. bamwave.BrickColor = BrickColor.new("Lime green")
  1025. bamwave.Name = "bamwave"
  1026. bamwave.Transparency = .85
  1027. bamwave.CFrame = orb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1028. local bamwavemesh = Instance.new("SpecialMesh",bamwave)
  1029. bamwavemesh.MeshId = "rbxassetid://662586858"
  1030. bamwavemesh.Name = "explodmesh34"
  1031. bamwavemesh.Scale = Vector3.new(.04,.01,.04)
  1032. local wshockwave2 = Instance.new("Part", Torso)
  1033. wshockwave2.Size = Vector3.new(1,1,1)
  1034. wshockwave2.CanCollide = false
  1035. wshockwave2.Anchored = true
  1036. wshockwave2.Transparency = .9
  1037. wshockwave2.BrickColor = BrickColor.new("Lime green")
  1038. wshockwave2.CFrame = CFrame.new(orb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1039. local wshockwavemesh2 = Instance.new("SpecialMesh",wshockwave2)
  1040. wshockwavemesh2.Scale = Vector3.new(1,.05,1)
  1041. wshockwavemesh2.Name = "explodmesh33"
  1042. wshockwavemesh2.MeshId = "rbxassetid://20329976"
  1043. coroutine.wrap(function()
  1044. for i = 1, 30 do
  1045. wshockwave2.CFrame = wshockwave2.CFrame:lerp(CFrame.new(orb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.02)
  1046. bamwave.CFrame = bamwave.CFrame:lerp(orb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))),.02)
  1047. bamwavemesh.Scale = bamwavemesh.Scale + Vector3.new(.02,0,.02)
  1048. wshockwavemesh2.Scale = wshockwavemesh2.Scale + Vector3.new(3,.05,3)
  1049. bamwave.Transparency = bamwave.Transparency + .0029
  1050. wshockwave2.Transparency = wshockwave2.Transparency + .0029
  1051. swait()
  1052. end
  1053. for i = 1, 40 do
  1054. wshockwave2.CFrame = wshockwave2.CFrame:lerp(CFrame.new(orb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.02)
  1055. bamwave.CFrame = bamwave.CFrame:lerp(orb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))),.02)
  1056. bamwavemesh.Scale = bamwavemesh.Scale + Vector3.new(.01,0,.01)
  1057. wshockwavemesh2.Scale = wshockwavemesh2.Scale + Vector3.new(1,.05,1)
  1058. bamwave.Transparency = bamwave.Transparency + .0029
  1059. wshockwave2.Transparency = wshockwave2.Transparency + .0029
  1060. swait()
  1061. end
  1062. bamwave:Remove()
  1063. wshockwave2:Remove()
  1064. end)()
  1065. end
  1066. end)()
  1067. coroutine.wrap(function()
  1068. for i = 1, 20 do
  1069. explosion.Size = explosion.Size + Vector3.new(2,2,2)
  1070. swait()
  1071. end
  1072. for i = 1, 20 do
  1073. explosion.Size = explosion.Size + Vector3.new(.75,.75,.75)
  1074. explosion.Transparency = explosion.Transparency + .05
  1075. swait()
  1076. end
  1077. explosion:Remove()
  1078. orb:Remove()
  1079. end)()
  1080. end
  1081. end)
  1082. removeuseless:AddItem(shoot,10)
  1083. for i = 1, 1 do
  1084. local blast = Instance.new("Part",Torso)
  1085. blast.Size = Vector3.new(1,1,1)
  1086. blast.Anchored = true
  1087. blast.CanCollide = false
  1088. blast.Material = "Neon"
  1089. blast.Shape = "Ball"
  1090. blast.BrickColor = BrickColor.new("Lime green")
  1091. blast.CFrame = gunbox.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1092. coroutine.wrap(function()
  1093. for i = 1, 20 do
  1094. blast.Size = blast.Size + Vector3.new(1.1,1.1,1.1)
  1095. blast.Transparency = blast.Transparency + .05
  1096. swait()
  1097. end
  1098. blast:Remove()
  1099. end)()
  1100. end
  1101. end)()
  1102. for i = 1, 15 do
  1103. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1104. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),.25) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1105. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.35) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1106. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.4 + .1 * math.sin(sine/15),1.7 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 1 * math.sin(sine/16))),.2)
  1107. swait()
  1108. end
  1109. swait()
  1110. end
  1111. elseif uzi then
  1112. for i = 1, 32 do
  1113. for i = 1, 3 do
  1114. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1115. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1116. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1117. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.5 + .1 * math.sin(sine/15),2 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-91 + 1 * math.sin(sine/16))),.2)
  1118. swait()
  1119. end
  1120. coroutine.wrap(function()
  1121. local lazer = Instance.new("Part",Torso)
  1122. lazer.Size = Vector3.new(.07,.07,.07)
  1123. lazer.CanCollide = false
  1124. lazer.Anchored = true
  1125. lazer.CFrame = gunbox.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  1126. lazer.Shape = "Cylinder"
  1127. lazer.Material = "Neon"
  1128. lazer.BrickColor = BrickColor.new("Bright yellow")
  1129. local STARTPOS = gunbox.CFrame*CFrame.new(0,0,0).p
  1130. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  1131. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  1132. lazer.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1133. lazer.Size = Vector3.new(DISTANCE,.25,.25)
  1134. local shoot = Instance.new("Sound",gunbox)
  1135. shoot.SoundId = "rbxassetid://165946560"
  1136. shoot.Volume = 8
  1137. shoot:Play()
  1138. Hit = damagealll(2,ENDPOS)
  1139. for _,v in pairs(Hit) do
  1140. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1141. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1142. slachtoffer:TakeDamage(math.random(7,14))
  1143. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1144. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1145. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1146. vel.velocity = CFrame.new(ENDPOS,torso.Position).lookVector*8
  1147. removeuseless:AddItem(vel,.1)
  1148. end
  1149. end
  1150. removeuseless:AddItem(shoot,10)
  1151. local shell = Instance.new("Part",Torso)
  1152. shell.Anchored = false
  1153. shell.CanCollide = true
  1154. shell.Size = Vector3.new(.15,.15,1.2)
  1155. shell.BrickColor = BrickColor.new("Bright yellow")
  1156. shell.CFrame = gun.CFrame * CFrame.new(0,0,2)
  1157. local shellmesh = Instance.new("SpecialMesh",shell)
  1158. shellmesh.MeshId = "rbxassetid://3182118922"
  1159. shellmesh.Scale = Vector3.new(0.018, 0.018, 0.018)
  1160. shelldidhit = false
  1161. coroutine.wrap(function()
  1162. shell.Touched:connect(function(shellhit)
  1163. if shellhit.Parent.Parent ~= Character and shellhit.Parent ~= Character then
  1164. if shelldidhit then return end
  1165. shelldidhit = true
  1166. r = shellsound2[math.random(1,#shellsound2)]
  1167. local daic = Instance.new("Sound",shell)
  1168. daic.SoundId = "rbxassetid://"..r
  1169. daic.Volume = 10
  1170. daic:Play()
  1171. end
  1172. end)
  1173. for i = 1, 10 do
  1174. shell.CFrame = shell.CFrame:lerp(CFrame.new(gl.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  1175. swait()
  1176. end
  1177. wait(.25)
  1178. for i = 1, 100 do
  1179. shell.Transparency = shell.Transparency + .01
  1180. swait()
  1181. end
  1182. shell:Remove()
  1183. end)()
  1184. for i = 1, 1 do
  1185. local blast = Instance.new("Part",Torso)
  1186. blast.Size = Vector3.new(1,1,1)
  1187. blast.Anchored = true
  1188. blast.CanCollide = false
  1189. blast.Material = "Neon"
  1190. blast.BrickColor = BrickColor.new("Bright yellow")
  1191. blast.CFrame = gunbox.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1192. local blast2 = Instance.new("Part",Torso)
  1193. blast2.Size = Vector3.new(.5,.5,.5)
  1194. blast2.Anchored = true
  1195. blast2.CanCollide = false
  1196. blast2.Material = "Neon"
  1197. blast2.BrickColor = BrickColor.new("Bright yellow")
  1198. blast2.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1199. coroutine.wrap(function()
  1200. for i = 1, 2 do
  1201. blast2.CFrame = blast2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1202. blast.CFrame = blast.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1203. swait()
  1204. end
  1205. lazer:Remove()
  1206. blast2:Remove()
  1207. blast:Remove()
  1208. end)()
  1209. end
  1210. end)()
  1211. for i = 1, 2 do
  1212. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1213. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),.25) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1214. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.35) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.4)
  1215. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.4 + .1 * math.sin(sine/15),1.7 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 1 * math.sin(sine/16))),.4)
  1216. swait()
  1217. end
  1218. swait()
  1219. end
  1220. local tsound = Instance.new("Sound",gun)
  1221. tsound.SoundId = "rbxassetid://2323955180"
  1222. tsound.Volume = 10
  1223. tsound:Play()
  1224. removeuseless:AddItem(tsound,6)
  1225. local mag = gun3:Clone() mag.Parent = Torso
  1226. for i,v in pairs(mag:GetDescendants()) do
  1227. if v:IsA("ManualWeld") then v:Remove() end end
  1228. mag.Size = Vector3.new(.5,.5,.5)
  1229. mag.CanCollide = true
  1230. coroutine.wrap(function()
  1231. wait(10)
  1232. for i = 1, 40 do
  1233. mag.Transparency = mag.Transparency + .025
  1234. swait()
  1235. end
  1236. end)()
  1237. else
  1238. for i = 1, 7 do
  1239. for i = 1, 15 do
  1240. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1241. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1242. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1243. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.5 + .1 * math.sin(sine/15),2 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-91 + 1 * math.sin(sine/16))),.2)
  1244. swait()
  1245. end
  1246. coroutine.wrap(function()
  1247. local lazer = Instance.new("Part",Torso)
  1248. lazer.Size = Vector3.new(.15,.15,.15)
  1249. lazer.CanCollide = false
  1250. lazer.Anchored = true
  1251. lazer.CFrame = gunbox.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  1252. lazer.Shape = "Cylinder"
  1253. lazer.Material = "Neon"
  1254. lazer.BrickColor = BrickColor.new("Bright yellow")
  1255. local STARTPOS = gunbox.CFrame*CFrame.new(0,0,0).p
  1256. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  1257. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  1258. lazer.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1259. lazer.Size = Vector3.new(DISTANCE,1,1)
  1260. local shoot = Instance.new("Sound",gunbox)
  1261. shoot.SoundId = "rbxassetid://131205975"
  1262. shoot.Volume = 8
  1263. shoot:Play()
  1264. Hit = damagealll(3,ENDPOS)
  1265. for _,v in pairs(Hit) do
  1266. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1267. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1268. slachtoffer:TakeDamage(math.random(26,41))
  1269. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1270. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1271. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1272. vel.velocity = CFrame.new(ENDPOS,torso.Position).lookVector*7
  1273. removeuseless:AddItem(vel,.1)
  1274. end
  1275. end
  1276. removeuseless:AddItem(shoot,10)
  1277. local shell = Instance.new("Part",Torso)
  1278. shell.Anchored = false
  1279. shell.CanCollide = true
  1280. shell.Size = Vector3.new(.3,.3,2)
  1281. shell.BrickColor = BrickColor.new("Bright yellow")
  1282. shell.CFrame = gun.CFrame * CFrame.new(0,0,-4)
  1283. local shellmesh = Instance.new("SpecialMesh",shell)
  1284. shellmesh.MeshId = "rbxassetid://3182118922"
  1285. shellmesh.Scale = Vector3.new(0.03, 0.03, 0.03)
  1286. shelldidhit = false
  1287. coroutine.wrap(function()
  1288. shell.Touched:connect(function(shellhit)
  1289. if shellhit.Parent.Parent ~= Character and shellhit.Parent ~= Character then
  1290. if shelldidhit then return end
  1291. shelldidhit = true
  1292. r = shellsound2[math.random(1,#shellsound2)]
  1293. local daic = Instance.new("Sound",shell)
  1294. daic.SoundId = "rbxassetid://"..r
  1295. daic.Volume = 10
  1296. daic:Play()
  1297. end
  1298. end)
  1299. for i = 1, 10 do
  1300. shell.CFrame = shell.CFrame:lerp(CFrame.new(gl.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  1301. swait()
  1302. end
  1303. wait(15)
  1304. for i = 1, 100 do
  1305. shell.Transparency = shell.Transparency + .01
  1306. swait()
  1307. end
  1308. shell:Remove()
  1309. end)()
  1310. for i = 1, 3 do
  1311. local blast = Instance.new("Part",Torso)
  1312. blast.Size = Vector3.new(2,2,2)
  1313. blast.Anchored = true
  1314. blast.CanCollide = false
  1315. blast.Material = "Neon"
  1316. blast.BrickColor = BrickColor.new("Bright yellow")
  1317. blast.CFrame = gunbox.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1318. local blast2 = Instance.new("Part",Torso)
  1319. blast2.Size = Vector3.new(1.25,1.25,1.25)
  1320. blast2.Anchored = true
  1321. blast2.CanCollide = false
  1322. blast2.Material = "Neon"
  1323. blast2.BrickColor = BrickColor.new("Bright yellow")
  1324. blast2.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1325. coroutine.wrap(function()
  1326. for i = 1, 4 do
  1327. blast2.CFrame = blast2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1328. blast.CFrame = blast.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1329. swait()
  1330. end
  1331. lazer:Remove()
  1332. blast2:Remove()
  1333. blast:Remove()
  1334. end)()
  1335. end
  1336. end)()
  1337. for i = 1, 7 do
  1338. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1339. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),.25) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1340. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.35) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.4)
  1341. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.4 + .1 * math.sin(sine/15),1.7 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 1 * math.sin(sine/16))),.4)
  1342. swait()
  1343. end
  1344. swait()
  1345. end
  1346. local tsound = Instance.new("Sound",gun)
  1347. tsound.SoundId = "rbxassetid://2323955180"
  1348. tsound.Volume = 10
  1349. tsound:Play()
  1350. removeuseless:AddItem(tsound,6)
  1351. local mag = gun3:Clone() mag.Parent = Torso
  1352. for i,v in pairs(mag:GetDescendants()) do
  1353. if v:IsA("ManualWeld") then v:Remove() end end
  1354. mag.Size = Vector3.new(.5,.5,.5)
  1355. mag.CanCollide = true
  1356. coroutine.wrap(function()
  1357. wait(10)
  1358. for i = 1, 40 do
  1359. mag.Transparency = mag.Transparency + .025
  1360. swait()
  1361. end
  1362. end)()
  1363. end
  1364. removeuseless:AddItem(g1,.001)
  1365. sidekickshootanim = false
  1366. elseif Press=='b' then
  1367. if glasson then
  1368. if glassonp then return end
  1369. glassonp = true
  1370. glasson = false
  1371. for i = 1, 20 do
  1372. glasses.Transparency = glasses.Transparency + .05
  1373. swait()
  1374. end
  1375. glassonp = false
  1376. else
  1377. if glassonp then return end
  1378. glassonp = true
  1379. glasson = true
  1380. for i = 1, 20 do
  1381. glasses.Transparency = glasses.Transparency - .05
  1382. swait()
  1383. end
  1384. glassonp = false
  1385. end
  1386. elseif Press=='j' then
  1387. if sidekick then return end
  1388. if debounce then return end
  1389. if invisible then
  1390. ws = 0
  1391. attacking = true
  1392. debounce = true
  1393. local cy = Instance.new("Part",Torso)
  1394. cy.Size = Vector3.new(0,.1,.1)
  1395. cy.Anchored = true
  1396. cy.Shape = "Cylinder"
  1397. cy.Material = "Neon"
  1398. cy.BrickColor = BrickColor.new("White")
  1399. cy.CanCollide = false
  1400. cy.CFrame = Root.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  1401. local portalopen = Instance.new("Sound",cy)
  1402. portalopen.SoundId = "rbxassetid://1888686669"
  1403. portalopen.Volume = 10
  1404. portalopen:Play()
  1405. for i = 1, 20 do
  1406. cy.Size = cy.Size + Vector3.new(0,.5,.5)
  1407. swait()
  1408. end
  1409. wait(.5)
  1410. doomtheme.Volume = 0
  1411. local m = Instance.new("Sound",Torso)
  1412. m.SoundId = "rbxassetid://148894535"
  1413. m.Volume = 10
  1414. m:Play()
  1415. for i = 1, 20 do
  1416. doomtheme.Volume = doomtheme.Volume + .2
  1417. slaten.Transparency = slaten.Transparency - .05
  1418. slaten2.Transparency = slaten2.Transparency - .05
  1419. eyo.Transparency = eyo.Transparency - .05
  1420. fedora.Transparency = fedora.Transparency - .05
  1421. mask.Transparency = mask.Transparency - .05
  1422. Torso.Transparency = Torso.Transparency - .05
  1423. RightLeg.Transparency = RightLeg.Transparency - .05
  1424. LeftLeg.Transparency = LeftLeg.Transparency - .05
  1425. RightArm.Transparency = RightArm.Transparency - .05
  1426. LeftArm.Transparency = LeftArm.Transparency - .05
  1427. Head.Transparency = Head.Transparency - .05
  1428. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1429. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .15, 0) * CFrame.Angles(math.rad(10), math.rad(2), math.rad(10)), 0.2)
  1430. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(-2), math.rad(-10)), 0.2)
  1431. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 7, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.2)
  1432. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1433. 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)
  1434. swait()
  1435. end
  1436. coroutine.wrap(function()
  1437. for i = 1, 20 do
  1438. cy.Size = cy.Size - Vector3.new(0,.5,.5)
  1439. swait()
  1440. end
  1441. cy:Remove()
  1442. end)()
  1443. for i = 1, 20 do
  1444. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-40), math.rad(2)), .2)
  1445. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 0, .3) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), .2)
  1446. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(7), math.rad(0)), .2)
  1447. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.2, .8) * CFrame.Angles(math.rad(-80), math.rad(10), math.rad(0)), .2)
  1448. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, -.34) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(10)), .2)
  1449. swait()
  1450. end
  1451. debounce = false
  1452. attacking = false
  1453. invisible = false
  1454. ws = 32
  1455. else
  1456. debounce = true
  1457. attacking = true
  1458. ws = 0
  1459. for i = 1, 15 do
  1460. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1461. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1462. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1463. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  1464. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1465. 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)
  1466. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1467. 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)
  1468. swait()
  1469. end
  1470. local cy = Instance.new("Part",Torso)
  1471. cy.Size = Vector3.new(0,.1,.1)
  1472. cy.Anchored = true
  1473. cy.Shape = "Cylinder"
  1474. cy.Material = "Neon"
  1475. cy.BrickColor = BrickColor.new("White")
  1476. cy.CanCollide = false
  1477. cy.CFrame = Root.CFrame * CFrame.new(0,5,8) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1478. local portalopen = Instance.new("Sound",cy)
  1479. portalopen.SoundId = "rbxassetid://1888686669"
  1480. portalopen.Volume = 10
  1481. portalopen:Play()
  1482. for i = 1, 20 do
  1483. cy.Size = cy.Size + Vector3.new(0,.5,.5)
  1484. swait()
  1485. end
  1486. wait(.5)
  1487. local m = Instance.new("Sound",Torso)
  1488. m.SoundId = "rbxassetid://148894535"
  1489. m.Volume = 10
  1490. m:Play()
  1491. removeuseless:AddItem(m,6)
  1492. invisible = true
  1493. for i = 1, 20 do
  1494. doomtheme.Volume = doomtheme.Volume - .5
  1495. slaten.Transparency = slaten.Transparency + .05
  1496. slaten2.Transparency = slaten2.Transparency + .05
  1497. eyo.Transparency = eyo.Transparency + .05
  1498. fedora.Transparency = fedora.Transparency + .05
  1499. mask.Transparency = mask.Transparency + .05
  1500. Torso.Transparency = Torso.Transparency + .05
  1501. RightLeg.Transparency = RightLeg.Transparency + .05
  1502. LeftLeg.Transparency = LeftLeg.Transparency + .05
  1503. RightArm.Transparency = RightArm.Transparency + .05
  1504. LeftArm.Transparency = LeftArm.Transparency + .05
  1505. Head.Transparency = Head.Transparency + .05
  1506. Root.CFrame = Root.CFrame:lerp(CFrame.new(cy.Position),.2)
  1507. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  1508. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  1509. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  1510. 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.2)
  1511. 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.2)
  1512. swait()
  1513. end
  1514. for i = 1, 20 do
  1515. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1516. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1517. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1518. 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)
  1519. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1520. 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)
  1521. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1522. 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)
  1523. cy.Size = cy.Size - Vector3.new(0,.5,.5)
  1524. swait()
  1525. end
  1526. cy:Remove()
  1527. attacking = false
  1528. debounce = false
  1529. ws = 32
  1530. end
  1531. elseif Press=='h' then
  1532. if invisible then return end
  1533. if sidekick then
  1534. if sidekickshootanim then return end
  1535. if debounce then return end
  1536. sidekickshootanim = true
  1537. debounce = true
  1538. attacking = true
  1539. deserteagle = false
  1540. uzi = false
  1541. raygun = false
  1542. ws = 0
  1543. change = .5
  1544. for i = 1, 30 do
  1545. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1546. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  1547. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  1548. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  1549. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1550. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1551. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.5,1.1,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(171)), 0.2)
  1552. 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)
  1553. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1554. 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)
  1555. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1556. 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)
  1557. swait()
  1558. end
  1559. local snap = Instance.new("Sound",Torso)
  1560. snap.SoundId = "rbxassetid://3154155968"
  1561. snap.Volume = 10
  1562. snap:Play()
  1563. coroutine.wrap(function()
  1564. for i = 1, 7 do
  1565. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1566. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.4)
  1567. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.95,1.7,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(208)), 0.4)
  1568. 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)),.4)
  1569. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  1570. 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.4)
  1571. 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.4)
  1572. swait()
  1573. end
  1574. for i = 1, 20 do
  1575. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1576. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1577. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.3,1.4,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(188)), 0.2)
  1578. 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)
  1579. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1580. 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)
  1581. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1582. 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)
  1583. swait()
  1584. end
  1585. attacking = false
  1586. end)()
  1587. local cy = Instance.new("Part",Torso)
  1588. cy.Size = Vector3.new(0,.1,.1)
  1589. cy.Anchored = true
  1590. cy.Shape = "Cylinder"
  1591. cy.Material = "Neon"
  1592. cy.BrickColor = BrickColor.new("White")
  1593. cy.CanCollide = false
  1594. cy.CFrame = Root.CFrame * CFrame.new(5,2.5,4) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1595. local portalopen = Instance.new("Sound",cy)
  1596. portalopen.SoundId = "rbxassetid://1888686669"
  1597. portalopen.Volume = 10
  1598. portalopen:Play()
  1599. for i = 1, 20 do
  1600. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1601. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  1602. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  1603. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  1604. cy.Size = cy.Size + Vector3.new(0,.4,.4)
  1605. swait()
  1606. end
  1607. for i = 1, 30 do
  1608. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1609. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  1610. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  1611. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  1612. swait()
  1613. end
  1614. for i = 1, 20 do
  1615. thedice.CFrame = thedice.CFrame:lerp(CFrame.new(cy.Position),.2)
  1616. righthand.Transparency = righthand.Transparency + .05
  1617. righthand2.Transparency = righthand2.Transparency + .05
  1618. thedice.Transparency = thedice.Transparency + .05
  1619. fedora2.Transparency = fedora2.Transparency + .05
  1620. glasses.Transparency = glasses.Transparency + .05
  1621. hair.Transparency = hair.Transparency + .05
  1622. gun.Transparency = gun.Transparency + .05
  1623. gun2.Transparency = gun2.Transparency + .05
  1624. gun3.Transparency = gun3.Transparency + .05
  1625. gun4.Transparency = gun4.Transparency + .05
  1626. swait()
  1627. end
  1628. for i = 1, 20 do
  1629. cy.Size = cy.Size - Vector3.new(0,.4,.4)
  1630. swait()
  1631. end
  1632. cy:Remove()
  1633. thedice:Remove()
  1634. fedora2:Remove()
  1635. glasses:Remove()
  1636. righthand:Remove()
  1637. righthand2:Remove()
  1638. hair:Remove()
  1639. gun:Remove()
  1640. gun2:Remove()
  1641. mouth:Remove()
  1642. gun3:Remove()
  1643. gun4:Remove()
  1644. gunbox:Remove()
  1645. eyes:Remove()
  1646. sidekickshootanim = false
  1647. sidekick = false
  1648. debounce = false
  1649. else
  1650. if debounce then return end
  1651. debounce = true
  1652. attacking = true
  1653. sidekick = true
  1654. deserteagle = true
  1655. uzi = false
  1656. raygun = false
  1657. glasson = true
  1658. ws = 0
  1659. change = .5
  1660. for i = 1, 30 do
  1661. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1662. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1663. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.5,1.1,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(171)), 0.2)
  1664. 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)
  1665. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1666. 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)
  1667. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1668. 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)
  1669. swait()
  1670. end
  1671. local snap = Instance.new("Sound",Torso)
  1672. snap.SoundId = "rbxassetid://3154155968"
  1673. snap.Volume = 10
  1674. snap:Play()
  1675. coroutine.wrap(function()
  1676. for i = 1, 7 do
  1677. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1678. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.4)
  1679. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.95,1.7,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(208)), 0.4)
  1680. 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)),.4)
  1681. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  1682. 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.4)
  1683. 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.4)
  1684. swait()
  1685. end
  1686. for i = 1, 30 do
  1687. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1688. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1689. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.3,1.4,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(188)), 0.2)
  1690. 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)
  1691. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1692. 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)
  1693. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1694. 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)
  1695. swait()
  1696. end
  1697. end)()
  1698. local cy = Instance.new("Part",Torso)
  1699. cy.Size = Vector3.new(0,.1,.1)
  1700. cy.Anchored = true
  1701. cy.Shape = "Cylinder"
  1702. cy.Material = "Neon"
  1703. cy.BrickColor = BrickColor.new("White")
  1704. cy.CanCollide = false
  1705. cy.CFrame = Root.CFrame * CFrame.new(5,2.5,4) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1706. local portalopen = Instance.new("Sound",cy)
  1707. portalopen.SoundId = "rbxassetid://1888686669"
  1708. portalopen.Volume = 10
  1709. portalopen:Play()
  1710. for i = 1, 20 do
  1711. cy.Size = cy.Size + Vector3.new(0,.4,.4)
  1712. swait()
  1713. end
  1714. wait(.5)
  1715. local entrysound={3182251817,3182252095,3182259340,3182291263,3182444133,3182443830}
  1716. local z = entrysound[math.random(1,#entrysound)]
  1717. thedice = Instance.new("Part",Torso)
  1718. thedice.CanCollide = true
  1719. thedice.CFrame = cy.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0))
  1720. thedice.Anchored = true
  1721. thedice.Transparency = 1
  1722. thedice.CanCollide = false
  1723. thedice.Size = Vector3.new(6,6,6)
  1724. local dicemesh = Instance.new("SpecialMesh",thedice)
  1725. dicemesh.MeshId = "rbxassetid://95358536"
  1726. dicemesh.TextureId = "rbxassetid://100025876"
  1727. dicemesh.Scale = Vector3.new(.75,.75,.75)
  1728. local entrys = Instance.new("Sound",thedice)
  1729. entrys.SoundId = "rbxassetid://"..z
  1730. entrys.Volume = 10
  1731. entrys:Play()
  1732. removeuseless:AddItem(entrys,4)
  1733. fedora2 = Instance.new("Part",Character)
  1734. fedora2.Size = Vector3.new(2,2,2)
  1735. fedora2.CFrame = thedice.CFrame
  1736. fedora2.CanCollide = false
  1737. fedora2.Transparency = 1
  1738. fedoraweld2 = Instance.new("Weld",fedora2)
  1739. fedoraweld2.Part0 = fedora2
  1740. fedoraweld2.Part1 = thedice
  1741. fedoraweld2.C0 = fedora2.CFrame:inverse() * thedice.CFrame * CFrame.new(-.1,-2.04,.125) * CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0))
  1742. mfedora2 = Instance.new("SpecialMesh", fedora2)
  1743. mfedora2.MeshType = "FileMesh"
  1744. mfedora2.Scale = Vector3.new(2.16, 2.16, 2.16)
  1745. mfedora2.MeshId,mfedora2.TextureId = 'http://www.roblox.com/asset/?id=11144636','http://www.roblox.com/asset/?id=1416342992'
  1746. hair = Instance.new("Part",Torso)
  1747. hair.BrickColor = BrickColor.new("Really black")
  1748. hair.Anchored = false
  1749. hair.CanCollide = false
  1750. hair.Transparency = 1
  1751. hairm = Instance.new("SpecialMesh",hair)
  1752. hairm.MeshId = "rbxassetid://949790989"
  1753. hairm.TextureId = "rbxassetid://949798362"
  1754. hairm.Scale = Vector3.new(2.95,2.75,2.75)
  1755. hairm.VertexColor = Vector3.new(0,0,0)
  1756. hairweld = weldBetween(hair,fedora2)
  1757. hairweld.C0 = CFrame.new(-.125,4.9,.2) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  1758. glasses = Instance.new("Part",Torso)
  1759. glasses.Size = Vector3.new(1,1,1)
  1760. glasses.BrickColor = BrickColor.new("Really black")
  1761. glasses.Anchored = false
  1762. glasses.CanCollide = false
  1763. glasses.Transparency = 1
  1764. glassesweld = weldBetween(glasses,hair)
  1765. glassesweld.C0 = CFrame.new(-.28,-3,0) * CFrame.Angles(math.rad(0),0,math.rad(-5))
  1766. glassesmesh = Instance.new("SpecialMesh",glasses)
  1767. glassesmesh.MeshId = "rbxassetid://1577360"
  1768. glassesmesh.TextureId = "rbxassetid://1577349"
  1769. glassesmesh.Scale = Vector3.new(2.2,2.2,2.2)
  1770. eyes = Instance.new("Part",Torso)
  1771. eyes.Size = Vector3.new(2.15, 1.992, 0.556)
  1772. eyes.Anchored = false
  1773. eyes.Transparency = 1
  1774. eyes.CanCollide = false
  1775. eyesweld = weldBetween(eyes,glasses)
  1776. eyesweld.C0 = CFrame.new(0,.22,.38)
  1777. eyesdecal = Instance.new("Decal",eyes)
  1778. eyesdecal.Texture = "rbxassetid://849461193"
  1779. eyesdecal.Face = "Front"
  1780. mouth = Instance.new("Part",Torso)
  1781. mouth.Size = Vector3.new(2.05, 1.892, 0.456)
  1782. mouth.Anchored = false
  1783. mouth.Transparency = 1
  1784. mouth.CanCollide = false
  1785. mouthweld = weldBetween(mouth,glasses)
  1786. mouthweld.C0 = CFrame.new(0,.22,.45)
  1787. mouthdecal = Instance.new("Decal",mouth)
  1788. mouthdecal.Texture = "rbxassetid://1772659952"
  1789. mouthdecal.Face = "Front"
  1790. righthand = Instance.new("Part",Torso)
  1791. righthand.Size = Vector3.new(1,1,1)
  1792. righthand.BrickColor = BrickColor.new("White")
  1793. righthand.CanCollide = false
  1794. righthand.Transparency = 1
  1795. righthand.Anchored = false
  1796. righthand.Material = "Neon"
  1797. righthandmesh = Instance.new("SpecialMesh",righthand)
  1798. righthandmesh.MeshId = "rbxassetid://90718752"
  1799. righthandmesh.Scale = Vector3.new(3.2,3.2,3.2)
  1800. righthandweld = weldBetween(righthand,thedice)
  1801. righthandweld.C0 = CFrame.new(2,1.8,.4) * CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-120))
  1802. righthand2 = Instance.new("Part",Torso)
  1803. righthand2.Size = Vector3.new(1,1,1)
  1804. righthand2.BrickColor = BrickColor.new("White")
  1805. righthand2.CanCollide = false
  1806. righthand2.Transparency = 1
  1807. righthand2.Anchored = false
  1808. righthand2.Material = "Neon"
  1809. righthandmesh2 = Instance.new("SpecialMesh",righthand2)
  1810. righthandmesh2.MeshId = "rbxassetid://90718752"
  1811. righthandmesh2.Scale = Vector3.new(3.2,3.2,3.2)
  1812. righthandweld2 = weldBetween(righthand2,thedice)
  1813. righthandweld2.C0 = CFrame.new(0,3,1) * CFrame.Angles(math.rad(-15),math.rad(180),math.rad(0))
  1814. gun = Instance.new("Part",Torso)
  1815. gun.Size = Vector3.new(1,1,1)
  1816. gun.Anchored = false
  1817. gun.Transparency = 1
  1818. gun.CanCollide = false
  1819. gunweld = weldBetween(gun,righthand)
  1820. gunweld.C0 = CFrame.new(0,-.3,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180))
  1821. gunmesh = Instance.new("SpecialMesh",gun)
  1822. gunmesh.MeshId = "rbxassetid://431258335"
  1823. gunmesh.Scale = Vector3.new(.003,.003,.003)
  1824. gunmesh.TextureId = "rbxassetid://431259201"
  1825. gl = Instance.new("Part",Torso)
  1826. gl.Size = Vector3.new(1,1,1)
  1827. gl.Anchored = false
  1828. gl.Transparency = 1
  1829. gl.CanCollide = false
  1830. gl.CFrame = gun.CFrame
  1831. glweld = weldBetween(gl,gun)
  1832. glweld.C0 = CFrame.new(-4,0,0)
  1833. gun2 = Instance.new("Part",Torso)
  1834. gun2.Size = Vector3.new(1,1,1)
  1835. gun2.Anchored = false
  1836. gun2.Transparency = 1
  1837. gun2.CanCollide = false
  1838. gunweld2 = weldBetween(gun2,righthand)
  1839. gunweld2.C0 = CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180))
  1840. gunmesh2 = Instance.new("SpecialMesh",gun2)
  1841. gunmesh2.MeshId = "rbxassetid://431258457"
  1842. gunmesh2.Scale = Vector3.new(.003,.003,.003)
  1843. gunmesh2.TextureId = "rbxassetid://431259201"
  1844. gun3 = Instance.new("Part",Torso)
  1845. gun3.Size = Vector3.new(1,1,1)
  1846. gun3.Anchored = false
  1847. gun3.Transparency = 1
  1848. gun3.CanCollide = false
  1849. gunweld3 = weldBetween(gun3,righthand)
  1850. gunweld3.C0 = CFrame.new(0,-.05,.1) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180))
  1851. gunmesh3 = Instance.new("SpecialMesh",gun3)
  1852. gunmesh3.MeshId = "rbxassetid://431258382"
  1853. gunmesh3.Scale = Vector3.new(.003,.003,.003)
  1854. gunmesh3.TextureId = "rbxassetid://431259201"
  1855. gun4 = Instance.new("Part",Torso)
  1856. gun4.Size = Vector3.new(.5,2.4,.1)
  1857. gun4.Anchored = false
  1858. gun4.CanCollide = false
  1859. gun4.BrickColor = BrickColor.new("Really black")
  1860. gun4weld = weldBetween(gun4,righthand)
  1861. gun4weld.C0 = CFrame.new(-.8,1,0)
  1862. gunbox = Instance.new("Part",Torso)
  1863. gunbox.Size = Vector3.new(1,1,1)
  1864. gunbox.Anchored = false
  1865. gunbox.CanCollide = false
  1866. gunbox.Transparency = 1
  1867. gunboxweld = weldBetween(gunbox,gun2)
  1868. gunboxweld.C0 = CFrame.new(0,0,-2)
  1869. coroutine.wrap(function()
  1870. for i = 1, 20 do
  1871. thedice.Transparency = thedice.Transparency - .05
  1872. fedora2.Transparency = fedora2.Transparency - .05
  1873. hair.Transparency = hair.Transparency - .05
  1874. glasses.Transparency = glasses.Transparency - .05
  1875. righthand.Transparency = righthand.Transparency - .05
  1876. righthand2.Transparency = righthand2.Transparency - .05
  1877. gun.Transparency = gun.Transparency - .05
  1878. gun2.Transparency = gun2.Transparency - .05
  1879. gun3.Transparency = gun3.Transparency - .05
  1880. swait()
  1881. end
  1882. hair.Transparency = .001
  1883. end)()
  1884. coroutine.wrap(function()
  1885. wait(1)
  1886. for i = 1, 20 do
  1887. cy.Size = cy.Size - Vector3.new(0,.4,.4)
  1888. swait()
  1889. end
  1890. cy:Remove()
  1891. end)()
  1892. coroutine.wrap(function()
  1893. while sidekick do
  1894. if sidekickshootanim then
  1895. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  1896. else
  1897. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1898. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  1899. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  1900. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  1901. end
  1902. swait()
  1903. end
  1904. end)()
  1905. ws = 32
  1906. debounce = false
  1907. attacking = false
  1908. end
  1909. elseif Press=='f' then
  1910. if debounce then return end
  1911. if secondform then
  1912. debounce = true
  1913. local z = {
  1914. Color = BrickColor.new("White").Color
  1915. }
  1916. local f = game:GetService("TweenService"):Create(eyo,TweenInfo.new(.5,Enum.EasingStyle.Linear),z)
  1917. f:Play()
  1918. local cooldown = Instance.new("Sound",Torso)
  1919. cooldown.SoundId = "rbxassetid://1659770705"
  1920. cooldown.Volume = 10
  1921. cooldown.Pitch = .8
  1922. cooldown:Play()
  1923. removeuseless:AddItem(cooldown,10)
  1924. for i = 1, 20 do
  1925. doomtheme.Volume = doomtheme.Volume - .5
  1926. swait()
  1927. end
  1928. dmt2random = dmt2[math.random(1,#dmt2)]
  1929. doomtheme.Volume = 0
  1930. doomtheme.SoundId = "rbxassetid://"..dmt2random
  1931. doomtheme:Play()
  1932. for i = 1, 20 do
  1933. doomtheme.Volume = doomtheme.Volume + .2
  1934. swait()
  1935. end
  1936. b:Remove()
  1937. b2:Remove()
  1938. b3:Remove()
  1939. secondform = false
  1940. debounce = false
  1941. else
  1942. debounce = true
  1943. secondform = true
  1944. local c = Instance.new("Sound",Torso)
  1945. c.SoundId = "rbxassetid://3206852726"
  1946. c.Volume = 10
  1947. c:Play()
  1948. coroutine.wrap(function()
  1949. for i = 1, 20 do
  1950. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  1951. doomtheme.Volume = doomtheme.Volume - .5
  1952. swait()
  1953. end
  1954. hum.CameraOffset = Vector3.new(0,0,0)
  1955. end)()
  1956. for i = 1, 5 do
  1957. wait(.05)
  1958. eyo.BrickColor = BrickColor.new("Really black")
  1959. wait(.05)
  1960. eyo.BrickColor = BrickColor.new("Really red")
  1961. swait()
  1962. end
  1963. wait(1)
  1964. coroutine.wrap(function()
  1965. b = Instance.new("Part",Torso)
  1966. b.Size = Vector3.new(1,1,1)
  1967. b.Anchored = false
  1968. b.CanCollide = false
  1969. b.Transparency = 1
  1970. bweld = weldBetween(b,Root)
  1971. b2 = Instance.new("Part",Torso)
  1972. b2.Size = Vector3.new(1,1,1)
  1973. b2.Anchored = false
  1974. b2.Transparency = 1
  1975. b2.CanCollide = false
  1976. bweld2 = weldBetween(b2,b)
  1977. bweld2.C0 = CFrame.new(0,4,3.2)
  1978. b3 = Instance.new("Part",Torso)
  1979. b3.Size = Vector3.new(1,1,1)
  1980. b3.Anchored = false
  1981. b3.Transparency = 1
  1982. b3.CanCollide = false
  1983. bweld3 = weldBetween(b3,b)
  1984. bweld3.C0 = CFrame.new(0,4,-3.2)
  1985. coroutine.wrap(function()
  1986. while true do
  1987. if not secondform then break end
  1988. if invisible then
  1989. else
  1990. bweld2.C0 = bweld2.C0 * CFrame.Angles(math.rad(0),math.rad(0+5),0)
  1991. bweld3.C0 = bweld3.C0 * CFrame.Angles(math.rad(0),math.rad(0+5),0)
  1992. end
  1993. swait()
  1994. end
  1995. end)()
  1996. local l = 0
  1997. while wait(.1) do
  1998. l = l + 2
  1999. if not secondform then break end
  2000. if invisible then
  2001. else
  2002. local dice = Instance.new("Part",Torso)
  2003. dice.Anchored = true
  2004. dice.CanCollide = false
  2005. dice.Size = Vector3.new(1,1,1)
  2006. dice.CFrame = b2.CFrame
  2007. local dmeshs = math.random(.4,.7)
  2008. local dicemesh = Instance.new("SpecialMesh",dice)
  2009. dicemesh.MeshId = "rbxassetid://95358536"
  2010. dicemesh.TextureId = "rbxassetid://100025876"
  2011. dicemesh.Scale = Vector3.new(.25,.25,.25)
  2012. local dice2 = Instance.new("Part",Torso)
  2013. dice2.Anchored = true
  2014. dice2.CanCollide = false
  2015. dice2.Size = Vector3.new(1,1,1)
  2016. dice2.CFrame = b3.CFrame
  2017. local dmeshs2 = math.random(.4,.7)
  2018. local dicemesh2 = Instance.new("SpecialMesh",dice2)
  2019. dicemesh2.MeshId = "rbxassetid://95358536"
  2020. dicemesh2.TextureId = "rbxassetid://100025876"
  2021. dicemesh2.Scale = Vector3.new(.25,.25,.25)
  2022. local a = math.random(-180,180)
  2023. local b = math.random(-180,180)
  2024. local c = math.random(-180,180)
  2025. coroutine.wrap(function()
  2026. for i = 1, 80 do
  2027. dice.CFrame = dice.CFrame:lerp(b2.CFrame * CFrame.new(0,12,0) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.05)
  2028. dice.Transparency = dice.Transparency + .015
  2029. dice2.CFrame = dice2.CFrame:lerp(b3.CFrame * CFrame.new(0,12,0) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.05)
  2030. dice2.Transparency = dice2.Transparency + .015
  2031. swait()
  2032. end
  2033. dice:Remove()
  2034. end)()
  2035. end
  2036. swait()
  2037. end
  2038. end)()
  2039. coroutine.wrap(function()
  2040. while true do
  2041. if not secondform then break end
  2042. if invisible then
  2043. else
  2044. local dicl = Instance.new("Part",Torso)
  2045. dicl.Size = Vector3.new(1,1,1)
  2046. dicl.Anchored = true
  2047. dicl.Transparency = 1
  2048. dicl.CanCollide = false
  2049. dicl.CFrame = Root.CFrame * CFrame.new(math.random(-20,20),-5,math.random(-20,20))
  2050. local dice = Instance.new("Part",Torso)
  2051. dice.Anchored = true
  2052. dice.CanCollide = false
  2053. dice.Size = Vector3.new(1,1,1)
  2054. dice.CFrame = dicl.CFrame
  2055. local dmeshs = math.random(.4,.7)
  2056. local dicemesh = Instance.new("SpecialMesh",dice)
  2057. dicemesh.MeshId = "rbxassetid://95358536"
  2058. dicemesh.TextureId = "rbxassetid://100025876"
  2059. dicemesh.Scale = Vector3.new(.6,.6,.6)
  2060. local a = math.random(-180,180)
  2061. local b = math.random(-180,180)
  2062. local c = math.random(-180,180)
  2063. coroutine.wrap(function()
  2064. for i = 1, 1 do
  2065. wait(.2)
  2066. local tr = Instance.new("Part",Torso)
  2067. tr.Size = Vector3.new(2,2,2)
  2068. tr.Anchored = true
  2069. tr.CanCollide = false
  2070. tr.Transparency = .5
  2071. tr.BrickColor = BrickColor.new("White")
  2072. tr.Material = "Neon"
  2073. tr.CFrame = dice.CFrame
  2074. local z = {
  2075. Color = BrickColor.new("Crimson").Color
  2076. }
  2077. local sm = smoothen:Create(tr,TweenInfo.new(.1,Enum.EasingStyle.Linear),z)
  2078. sm:Play()
  2079. coroutine.wrap(function()
  2080. for i = 1, 40 do
  2081. tr.Size = tr.Size - Vector3.new(.05,.05,.05)
  2082. tr.CFrame = tr.CFrame:lerp(CFrame.new(Root.Position) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.1)
  2083. tr.Transparency = tr.Transparency + .025
  2084. swait()
  2085. end
  2086. tr:Remove()
  2087. end)()
  2088. swait()
  2089. end
  2090. end)()
  2091. coroutine.wrap(function()
  2092. for i = 1, 2 do
  2093. wait(.2)
  2094. local tr = Instance.new("Part",Torso)
  2095. tr.Size = Vector3.new(2,2,2)
  2096. tr.Anchored = true
  2097. tr.CanCollide = false
  2098. tr.Transparency = .25
  2099. tr.BrickColor = BrickColor.new("White")
  2100. tr.Material = "Neon"
  2101. tr.CFrame = dice.CFrame
  2102. coroutine.wrap(function()
  2103. for i = 1, 40 do
  2104. tr.Size = tr.Size - Vector3.new(.05,.05,.05)
  2105. tr.Transparency = tr.Transparency + .025
  2106. swait()
  2107. end
  2108. tr:Remove()
  2109. end)()
  2110. swait()
  2111. end
  2112. end)()
  2113. coroutine.wrap(function()
  2114. for i = 1, 60 do
  2115. dice.CFrame = dice.CFrame:lerp(CFrame.new(dicl.Position) * CFrame.new(0,15,0) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.04)
  2116. dice.Transparency = dice.Transparency + .017
  2117. swait()
  2118. end
  2119. dice:Remove()
  2120. dicl:Remove()
  2121. end)()
  2122. end
  2123. swait(10)
  2124. end
  2125. end)()
  2126. local fp = Instance.new("Sound",Torso)
  2127. fp.SoundId = "rbxassetid://3206874211"
  2128. fp.Volume = 8
  2129. fp:Play()
  2130. local thousand = secondtheme[math.random(1,#secondtheme)]
  2131. doomtheme.SoundId = "rbxassetid://"..thousand
  2132. if doomtheme.SoundId == "rbxassetid://561542239" then
  2133. doomtheme.TimePosition = 14
  2134. else
  2135. doomtheme.TimePosition = 0
  2136. end
  2137. doomtheme:Play()
  2138. coroutine.wrap(function()
  2139. for i = 1, 40 do
  2140. doomtheme.Volume = doomtheme.Volume + .1
  2141. swait()
  2142. end
  2143. end)()
  2144. attacking = false
  2145. debounce = false
  2146. end
  2147. elseif Press=='g' then
  2148. if debounce then return end
  2149. debounce = true
  2150. attacking = true
  2151. ws = 0
  2152. for i = 1, 30 do
  2153. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2154. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  2155. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.5,1.1,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(171)), 0.2)
  2156. 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)
  2157. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2158. 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)
  2159. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2160. 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)
  2161. swait()
  2162. end
  2163. coroutine.wrap(function()
  2164. for i = 1, 7 do
  2165. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  2166. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.4)
  2167. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.95,1.7,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(208)), 0.4)
  2168. 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)),.4)
  2169. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  2170. 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.4)
  2171. 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.4)
  2172. swait()
  2173. end
  2174. for i = 1, 30 do
  2175. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2176. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  2177. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.3,1.4,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(188)), 0.2)
  2178. 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)
  2179. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2180. 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)
  2181. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2182. 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)
  2183. swait()
  2184. end
  2185. while true do
  2186. if not attacking then break end
  2187. change = .5
  2188. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2189. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  2190. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  2191. 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)
  2192. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2193. 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)
  2194. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2195. 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)
  2196. swait()
  2197. end
  2198. end)()
  2199. local snap = Instance.new("Sound",Torso)
  2200. snap.SoundId = "rbxassetid://3154155968"
  2201. snap.Volume = 10
  2202. snap:Play()
  2203. local zm = Instance.new("Part",Torso)
  2204. zm.Anchored = false
  2205. zm.CanCollide = false
  2206. zm.Transparency = 1
  2207. zm.Size = Vector3.new(1,1,1)
  2208. zmweld = weldBetween(zm,Torso)
  2209. zmweld.C0 = CFrame.new(0,0,5) * CFrame.Angles(math.rad(0),math.rad(30),0)
  2210. local z = math.random(1,1)
  2211. if z == 1 then
  2212. local z1 = true
  2213. local cy = Instance.new("Part",Torso)
  2214. cy.Size = Vector3.new(0,.1,.1)
  2215. cy.Anchored = true
  2216. cy.Shape = "Cylinder"
  2217. cy.Material = "Neon"
  2218. cy.BrickColor = BrickColor.new("White")
  2219. cy.CanCollide = false
  2220. cy.CFrame = zm.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2221. local portalopen = Instance.new("Sound",cy)
  2222. portalopen.SoundId = "rbxassetid://1888686669"
  2223. portalopen.Volume = 10
  2224. portalopen:Play()
  2225. coroutine.wrap(function()
  2226. while z1 do
  2227. cy.CFrame = zm.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2228. swait()
  2229. end
  2230. end)()
  2231. for i = 1, 20 do
  2232. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2233. swait()
  2234. end
  2235. wait(.25)
  2236. for i = 1, 20 do
  2237. cy.Size = cy.Size + Vector3.new(0,.3,.3)
  2238. swait()
  2239. end
  2240. local shotgun = Instance.new("Part",Torso)
  2241. shotgun.Size = Vector3.new(2,14,2)
  2242. shotgun.Anchored = true
  2243. shotgun.CanCollide = false
  2244. shotgun.BrickColor = BrickColor.new("White")
  2245. shotgun.Transparency = 1
  2246. shotgun.Material = "Neon"
  2247. shotgun.CFrame = cy.CFrame * CFrame.new(0,0,-2) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90))
  2248. shotgunmesh = Instance.new("SpecialMesh",shotgun)
  2249. shotgunmesh.MeshId = "rbxassetid://71947462"
  2250. shotgunmesh.Scale = Vector3.new(5,5,5)
  2251. SOUND(cy,148894535,10,false,10)
  2252. local shloc = Instance.new("Part",Torso)
  2253. shloc.Anchored = false
  2254. shloc.Size = Vector3.new(1,1,1)
  2255. shloc.Transparency = 1
  2256. shloc.CanCollide = false
  2257. shlocweld = weldBetween(shloc,shotgun)
  2258. shlocweld.C0 = CFrame.new(6,3,-3)
  2259. local hand = Instance.new("Part",Torso)
  2260. hand.Size = Vector3.new(1,1,1)
  2261. hand.Anchored = true
  2262. hand.Transparency = 1
  2263. hand.Material = "Neon"
  2264. hand.CanCollide = false
  2265. hand.CFrame = cy.CFrame * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  2266. hand.BrickColor = BrickColor.new("White")
  2267. handm = Instance.new("SpecialMesh",hand)
  2268. handm.MeshId = "rbxassetid://90718752"
  2269. handm.Scale = Vector3.new(8,8,8)
  2270. local ps = Instance.new("Part",Torso)
  2271. ps.Anchored = true
  2272. ps.CanCollide = false
  2273. ps.Transparency = 1
  2274. ps.Size = Vector3.new(1,1,1)
  2275. ps.CFrame = cy.CFrame * CFrame.new(17,.7,-2)
  2276. for i = 1, 20 do
  2277. hand.Transparency = hand.Transparency - .05
  2278. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(2,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  2279. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(9,0,-2) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90)),.2)
  2280. shotgun.Transparency = shotgun.Transparency - .045
  2281. ps.CFrame = cy.CFrame * CFrame.new(17,1,-2)
  2282. swait()
  2283. end
  2284. coroutine.wrap(function()
  2285. g1 = Instance.new("BodyGyro", Root)
  2286. g1.D = 175
  2287. g1.P = 20000
  2288. g1.MaxTorque = Vector3.new(0,9000,0)
  2289. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  2290. local zcounter = 0
  2291. for i = 1, 4 do
  2292. zcounter = zcounter + 1
  2293. for i = 1, 25 do
  2294. swait()
  2295. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2296. ps.CFrame = cy.CFrame * CFrame.new(17,1,-2)
  2297. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  2298. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(8.8,0,-2) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90)),.2)
  2299. end
  2300. coroutine.wrap(function()
  2301. local lazer = Instance.new("Part",Torso)
  2302. lazer.Size = Vector3.new(1,6,6)
  2303. lazer.CanCollide = false
  2304. lazer.Anchored = true
  2305. lazer.CFrame = ps.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  2306. lazer.Shape = "Cylinder"
  2307. lazer.Material = "Neon"
  2308. lazer.BrickColor = BrickColor.new("Bright yellow")
  2309. local STARTPOS = ps.CFrame*CFrame.new(0,0,0).p
  2310. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  2311. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  2312. lazer.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2313. lazer.Size = Vector3.new(DISTANCE,2,2)
  2314. local shoot = Instance.new("Sound",ps)
  2315. shoot.SoundId = "rbxassetid://3178597347"
  2316. shoot.Volume = 10
  2317. shoot:Play()
  2318. local shell = Instance.new("Part",Torso)
  2319. shell.Anchored = false
  2320. shell.CanCollide = true
  2321. shell.Size = Vector3.new(.6,.6,2)
  2322. shell.BrickColor = BrickColor.new("Bright yellow")
  2323. shell.CFrame = shotgun.CFrame * CFrame.new(0,0,-4)
  2324. local shellmesh = Instance.new("SpecialMesh",shell)
  2325. shellmesh.MeshId = "rbxassetid://2604622956"
  2326. shellmesh.Scale = Vector3.new(.12,.12,.12)
  2327. shelldidhit = false
  2328. coroutine.wrap(function()
  2329. shell.Touched:connect(function(shellhit)
  2330. if shellhit.Parent.Parent ~= Character and shellhit.Parent ~= Character then
  2331. if shelldidhit then return end
  2332. shelldidhit = true
  2333. r = shellsound[math.random(1,#shellsound)]
  2334. local daic = Instance.new("Sound",shell)
  2335. daic.SoundId = "rbxassetid://"..r
  2336. daic.Volume = 10
  2337. daic:Play()
  2338. end
  2339. end)
  2340. for i = 1, 10 do
  2341. shell.CFrame = shell.CFrame:lerp(CFrame.new(shloc.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  2342. swait()
  2343. end
  2344. wait(15)
  2345. for i = 1, 100 do
  2346. shell.Transparency = shell.Transparency + .01
  2347. swait()
  2348. end
  2349. shell:Remove()
  2350. end)()
  2351. removeuseless:AddItem(shoot,4)
  2352. Hit = damagealll(7,ENDPOS)
  2353. for _,v in pairs(Hit) do
  2354. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2355. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2356. if secondform then
  2357. slachtoffer.Parent:BreakJoints()
  2358. else
  2359. slachtoffer:TakeDamage(math.random(68,81))
  2360. end
  2361. if secondform then
  2362. coroutine.wrap(function()
  2363. if tauntdebounce then return end
  2364. tauntdebounce = true
  2365. rdnm2 = p1[math.random(1,#p1)]
  2366. tauntsound = Instance.new("Sound", Head)
  2367. tauntsound.Volume = 10
  2368. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  2369. tauntsound.Looped = false
  2370. tauntsound:Play()
  2371. wait(3)
  2372. wait(tauntsound.TimeLength)
  2373. tauntsound:Remove()
  2374. wait(1)
  2375. tauntdebounce = false
  2376. end)()
  2377. end
  2378. if secondform then
  2379. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2380. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2381. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2382. vel.velocity = CFrame.new(ps.Position,torso.Position).lookVector*3250
  2383. removeuseless:AddItem(vel,.1)
  2384. else
  2385. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2386. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2387. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2388. vel.velocity = CFrame.new(ps.Position,torso.Position).lookVector*220
  2389. removeuseless:AddItem(vel,.1)
  2390. end
  2391. end
  2392. end
  2393. for i = 1, 2 do
  2394. local b = Instance.new("Part",Torso)
  2395. b.Size = Vector3.new(4,4,4)
  2396. b.BrickColor = BrickColor.new("Bright yellow")
  2397. b.Anchored = true
  2398. b.CanCollide = false
  2399. b.CFrame = ps.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2400. b.Material = "Neon"
  2401. coroutine.wrap(function()
  2402. for i = 1, 5 do
  2403. b.CFrame = ps.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2404. swait()
  2405. end
  2406. b:Remove()
  2407. lazer:Remove()
  2408. end)()
  2409. local b2 = Instance.new("Part",Torso)
  2410. b2.Size = Vector3.new(2.5,2.5,2.5)
  2411. b2.BrickColor = BrickColor.new("Bright yellow")
  2412. b2.Anchored = true
  2413. b2.CanCollide = false
  2414. b2.CFrame = ps.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2415. b2.Material = "Neon"
  2416. coroutine.wrap(function()
  2417. for i = 1, 5 do
  2418. b2.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2419. swait()
  2420. end
  2421. b2:Remove()
  2422. end)()
  2423. end
  2424. end)()
  2425. for i = 1, 10 do
  2426. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2427. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(2.8,6,-2) * CFrame.Angles(math.rad(-90),math.rad(-70),math.rad(-90)),.2)
  2428. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)),.2)
  2429. swait()
  2430. end
  2431. if zcounter ~= 4 then
  2432. local hand2 = Instance.new("Part",Torso)
  2433. hand2.Size = Vector3.new(.1,.1,.1)
  2434. hand2.Anchored = true
  2435. hand2.CanCollide = false
  2436. hand2.Locked = true
  2437. hand2.Transparency = 1
  2438. hand2.BrickColor = BrickColor.new("White")
  2439. hand2.Material = "Slate"
  2440. local hand2mesh = Instance.new("SpecialMesh",hand2)
  2441. hand2mesh.MeshId = "rbxassetid://2899129749"
  2442. hand2mesh.Scale = Vector3.new(.4, .4, .4)
  2443. hand2.CFrame = cy.CFrame * CFrame.new(0,0,2.2)
  2444. coroutine.wrap(function()
  2445. for i = 1, 30 do
  2446. hand2.Transparency = hand2.Transparency - .05
  2447. hand2.CFrame = hand2.CFrame:lerp(cy.CFrame * CFrame.new(11.8,3.5,-2.2) * CFrame.Angles(math.rad(90),math.rad(20),0),.15)
  2448. swait()
  2449. end
  2450. local pump = Instance.new("Sound",shotgun)
  2451. pump.SoundId = "rbxassetid://255061173"
  2452. pump.Volume = 10
  2453. pump:Play()
  2454. removeuseless:AddItem(pump,3)
  2455. for i = 1, 10 do
  2456. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(7.6,2.5,-2) * CFrame.Angles(math.rad(-90),math.rad(-20),math.rad(-90)),.2)
  2457. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(120)),.2)
  2458. hand2.CFrame = hand2.CFrame:lerp(cy.CFrame * CFrame.new(8.9,2.5,-2.2) * CFrame.Angles(math.rad(90),math.rad(20),0),.2)
  2459. swait()
  2460. end
  2461. for i = 1, 10 do
  2462. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(7.8,2.5,-2) * CFrame.Angles(math.rad(-90),math.rad(-20),math.rad(-90)),.2)
  2463. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(120)),.2)
  2464. hand2.CFrame = hand2.CFrame:lerp(cy.CFrame * CFrame.new(11.8,3.5,-2.2) * CFrame.Angles(math.rad(90),math.rad(20),0),.2)
  2465. swait()
  2466. end
  2467. for i = 1, 30 do
  2468. hand2.Transparency = hand2.Transparency + .05
  2469. hand2.CFrame = hand2.CFrame:lerp(cy.CFrame * CFrame.new(0,0,2.2),.06)
  2470. swait()
  2471. end
  2472. hand2:Remove()
  2473. end)()
  2474. for i = 1, 75 do
  2475. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2476. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(7.8,2.5,-2) * CFrame.Angles(math.rad(-90),math.rad(-20),math.rad(-90)),.2)
  2477. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(120)),.2)
  2478. swait()
  2479. end
  2480. end
  2481. swait()
  2482. end
  2483. shotgun.Anchored = false
  2484. shotgun.CanCollide = true
  2485. coroutine.wrap(function()
  2486. wait(2)
  2487. for i = 1, 20 do
  2488. shotgun.Transparency = shotgun.Transparency + .05
  2489. swait()
  2490. end
  2491. shotgun:Remove()
  2492. end)()
  2493. SOUND(cy,148894535,10,false,10)
  2494. for i = 1, 30 do
  2495. hand.CFrame = hand.CFrame:lerp(cy.CFrame,.2)
  2496. hand.Transparency = hand.Transparency + .05
  2497. swait()
  2498. end
  2499. for i = 1, 20 do
  2500. cy.Size = cy.Size - Vector3.new(.5,.5,.5)
  2501. swait()
  2502. end
  2503. cy:Remove()
  2504. hand:Remove()
  2505. shloc:Remove()
  2506. zm:Remove()
  2507. ps:Remove()
  2508. debounce = false
  2509. attacking = false
  2510. ws = 32
  2511. removeuseless:AddItem(g1,.001)
  2512. end)()
  2513. elseif z == 2 then
  2514. local cy2 = Instance.new("Part",Torso)
  2515. cy2.Size = Vector3.new(0,.1,.1)
  2516. cy2.Anchored = true
  2517. cy2.Shape = "Cylinder"
  2518. cy2.Material = "Neon"
  2519. cy2.BrickColor = BrickColor.new("White")
  2520. cy2.CanCollide = false
  2521. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2522. local cy3 = Instance.new("Part",Torso)
  2523. cy3.Size = Vector3.new(0,.1,.1)
  2524. cy3.Anchored = true
  2525. cy3.Shape = "Cylinder"
  2526. cy3.Material = "Neon"
  2527. cy3.BrickColor = BrickColor.new("White")
  2528. cy3.CanCollide = false
  2529. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2530. for i = 1, 20 do
  2531. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2532. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2533. swait()
  2534. end
  2535. wait(.5)
  2536. local z = {
  2537. Color = BrickColor.new("Really black").Color
  2538. }
  2539. local lol = smoothen:Create(cy2,TweenInfo.new(.8,Enum.EasingStyle.Linear),z)
  2540. local lol2 = smoothen:Create(cy3,TweenInfo.new(.8,Enum.EasingStyle.Linear),z)
  2541. lol:Play()
  2542. lol2:Play()
  2543. wait(2)
  2544. local b = 0
  2545. for i = 1, 200 do
  2546. b = b + 5
  2547. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(b),math.rad(90),0)
  2548. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(b),math.rad(90),0)
  2549. swait()
  2550. end
  2551. elseif z == 3 then
  2552. local cy = Instance.new("Part",Torso)
  2553. cy.Size = Vector3.new(0,.1,.1)
  2554. cy.Anchored = true
  2555. cy.Shape = "Cylinder"
  2556. cy.Material = "Neon"
  2557. cy.BrickColor = BrickColor.new("White")
  2558. cy.CanCollide = false
  2559. cy.CFrame = zm.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2560. local cy2 = Instance.new("Part",Torso)
  2561. cy2.Size = Vector3.new(0,.1,.1)
  2562. cy2.Anchored = true
  2563. cy2.Shape = "Cylinder"
  2564. cy2.Material = "Neon"
  2565. cy2.BrickColor = BrickColor.new("White")
  2566. cy2.CanCollide = false
  2567. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2568. local cy3 = Instance.new("Part",Torso)
  2569. cy3.Size = Vector3.new(0,.1,.1)
  2570. cy3.Anchored = true
  2571. cy3.Shape = "Cylinder"
  2572. cy3.Material = "Neon"
  2573. cy3.BrickColor = BrickColor.new("White")
  2574. cy3.CanCollide = false
  2575. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2576. for i = 1, 20 do
  2577. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2578. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2579. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2580. swait()
  2581. end
  2582. elseif z == 4 then
  2583. print(4)
  2584. local cy = Instance.new("Part",Torso)
  2585. cy.Size = Vector3.new(0,.1,.1)
  2586. cy.Anchored = true
  2587. cy.Shape = "Cylinder"
  2588. cy.Material = "Neon"
  2589. cy.BrickColor = BrickColor.new("White")
  2590. cy.CanCollide = false
  2591. cy.CFrame = zm.CFrame * CFrame.new(2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2592. local cy2 = Instance.new("Part",Torso)
  2593. cy2.Size = Vector3.new(0,.1,.1)
  2594. cy2.Anchored = true
  2595. cy2.Shape = "Cylinder"
  2596. cy2.Material = "Neon"
  2597. cy2.BrickColor = BrickColor.new("White")
  2598. cy2.CanCollide = false
  2599. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2600. local cy3 = Instance.new("Part",Torso)
  2601. cy3.Size = Vector3.new(0,.1,.1)
  2602. cy3.Anchored = true
  2603. cy3.Shape = "Cylinder"
  2604. cy3.Material = "Neon"
  2605. cy3.BrickColor = BrickColor.new("White")
  2606. cy3.CanCollide = false
  2607. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2608. local cy4 = Instance.new("Part",Torso)
  2609. cy4.Size = Vector3.new(0,.1,.1)
  2610. cy4.Anchored = true
  2611. cy4.Shape = "Cylinder"
  2612. cy4.Material = "Neon"
  2613. cy4.BrickColor = BrickColor.new("White")
  2614. cy4.CanCollide = false
  2615. cy4.CFrame = zm.CFrame * CFrame.new(-2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2616. for i = 1, 20 do
  2617. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2618. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2619. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2620. cy4.Size = cy4.Size + Vector3.new(0,.115,.115)
  2621. swait()
  2622. end
  2623. elseif z == 5 then
  2624. local cy = Instance.new("Part",Torso)
  2625. cy.Size = Vector3.new(0,.1,.1)
  2626. cy.Anchored = true
  2627. cy.Shape = "Cylinder"
  2628. cy.Material = "Neon"
  2629. cy.BrickColor = BrickColor.new("White")
  2630. cy.CanCollide = false
  2631. cy.CFrame = zm.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2632. local cy5 = Instance.new("Part",Torso)
  2633. cy5.Size = Vector3.new(0,.1,.1)
  2634. cy5.Anchored = true
  2635. cy5.Shape = "Cylinder"
  2636. cy5.Material = "Neon"
  2637. cy5.BrickColor = BrickColor.new("White")
  2638. cy5.CanCollide = false
  2639. cy5.CFrame = zm.CFrame * CFrame.new(2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2640. local cy2 = Instance.new("Part",Torso)
  2641. cy2.Size = Vector3.new(0,.1,.1)
  2642. cy2.Anchored = true
  2643. cy2.Shape = "Cylinder"
  2644. cy2.Material = "Neon"
  2645. cy2.BrickColor = BrickColor.new("White")
  2646. cy2.CanCollide = false
  2647. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2648. local cy3 = Instance.new("Part",Torso)
  2649. cy3.Size = Vector3.new(0,.1,.1)
  2650. cy3.Anchored = true
  2651. cy3.Shape = "Cylinder"
  2652. cy3.Material = "Neon"
  2653. cy3.BrickColor = BrickColor.new("White")
  2654. cy3.CanCollide = false
  2655. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2656. local cy4 = Instance.new("Part",Torso)
  2657. cy4.Size = Vector3.new(0,.1,.1)
  2658. cy4.Anchored = true
  2659. cy4.Shape = "Cylinder"
  2660. cy4.Material = "Neon"
  2661. cy4.BrickColor = BrickColor.new("White")
  2662. cy4.CanCollide = false
  2663. cy4.CFrame = zm.CFrame * CFrame.new(-2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2664. for i = 1, 20 do
  2665. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2666. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2667. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2668. cy4.Size = cy4.Size + Vector3.new(0,.115,.115)
  2669. cy5.Size = cy5.Size + Vector3.new(0,.115,.115)
  2670. swait()
  2671. end
  2672. elseif z == 6 then
  2673. local cy = Instance.new("Part",Torso)
  2674. cy.Size = Vector3.new(0,.1,.1)
  2675. cy.Anchored = true
  2676. cy.Shape = "Cylinder"
  2677. cy.Material = "Neon"
  2678. cy.BrickColor = BrickColor.new("White")
  2679. cy.CanCollide = false
  2680. cy.CFrame = zm.CFrame * CFrame.new(-2,5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2681. local cy6 = Instance.new("Part",Torso)
  2682. cy6.Size = Vector3.new(0,.1,.1)
  2683. cy6.Anchored = true
  2684. cy6.Shape = "Cylinder"
  2685. cy6.Material = "Neon"
  2686. cy6.BrickColor = BrickColor.new("White")
  2687. cy6.CanCollide = false
  2688. cy6.CFrame = zm.CFrame * CFrame.new(-2,2,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2689. local cy5 = Instance.new("Part",Torso)
  2690. cy5.Size = Vector3.new(0,.1,.1)
  2691. cy5.Anchored = true
  2692. cy5.Shape = "Cylinder"
  2693. cy5.Material = "Neon"
  2694. cy5.BrickColor = BrickColor.new("White")
  2695. cy5.CanCollide = false
  2696. cy5.CFrame = zm.CFrame * CFrame.new(2,5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2697. local cy2 = Instance.new("Part",Torso)
  2698. cy2.Size = Vector3.new(0,.1,.1)
  2699. cy2.Anchored = true
  2700. cy2.Shape = "Cylinder"
  2701. cy2.Material = "Neon"
  2702. cy2.BrickColor = BrickColor.new("White")
  2703. cy2.CanCollide = false
  2704. cy2.CFrame = zm.CFrame * CFrame.new(2,2,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2705. local cy3 = Instance.new("Part",Torso)
  2706. cy3.Size = Vector3.new(0,.1,.1)
  2707. cy3.Anchored = true
  2708. cy3.Shape = "Cylinder"
  2709. cy3.Material = "Neon"
  2710. cy3.BrickColor = BrickColor.new("White")
  2711. cy3.CanCollide = false
  2712. cy3.CFrame = zm.CFrame * CFrame.new(-2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2713. local cy4 = Instance.new("Part",Torso)
  2714. cy4.Size = Vector3.new(0,.1,.1)
  2715. cy4.Anchored = true
  2716. cy4.Shape = "Cylinder"
  2717. cy4.Material = "Neon"
  2718. cy4.BrickColor = BrickColor.new("White")
  2719. cy4.CanCollide = false
  2720. cy4.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2721. for i = 1, 20 do
  2722. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2723. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2724. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2725. cy4.Size = cy4.Size + Vector3.new(0,.115,.115)
  2726. cy5.Size = cy5.Size + Vector3.new(0,.115,.115)
  2727. cy6.Size = cy6.Size + Vector3.new(0,.115,.115)
  2728. swait()
  2729. end
  2730. end
  2731. elseif Press=='p' then
  2732. if debounce then return end
  2733. debounce = true
  2734. attacking = true
  2735. local posb = Instance.new("Part",Torso)
  2736. posb.Anchored = true
  2737. posb.Transparency = 1
  2738. posb.CanCollide = false
  2739. posb.Size = Vector3.new(1,1,1)
  2740. ws = 3
  2741. g1 = Instance.new("BodyGyro", Root)
  2742. g1.D = 175
  2743. g1.P = 20000
  2744. g1.MaxTorque = Vector3.new(0,9000,0)
  2745. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  2746. for i = 1, 20 do
  2747. posb.CFrame = Root.CFrame * CFrame.new(0,35,-80)
  2748. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2749. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2750. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(-140),math.rad(10),math.rad(25)), 0.2)
  2751. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(-140),math.rad(-10),math.rad(-25)), 0.2)
  2752. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),.2)
  2753. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2754. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2, .1) * CFrame.Angles(math.rad(-10), math.rad(5), math.rad(-3)), 0.2)
  2755. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2756. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.51, .7, .7) * CFrame.Angles(math.rad(42), math.rad(0), math.rad(0)), 0.4)
  2757. swait()
  2758. end
  2759. local hitbox = Instance.new("Part",Torso)
  2760. hitbox.Anchored = false
  2761. hitbox.CanCollide = false
  2762. hitbox.Transparency = 1
  2763. hitbox.Size = Vector3.new(2.5,3,3)
  2764. hitboxweld = weldBetween(hitbox,LeftLeg)
  2765. hitboxweld.C0 = CFrame.new(0,2.6,0)
  2766. local hi2 = false
  2767. hitbox.Touched:connect(function(hi)
  2768. if hi.Parent:FindFirstChildOfClass("Humanoid") and hi.Parent ~= Character then
  2769. if hi2 then return end
  2770. hi2 = true
  2771. SOUND(LeftLeg,3041191430,10,false,5)
  2772. for i = 1, 25 do
  2773. hi.Parent.Torso.CFrame = hi.Parent.Torso.CFrame:lerp(CFrame.new(posb.Position),.18)
  2774. swait()
  2775. end
  2776. local zw = weldBetween(hi.Parent.Torso,posb)
  2777. wait(.25)
  2778. local portalopen = Instance.new("Sound",nil)
  2779. portalopen.SoundId = "rbxassetid://148894535"
  2780. portalopen.Volume = 10
  2781. portalopen:Play()
  2782. local portalopen2 = Instance.new("Sound",nil)
  2783. portalopen2.SoundId = "rbxassetid://148894535"
  2784. portalopen2.Volume = 10
  2785. portalopen2:Play()
  2786. for i = 1, 4 do
  2787. wait(.5)
  2788. local cy = Instance.new("Part",Torso)
  2789. cy.Size = Vector3.new(.2,.1,.1)
  2790. cy.Anchored = true
  2791. cy.Shape = "Cylinder"
  2792. cy.Material = "Neon"
  2793. cy.BrickColor = BrickColor.new("White")
  2794. cy.CanCollide = false
  2795. cy.CFrame = posb.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(35,0,0)
  2796. portalopen.Parent = cy
  2797. portalopen:Play()
  2798. for i = 1, 20 do
  2799. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  2800. swait()
  2801. end
  2802. local dice = Instance.new("Part",Torso)
  2803. dice.CanCollide = true
  2804. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2805. dice.Anchored = true
  2806. dice.Transparency = 1
  2807. dice.Size = Vector3.new(6,6,6)
  2808. local dicemesh = Instance.new("SpecialMesh",dice)
  2809. dicemesh.MeshId = "rbxassetid://95358536"
  2810. dicemesh.TextureId = "rbxassetid://100025876"
  2811. dicemesh.Scale = Vector3.new(4,4,4)
  2812. dchit = false
  2813. coroutine.wrap(function()
  2814. wait(.25)
  2815. for i = 1, 20 do
  2816. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  2817. swait()
  2818. end
  2819. cy:Remove()
  2820. end)()
  2821. local cy2 = Instance.new("Part",Torso)
  2822. cy2.Size = Vector3.new(.2,.1,.1)
  2823. cy2.Anchored = true
  2824. cy2.Shape = "Cylinder"
  2825. cy2.Material = "Neon"
  2826. cy2.BrickColor = BrickColor.new("White")
  2827. cy2.CanCollide = false
  2828. cy2.CFrame = cy.CFrame * CFrame.new(-70,0,0)
  2829. portalopen2.Parent = cy2
  2830. portalopen2:Play()
  2831. coroutine.wrap(function()
  2832. for i = 1, 14 do
  2833. dice.Transparency = dice.Transparency - .15
  2834. dice.CFrame = dice.CFrame:lerp(CFrame.new(posb.Position),.1)
  2835. swait()
  2836. end
  2837. Hit = damagealll(12,dice.Position)
  2838. for _,v in pairs(Hit) do
  2839. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2840. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2841. slachtoffer:TakeDamage(math.random(2,4))
  2842. if secondform then
  2843. coroutine.wrap(function()
  2844. if tauntdebounce then return end
  2845. tauntdebounce = true
  2846. rdnm2 = p1[math.random(1,#p1)]
  2847. tauntsound = Instance.new("Sound", Head)
  2848. tauntsound.Volume = 10
  2849. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  2850. tauntsound.Looped = false
  2851. tauntsound:Play()
  2852. wait(3)
  2853. wait(tauntsound.TimeLength)
  2854. tauntsound:Remove()
  2855. wait(1)
  2856. tauntdebounce = false
  2857. end)()
  2858. end
  2859. local hc = Instance.new("Sound",slachtoffer.Parent.Head)
  2860. hc.SoundId = "rbxasssetid://2974876428"
  2861. hc.Volume = 10
  2862. hc:Play()
  2863. coroutine.wrap(function()
  2864. local w = Instance.new("Part",Torso)
  2865. w.Anchored = true
  2866. w.CanCollide = false
  2867. w.Material = "Neon"
  2868. w.BrickColor = BrickColor.new("White")
  2869. if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  2870. w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
  2871. elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  2872. w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
  2873. end
  2874. w.Size = Vector3.new(3,3,3)
  2875. w.Shape = "Ball"
  2876. for i = 1, 50 do
  2877. w.Transparency = w.Transparency + .05
  2878. w.Size = w.Size + Vector3.new(1.75,1.75,1.75)
  2879. swait()
  2880. end
  2881. w:Remove()
  2882. end)()
  2883. for i = 1, 8 do
  2884. coroutine.wrap(function()
  2885. local ps = Instance.new("Part",Torso)
  2886. ps.Size = Vector3.new(1,1,1)
  2887. ps.Anchored = true
  2888. ps.BrickColor = BrickColor.new("White")
  2889. ps.Material = "Neon"
  2890. if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  2891. ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2892. elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  2893. ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2894. end
  2895. local psm = Instance.new("SpecialMesh",ps)
  2896. psm.MeshType = "Sphere"
  2897. psm.Scale = Vector3.new(3,1,3)
  2898. for i = 1, 50 do
  2899. psm.Scale = psm.Scale + Vector3.new(0,2.5,0)
  2900. ps.Transparency = ps.Transparency + .025
  2901. swait()
  2902. end
  2903. ps:Remove()
  2904. end)()
  2905. end
  2906. removeuseless:AddItem(hc,6)
  2907. end
  2908. end
  2909. for i = 1, 14 do
  2910. dice.Transparency = dice.Transparency + .15
  2911. dice.CFrame = dice.CFrame:lerp(CFrame.new(cy2.Position),.1)
  2912. swait()
  2913. end
  2914. dice:Remove()
  2915. end)()
  2916. for i = 1, 20 do
  2917. cy2.Size = cy2.Size + Vector3.new(0,.85,.85)
  2918. swait()
  2919. end
  2920. coroutine.wrap(function()
  2921. wait(.25)
  2922. for i = 1, 20 do
  2923. cy2.Size = cy2.Size - Vector3.new(0,.85,.85)
  2924. swait()
  2925. end
  2926. cy2:Remove()
  2927. end)()
  2928. swait()
  2929. end
  2930. for i = 1, 5 do
  2931. wait(.25)
  2932. local cy = Instance.new("Part",Torso)
  2933. cy.Size = Vector3.new(.2,.1,.1)
  2934. cy.Anchored = true
  2935. cy.Shape = "Cylinder"
  2936. cy.Material = "Neon"
  2937. cy.BrickColor = BrickColor.new("White")
  2938. cy.CanCollide = false
  2939. cy.CFrame = posb.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(35,0,0)
  2940. portalopen.Parent = cy
  2941. portalopen:Play()
  2942. for i = 1, 20 do
  2943. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  2944. swait()
  2945. end
  2946. local dice = Instance.new("Part",Torso)
  2947. dice.CanCollide = true
  2948. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2949. dice.Anchored = true
  2950. dice.Transparency = 1
  2951. dice.Size = Vector3.new(.5,.5,.5)
  2952. local dicemesh = Instance.new("SpecialMesh",dice)
  2953. dicemesh.MeshId = "rbxassetid://95358536"
  2954. dicemesh.TextureId = "rbxassetid://100025876"
  2955. dicemesh.Scale = Vector3.new(4,4,4)
  2956. coroutine.wrap(function()
  2957. wait(.25)
  2958. for i = 1, 20 do
  2959. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  2960. swait()
  2961. end
  2962. cy:Remove()
  2963. end)()
  2964. local cy2 = Instance.new("Part",Torso)
  2965. cy2.Size = Vector3.new(.2,.1,.1)
  2966. cy2.Anchored = true
  2967. cy2.Shape = "Cylinder"
  2968. cy2.Material = "Neon"
  2969. cy2.BrickColor = BrickColor.new("White")
  2970. cy2.CanCollide = false
  2971. cy2.CFrame = cy.CFrame * CFrame.new(-70,0,0)
  2972. portalopen2.Parent = cy2
  2973. portalopen2:Play()
  2974. coroutine.wrap(function()
  2975. for i = 1, 14 do
  2976. dice.Transparency = dice.Transparency - .15
  2977. dice.CFrame = dice.CFrame:lerp(CFrame.new(posb.Position),.1)
  2978. swait()
  2979. end
  2980. Hit = damagealll(12,dice.Position)
  2981. for _,v in pairs(Hit) do
  2982. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2983. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2984. slachtoffer:TakeDamage(math.random(2,4))
  2985. if secondform then
  2986. coroutine.wrap(function()
  2987. if tauntdebounce then return end
  2988. tauntdebounce = true
  2989. rdnm2 = p1[math.random(1,#p1)]
  2990. tauntsound = Instance.new("Sound", Head)
  2991. tauntsound.Volume = 10
  2992. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  2993. tauntsound.Looped = false
  2994. tauntsound:Play()
  2995. wait(3)
  2996. wait(tauntsound.TimeLength)
  2997. tauntsound:Remove()
  2998. wait(1)
  2999. tauntdebounce = false
  3000. end)()
  3001. end
  3002. local hc = Instance.new("Sound",slachtoffer.Parent.Head)
  3003. hc.SoundId = "rbxasssetid://2974876428"
  3004. hc.Volume = 10
  3005. hc:Play()
  3006. coroutine.wrap(function()
  3007. local w = Instance.new("Part",Torso)
  3008. w.Anchored = true
  3009. w.CanCollide = false
  3010. w.Material = "Neon"
  3011. w.BrickColor = BrickColor.new("White")
  3012. if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3013. w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
  3014. elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3015. w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
  3016. end
  3017. w.Size = Vector3.new(3,3,3)
  3018. w.Shape = "Ball"
  3019. for i = 1, 50 do
  3020. w.Transparency = w.Transparency + .05
  3021. w.Size = w.Size + Vector3.new(1.75,1.75,1.75)
  3022. swait()
  3023. end
  3024. w:Remove()
  3025. end)()
  3026. for i = 1, 8 do
  3027. coroutine.wrap(function()
  3028. local ps = Instance.new("Part",Torso)
  3029. ps.Size = Vector3.new(1,1,1)
  3030. ps.Anchored = true
  3031. ps.BrickColor = BrickColor.new("White")
  3032. ps.Material = "Neon"
  3033. if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3034. ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3035. elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3036. ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3037. end
  3038. local psm = Instance.new("SpecialMesh",ps)
  3039. psm.MeshType = "Sphere"
  3040. psm.Scale = Vector3.new(3,1,3)
  3041. for i = 1, 50 do
  3042. psm.Scale = psm.Scale + Vector3.new(0,2.5,0)
  3043. ps.Transparency = ps.Transparency + .025
  3044. swait()
  3045. end
  3046. ps:Remove()
  3047. end)()
  3048. end
  3049. removeuseless:AddItem(hc,6)
  3050. end
  3051. end
  3052. for i = 1, 14 do
  3053. dice.Transparency = dice.Transparency + .15
  3054. dice.CFrame = dice.CFrame:lerp(CFrame.new(cy2.Position),.1)
  3055. swait()
  3056. end
  3057. dice:Remove()
  3058. end)()
  3059. for i = 1, 20 do
  3060. cy2.Size = cy2.Size + Vector3.new(0,.85,.85)
  3061. swait()
  3062. end
  3063. coroutine.wrap(function()
  3064. wait(.25)
  3065. for i = 1, 20 do
  3066. cy2.Size = cy2.Size - Vector3.new(0,.85,.85)
  3067. swait()
  3068. end
  3069. cy2:Remove()
  3070. end)()
  3071. swait()
  3072. end
  3073. for i = 1, 6 do
  3074. wait(.0325)
  3075. local cy = Instance.new("Part",Torso)
  3076. cy.Size = Vector3.new(.2,.1,.1)
  3077. cy.Anchored = true
  3078. cy.Shape = "Cylinder"
  3079. cy.Material = "Neon"
  3080. cy.BrickColor = BrickColor.new("White")
  3081. cy.CanCollide = false
  3082. cy.CFrame = posb.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(35,0,0)
  3083. portalopen.Parent = cy
  3084. portalopen:Play()
  3085. for i = 1, 20 do
  3086. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  3087. swait()
  3088. end
  3089. local dice = Instance.new("Part",Torso)
  3090. dice.CanCollide = true
  3091. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3092. dice.Anchored = true
  3093. dice.Transparency = 1
  3094. dice.Size = Vector3.new(.5,.5,.5)
  3095. local dicemesh = Instance.new("SpecialMesh",dice)
  3096. dicemesh.MeshId = "rbxassetid://95358536"
  3097. dicemesh.TextureId = "rbxassetid://100025876"
  3098. dicemesh.Scale = Vector3.new(4,4,4)
  3099. coroutine.wrap(function()
  3100. wait(.25)
  3101. for i = 1, 20 do
  3102. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  3103. swait()
  3104. end
  3105. cy:Remove()
  3106. end)()
  3107. local cy2 = Instance.new("Part",Torso)
  3108. cy2.Size = Vector3.new(.2,.1,.1)
  3109. cy2.Anchored = true
  3110. cy2.Shape = "Cylinder"
  3111. cy2.Material = "Neon"
  3112. cy2.BrickColor = BrickColor.new("White")
  3113. cy2.CanCollide = false
  3114. cy2.CFrame = cy.CFrame * CFrame.new(-70,0,0)
  3115. portalopen2.Parent = cy2
  3116. portalopen2:Play()
  3117. coroutine.wrap(function()
  3118. for i = 1, 14 do
  3119. dice.Transparency = dice.Transparency - .15
  3120. dice.CFrame = dice.CFrame:lerp(CFrame.new(posb.Position),.1)
  3121. swait()
  3122. end
  3123. Hit = damagealll(12,dice.Position)
  3124. for _,v in pairs(Hit) do
  3125. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3126. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3127. slachtoffer:TakeDamage(math.random(2,4))
  3128. if secondform then
  3129. coroutine.wrap(function()
  3130. if tauntdebounce then return end
  3131. tauntdebounce = true
  3132. rdnm2 = p1[math.random(1,#p1)]
  3133. tauntsound = Instance.new("Sound", Head)
  3134. tauntsound.Volume = 10
  3135. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3136. tauntsound.Looped = false
  3137. tauntsound:Play()
  3138. wait(3)
  3139. wait(tauntsound.TimeLength)
  3140. tauntsound:Remove()
  3141. wait(1)
  3142. tauntdebounce = false
  3143. end)()
  3144. end
  3145. local hc = Instance.new("Sound",slachtoffer.Parent.Head)
  3146. hc.SoundId = "rbxasssetid://2974876428"
  3147. hc.Volume = 10
  3148. hc:Play()
  3149. coroutine.wrap(function()
  3150. local w = Instance.new("Part",Torso)
  3151. w.Anchored = true
  3152. w.CanCollide = false
  3153. w.Material = "Neon"
  3154. w.BrickColor = BrickColor.new("White")
  3155. if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3156. w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
  3157. elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3158. w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
  3159. end
  3160. w.Size = Vector3.new(3,3,3)
  3161. w.Shape = "Ball"
  3162. for i = 1, 50 do
  3163. w.Transparency = w.Transparency + .05
  3164. w.Size = w.Size + Vector3.new(1.75,1.75,1.75)
  3165. swait()
  3166. end
  3167. w:Remove()
  3168. end)()
  3169. for i = 1, 8 do
  3170. coroutine.wrap(function()
  3171. local ps = Instance.new("Part",Torso)
  3172. ps.Size = Vector3.new(1,1,1)
  3173. ps.Anchored = true
  3174. ps.BrickColor = BrickColor.new("White")
  3175. ps.Material = "Neon"
  3176. if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3177. ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3178. elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3179. ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3180. end
  3181. local psm = Instance.new("SpecialMesh",ps)
  3182. psm.MeshType = "Sphere"
  3183. psm.Scale = Vector3.new(3,1,3)
  3184. for i = 1, 50 do
  3185. psm.Scale = psm.Scale + Vector3.new(0,2.5,0)
  3186. ps.Transparency = ps.Transparency + .025
  3187. swait()
  3188. end
  3189. ps:Remove()
  3190. end)()
  3191. end
  3192. removeuseless:AddItem(hc,6)
  3193. end
  3194. end
  3195. for i = 1, 14 do
  3196. dice.Transparency = dice.Transparency + .15
  3197. dice.CFrame = dice.CFrame:lerp(CFrame.new(cy2.Position),.1)
  3198. swait()
  3199. end
  3200. dice:Remove()
  3201. end)()
  3202. for i = 1, 20 do
  3203. cy2.Size = cy2.Size + Vector3.new(0,.85,.85)
  3204. swait()
  3205. end
  3206. coroutine.wrap(function()
  3207. wait(.25)
  3208. for i = 1, 20 do
  3209. cy2.Size = cy2.Size - Vector3.new(0,.85,.85)
  3210. swait()
  3211. end
  3212. cy2:Remove()
  3213. end)()
  3214. swait()
  3215. end
  3216. for i = 1, 8 do
  3217. swait()
  3218. local cy = Instance.new("Part",Torso)
  3219. cy.Size = Vector3.new(.2,.1,.1)
  3220. cy.Anchored = true
  3221. cy.Shape = "Cylinder"
  3222. cy.Material = "Neon"
  3223. cy.BrickColor = BrickColor.new("White")
  3224. cy.CanCollide = false
  3225. cy.CFrame = posb.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(35,0,0)
  3226. portalopen.Parent = cy
  3227. portalopen:Play()
  3228. for i = 1, 20 do
  3229. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  3230. swait()
  3231. end
  3232. local dice = Instance.new("Part",Torso)
  3233. dice.CanCollide = true
  3234. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3235. dice.Anchored = true
  3236. dice.Transparency = 1
  3237. dice.Size = Vector3.new(.5,.5,.5)
  3238. local dicemesh = Instance.new("SpecialMesh",dice)
  3239. dicemesh.MeshId = "rbxassetid://95358536"
  3240. dicemesh.TextureId = "rbxassetid://100025876"
  3241. dicemesh.Scale = Vector3.new(4,4,4)
  3242. coroutine.wrap(function()
  3243. wait(.25)
  3244. for i = 1, 20 do
  3245. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  3246. swait()
  3247. end
  3248. cy:Remove()
  3249. end)()
  3250. local cy2 = Instance.new("Part",Torso)
  3251. cy2.Size = Vector3.new(.2,.1,.1)
  3252. cy2.Anchored = true
  3253. cy2.Shape = "Cylinder"
  3254. cy2.Material = "Neon"
  3255. cy2.BrickColor = BrickColor.new("White")
  3256. cy2.CanCollide = false
  3257. cy2.CFrame = cy.CFrame * CFrame.new(-70,0,0)
  3258. portalopen2.Parent = cy2
  3259. portalopen2:Play()
  3260. coroutine.wrap(function()
  3261. for i = 1, 14 do
  3262. dice.Transparency = dice.Transparency - .15
  3263. dice.CFrame = dice.CFrame:lerp(CFrame.new(posb.Position),.1)
  3264. swait()
  3265. end
  3266. Hit = damagealll(12,dice.Position)
  3267. for _,v in pairs(Hit) do
  3268. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3269. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3270. if secondform then
  3271. slachtoffer.Parent:BreakJoints()
  3272. else
  3273. slachtoffer:TakeDamage(math.random(2,4))
  3274. end
  3275. if secondform then
  3276. coroutine.wrap(function()
  3277. if tauntdebounce then return end
  3278. tauntdebounce = true
  3279. rdnm2 = p1[math.random(1,#p1)]
  3280. tauntsound = Instance.new("Sound", Head)
  3281. tauntsound.Volume = 10
  3282. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3283. tauntsound.Looped = false
  3284. tauntsound:Play()
  3285. wait(3)
  3286. wait(tauntsound.TimeLength)
  3287. tauntsound:Remove()
  3288. wait(1)
  3289. tauntdebounce = false
  3290. end)()
  3291. end
  3292. local hc = Instance.new("Sound",slachtoffer.Parent.Head)
  3293. hc.SoundId = "rbxasssetid://2974876428"
  3294. hc.Volume = 10
  3295. hc:Play()
  3296. coroutine.wrap(function()
  3297. local w = Instance.new("Part",Torso)
  3298. w.Anchored = true
  3299. w.CanCollide = false
  3300. w.Material = "Neon"
  3301. w.BrickColor = BrickColor.new("White")
  3302. if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3303. w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
  3304. elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3305. w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
  3306. end
  3307. w.Size = Vector3.new(3,3,3)
  3308. w.Shape = "Ball"
  3309. for i = 1, 50 do
  3310. w.Transparency = w.Transparency + .05
  3311. w.Size = w.Size + Vector3.new(1.75,1.75,1.75)
  3312. swait()
  3313. end
  3314. w:Remove()
  3315. end)()
  3316. for i = 1, 8 do
  3317. coroutine.wrap(function()
  3318. local ps = Instance.new("Part",Torso)
  3319. ps.Size = Vector3.new(1,1,1)
  3320. ps.Anchored = true
  3321. ps.BrickColor = BrickColor.new("White")
  3322. ps.Material = "Neon"
  3323. if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3324. ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3325. elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3326. ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3327. end
  3328. local psm = Instance.new("SpecialMesh",ps)
  3329. psm.MeshType = "Sphere"
  3330. psm.Scale = Vector3.new(3,1,3)
  3331. for i = 1, 50 do
  3332. psm.Scale = psm.Scale + Vector3.new(0,2.5,0)
  3333. ps.Transparency = ps.Transparency + .025
  3334. swait()
  3335. end
  3336. ps:Remove()
  3337. end)()
  3338. end
  3339. removeuseless:AddItem(hc,6)
  3340. end
  3341. end
  3342. for i = 1, 14 do
  3343. dice.Transparency = dice.Transparency + .15
  3344. dice.CFrame = dice.CFrame:lerp(CFrame.new(cy2.Position),.1)
  3345. swait()
  3346. end
  3347. dice:Remove()
  3348. end)()
  3349. for i = 1, 20 do
  3350. cy2.Size = cy2.Size + Vector3.new(0,.85,.85)
  3351. swait()
  3352. end
  3353. coroutine.wrap(function()
  3354. wait(.25)
  3355. for i = 1, 20 do
  3356. cy2.Size = cy2.Size - Vector3.new(0,.85,.85)
  3357. swait()
  3358. end
  3359. cy2:Remove()
  3360. end)()
  3361. swait()
  3362. end
  3363. posb:Remove()
  3364. end
  3365. end)
  3366. ws = 0
  3367. for i = 1, 15 do
  3368. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(36),math.rad(0),math.rad(12)), 0.4)
  3369. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.4,-.2) * CFrame.Angles(math.rad(36),math.rad(0),math.rad(-12)), 0.4)
  3370. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(22), math.rad(0), math.rad(0)),.4)
  3371. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
  3372. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
  3373. swait()
  3374. end
  3375. hitbox:Remove()
  3376. ws = 32
  3377. removeuseless:AddItem(g1,.001)
  3378. debounce = false
  3379. attacking = false
  3380. elseif Press=='u' then
  3381. if mouse.Target ~= nil then
  3382. if debounce then return end
  3383. debounce = true
  3384. attacking = true
  3385. change = .5
  3386. ws = 0
  3387. for i = 1, 30 do
  3388. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3389. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  3390. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.5,1.1,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(171)), 0.2)
  3391. 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)
  3392. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3393. 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)
  3394. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3395. 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)
  3396. swait()
  3397. end
  3398. local snap = Instance.new("Sound",Torso)
  3399. snap.SoundId = "rbxassetid://3154155968"
  3400. snap.Volume = 10
  3401. snap:Play()
  3402. removeuseless:AddItem(snap,4)
  3403. local mark = Instance.new("Part",Torso)
  3404. mark.Size = Vector3.new(1,1,1)
  3405. mark.Anchored = true
  3406. mark.CanCollide = false
  3407. mark.Transparency = 1
  3408. mark.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,30,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3409. local cy = Instance.new("Part",Torso)
  3410. cy.Size = Vector3.new(.2,.1,.1)
  3411. cy.Anchored = true
  3412. cy.Shape = "Cylinder"
  3413. cy.Material = "Neon"
  3414. cy.BrickColor = BrickColor.new("White")
  3415. cy.CanCollide = false
  3416. cy.CFrame = mark.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(23,0,0)
  3417. local portalopen = Instance.new("Sound",cy)
  3418. portalopen.SoundId = "rbxassetid://1888686669"
  3419. portalopen.Volume = 10
  3420. portalopen:Play()
  3421. coroutine.wrap(function()
  3422. for i = 1, 20 do
  3423. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  3424. swait()
  3425. end
  3426. local dice = Instance.new("Part",Torso)
  3427. dice.CanCollide = true
  3428. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3429. dice.Anchored = true
  3430. dice.Transparency = 1
  3431. dice.Size = Vector3.new(.5,.5,.5)
  3432. local dicemesh = Instance.new("SpecialMesh",dice)
  3433. dicemesh.MeshId = "rbxassetid://95358536"
  3434. dicemesh.TextureId = "rbxassetid://100025876"
  3435. dicemesh.Scale = Vector3.new(4,4,4)
  3436. local wh = Instance.new("Part",Torso)
  3437. wh.Size = Vector3.new(10,10,10)
  3438. wh.Anchored = false
  3439. wh.CanCollide = false
  3440. wh.Material = "Neon"
  3441. wh.BrickColor = BrickColor.new("White")
  3442. wh.Transparency = 1
  3443. SOUND(dice,148894535,10,false,10)
  3444. local whw = weldBetween(wh,dice)
  3445. for i = 1, 20 do
  3446. dice.Transparency = dice.Transparency - .05
  3447. wh.Transparency = wh.Transparency - .025
  3448. dice.CFrame = dice.CFrame:lerp(CFrame.new(mark.Position),.1)
  3449. swait()
  3450. end
  3451. local f = 0
  3452. local g = 0
  3453. local h = 0
  3454. local speen = true
  3455. coroutine.wrap(function()
  3456. while speen do
  3457. f = f + 2
  3458. g = g + 3
  3459. h = h + 1
  3460. dice.CFrame = dice.CFrame:lerp(CFrame.new(mark.Position)*CFrame.new(5 * math.sin(sine/11),8 * math.sin(sine/13),4 * math.sin(sine/16)) * CFrame.Angles(math.rad(f),math.rad(g),math.rad(h)),.1)
  3461. swait()
  3462. end
  3463. end)()
  3464. wait(.5)
  3465. for i = 1, 20 do
  3466. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  3467. swait()
  3468. end
  3469. cy:Remove()
  3470. dice.Size = Vector3.new(11,11,11)
  3471. for i = 1, 4 do
  3472. local wh2 = Instance.new("Part",Torso)
  3473. wh2.Size = dice.Size
  3474. wh2.Anchored = false
  3475. wh2.CanCollide = false
  3476. wh2.Material = "Neon"
  3477. wh2.BrickColor = BrickColor.new("White")
  3478. wh2.Transparency = 1
  3479. local whw2 = weldBetween(wh2,dice)
  3480. for i = 1, 80 do
  3481. wh2.Transparency = wh2.Transparency - .0125
  3482. swait()
  3483. end
  3484. local mk = Instance.new("Part",Torso)
  3485. mk.Anchored = true
  3486. mk.CanCollide = false
  3487. mk.Size = Vector3.new(1,1,1)
  3488. mk.CFrame = dice.CFrame
  3489. mk.Transparency = 1
  3490. removeuseless:AddItem(mk,6)
  3491. local xplo = Instance.new("Sound",mk)
  3492. xplo.SoundId = "rbxassetid://2743212628"
  3493. xplo.Volume = 10
  3494. xplo:Play()
  3495. dicemesh.Scale = dicemesh.Scale - Vector3.new(1,1,1)
  3496. dice.Size = dice.Size - Vector3.new(2.75,2.75,2.75)
  3497. whw2:Remove()
  3498. wh2.Anchored = true
  3499. wh.Size = wh.Size - Vector3.new(2.5,2.5,2.5)
  3500. for i = 1, 20 do
  3501. local bm = Instance.new("Part",Torso)
  3502. bm.Anchored = true
  3503. bm.CanCollide = false
  3504. bm.CFrame = dice.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3505. bm.Material = "Neon"
  3506. bm.Shape = "Cylinder"
  3507. bm.BrickColor = BrickColor.new("White")
  3508. bm.Size = Vector3.new(5000000,4,4)
  3509. local hitt = false
  3510. bm.Touched:connect(function(hit)
  3511. if hitt then return end
  3512. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  3513. hitt = true
  3514. if secondform then
  3515. hit.Parent:BreakJoints()
  3516. else
  3517. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(32,47))
  3518. end
  3519. if secondform then
  3520. coroutine.wrap(function()
  3521. if tauntdebounce then return end
  3522. tauntdebounce = true
  3523. rdnm2 = p1[math.random(1,#p1)]
  3524. tauntsound = Instance.new("Sound", Head)
  3525. tauntsound.Volume = 10
  3526. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3527. tauntsound.Looped = false
  3528. tauntsound:Play()
  3529. wait(3)
  3530. wait(tauntsound.TimeLength)
  3531. tauntsound:Remove()
  3532. wait(1)
  3533. tauntdebounce = false
  3534. end)()
  3535. end
  3536. end
  3537. end)
  3538. coroutine.wrap(function()
  3539. for i = 1, 20 do
  3540. bm.Transparency = bm.Transparency + .05
  3541. swait()
  3542. end
  3543. bm:Remove()
  3544. end)()
  3545. end
  3546. for i = 1, 40 do
  3547. wh2.Size = wh2.Size + Vector3.new(1,1,1)
  3548. wh2.Transparency = wh2.Transparency + .025
  3549. swait()
  3550. end
  3551. wh2:Remove()
  3552. swait()
  3553. end
  3554. mark:Remove()
  3555. dice:Remove()
  3556. wh:Remove()
  3557. end)()
  3558. for i = 1, 7 do
  3559. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  3560. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.4)
  3561. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.95,1.7,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(208)), 0.4)
  3562. 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)),.4)
  3563. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  3564. 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.4)
  3565. 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.4)
  3566. swait()
  3567. end
  3568. for i = 1, 30 do
  3569. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3570. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  3571. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.3,1.4,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(188)), 0.2)
  3572. 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)
  3573. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3574. 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)
  3575. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3576. 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)
  3577. swait()
  3578. end
  3579. attacking = false
  3580. debounce = false
  3581. ws = 32
  3582. end
  3583. elseif Press=='t' then
  3584. if tauntdebounce == true then return end
  3585. tauntdebounce = true
  3586. if secondform then
  3587. rdnm2 = p2[math.random(1,#p2)]
  3588. tauntsound = Instance.new("Sound", Head)
  3589. tauntsound.Volume = 10
  3590. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3591. tauntsound.Looped = false
  3592. tauntsound:Play()
  3593. else
  3594. rdnm2 = soundtable[math.random(1,#soundtable)]
  3595. tauntsound = Instance.new("Sound", Head)
  3596. tauntsound.Volume = 10
  3597. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3598. tauntsound.Looped = false
  3599. tauntsound:Play()
  3600. end
  3601. wait(3)
  3602. wait(tauntsound.TimeLength)
  3603. tauntsound:Remove()
  3604. wait(1)
  3605. tauntdebounce = false
  3606. elseif Press=='y' then
  3607. if mouse.Target ~= nil then
  3608. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  3609. local enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3610. if debounce then return end
  3611. debounce = true
  3612. attacking = true
  3613. enemyhum.WalkSpeed = 0
  3614. tps = Instance.new("Sound", Torso)
  3615. tps.Volume = 10
  3616. tps.SoundId = "rbxassetid://2610939724"
  3617. tps:Play()
  3618. removeuseless:AddItem(tps,4)
  3619. ws = 0
  3620. local fakemask = Instance.new("Part",Character)
  3621. fakemask.Size = Vector3.new(1,1,1)
  3622. fakemask.CFrame = mask.CFrame
  3623. fakemask.Material = "Neon"
  3624. fakemask.CanCollide = false
  3625. fakemask.Anchored = true
  3626. fakemask.BrickColor = BrickColor.new("Really black")
  3627. fakemask.Transparency = .5
  3628. local mfMask = Instance.new("SpecialMesh", fakemask)
  3629. mfMask.MeshType = "FileMesh"
  3630. mfMask.Scale = Vector3.new(1.25,1.25,1.25)
  3631. mfMask.MeshId = "rbxassetid://12470186"
  3632. local fakefedora = Instance.new("Part",Character)
  3633. fakefedora.Size = Vector3.new(2,2,2)
  3634. fakefedora.CFrame = fedora.CFrame
  3635. fakefedora.CanCollide = false
  3636. fakefedora.Transparency = .5
  3637. fakefedora.Anchored = true
  3638. fakefedora.BrickColor = BrickColor.new("Really black")
  3639. local fakefedoram = Instance.new("SpecialMesh", fakefedora)
  3640. fakefedoram.MeshType = "FileMesh"
  3641. fakefedoram.Scale = Vector3.new(1.1, 1.1, 1.1)
  3642. fakefedoram.MeshId = "rbxassetid://11144636"
  3643. local fakehead = Instance.new("Part",Character)
  3644. fakehead.Size = Vector3.new(1.01,1.01,1.01)
  3645. fakehead.Anchored = true
  3646. fakehead.CanCollide = false
  3647. fakehead.Transparency = .5
  3648. fakehead.BrickColor = BrickColor.new("Really black")
  3649. fakehead.Material = "Neon"
  3650. fakehead.CFrame = Head.CFrame
  3651. local fakeheadmesh = Instance.new("SpecialMesh",fakehead)
  3652. fakeheadmesh.MeshType = "Head"
  3653. fakeheadmesh.Scale = Vector3.new(1.255,1.255,1.255)
  3654. local fakelarm = Instance.new("Part",Character)
  3655. fakelarm.CFrame = LeftArm.CFrame
  3656. fakelarm.Size = Vector3.new(1,2,1)
  3657. fakelarm.CanCollide = false
  3658. fakelarm.BrickColor = BrickColor.new("Really black")
  3659. fakelarm.Transparency = .5
  3660. fakelarm.Material = "Neon"
  3661. fakelarm.Anchored = true
  3662. local fakerarm = Instance.new("Part",Character)
  3663. fakerarm.CFrame = RightArm.CFrame
  3664. fakerarm.Size = Vector3.new(1,2,1)
  3665. fakerarm.Transparency = .5
  3666. fakerarm.BrickColor = BrickColor.new("Really black")
  3667. fakerarm.CanCollide = false
  3668. fakerarm.Material = "Neon"
  3669. fakerarm.Anchored = true
  3670. local fakelleg = Instance.new("Part",Character)
  3671. fakelleg.CFrame = LeftLeg.CFrame
  3672. fakelleg.Size = Vector3.new(1,2,1)
  3673. fakelleg.BrickColor = BrickColor.new("Really black")
  3674. fakelleg.Transparency = .5
  3675. fakelleg.CanCollide = false
  3676. fakelleg.Material = "Neon"
  3677. fakelleg.Anchored = true
  3678. local fakerleg = Instance.new("Part",Character)
  3679. fakerleg.CFrame = RightLeg.CFrame
  3680. fakerleg.Size = Vector3.new(1,2,1)
  3681. fakerleg.Transparency = .5
  3682. fakerleg.BrickColor = BrickColor.new("Really black")
  3683. fakerleg.CanCollide = false
  3684. fakerleg.Material = "Neon"
  3685. fakerleg.Anchored = true
  3686. local fakeTorso = Instance.new("Part",Character)
  3687. fakeTorso.CFrame = Torso.CFrame
  3688. fakeTorso.Size = Vector3.new(2,2,1)
  3689. fakeTorso.Transparency = .5
  3690. fakeTorso.CanCollide = false
  3691. fakeTorso.BrickColor = BrickColor.new("Really black")
  3692. fakeTorso.Material = "Neon"
  3693. fakeTorso.Anchored = true
  3694. coroutine.wrap(function()
  3695. for i = 1, 80 do
  3696. fakemask.Transparency = fakemask.Transparency + .0125
  3697. fakefedora.Transparency = fakefedora.Transparency + .0125
  3698. fakehead.Transparency = fakehead.Transparency + .0125
  3699. fakelarm.Transparency = fakelarm.Transparency + .0125
  3700. fakerarm.Transparency = fakerarm.Transparency + .0125
  3701. fakelleg.Transparency = fakelleg.Transparency + .0125
  3702. fakerleg.Transparency = fakerleg.Transparency + .0125
  3703. fakeTorso.Transparency = fakeTorso.Transparency + .0125
  3704. swait()
  3705. end
  3706. fakemask:Remove()
  3707. fakefedora:Remove()
  3708. fakehead:Remove()
  3709. fakelarm:Remove()
  3710. fakerarm:Remove()
  3711. fakelleg:Remove()
  3712. fakerleg:Remove()
  3713. fakeTorso:Remove()
  3714. end)()
  3715. Root.CFrame = enemyhum.Parent.Torso.CFrame * CFrame.new(0,0,3.9)
  3716. local hitbox = Instance.new("Part",Torso)
  3717. hitbox.Size = Vector3.new(1,1,1)
  3718. hitbox.Anchored = true
  3719. hitbox.Transparency = 1
  3720. hitbox.CanCollide = false
  3721. hitbox.CFrame = RightLeg.CFrame * CFrame.new(0,-.9,0)
  3722. for i = 1, 50 do
  3723. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3724. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  3725. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  3726. 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)
  3727. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3728. 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)
  3729. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3730. 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)
  3731. swait()
  3732. end
  3733. RightLeg.CanCollide = false
  3734. LeftLeg.CanCollide = false
  3735. for i = 1, 7 do
  3736. hitbox.CFrame = RightLeg.CFrame * CFrame.new(0,-.9,0)
  3737. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8, 1.7, -.1) * CFrame.Angles(math.rad(-0), math.rad(7), math.rad(72)), 0.4)
  3738. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .3, -.2) * CFrame.Angles(math.rad(12), math.rad(-0), math.rad(-12)), 0.4)
  3739. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1, .5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3740. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.4, 0) * CFrame.Angles(math.rad(72), math.rad(90), math.rad(0)), 0.4)
  3741. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.161, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-18)), 0.4)
  3742. swait()
  3743. end
  3744. Hit = damagealll(3,hitbox.Position)
  3745. for _,v in pairs(Hit) do
  3746. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3747. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3748. if secondform then
  3749. slachtoffer.Parent:BreakJoints()
  3750. else
  3751. slachtoffer:TakeDamage(math.random(35,42))
  3752. end
  3753. if secondform then
  3754. coroutine.wrap(function()
  3755. if tauntdebounce then return end
  3756. tauntdebounce = true
  3757. rdnm2 = p1[math.random(1,#p1)]
  3758. tauntsound = Instance.new("Sound", Head)
  3759. tauntsound.Volume = 10
  3760. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3761. tauntsound.Looped = false
  3762. tauntsound:Play()
  3763. wait(3)
  3764. wait(tauntsound.TimeLength)
  3765. tauntsound:Remove()
  3766. wait(1)
  3767. tauntdebounce = false
  3768. end)()
  3769. end
  3770. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3771. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3772. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3773. local c = Instance.new("Sound",torso)
  3774. c.SoundId = "rbxassetid://2053414752"
  3775. c.Volume = 10
  3776. c:Play()
  3777. removeuseless:AddItem(c,6)
  3778. vel.velocity = CFrame.new(hitbox.Position,torso.Position).lookVector*300
  3779. removeuseless:AddItem(vel,.1)
  3780. end
  3781. end
  3782. enemyhum.WalkSpeed = 16
  3783. for i = 1, 7 do
  3784. hitbox.CFrame = RightLeg.CFrame * CFrame.new(0,-.9,0)
  3785. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8, 1.7, -.1) * CFrame.Angles(math.rad(-0), math.rad(7), math.rad(72)), 0.4)
  3786. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .3, -.2) * CFrame.Angles(math.rad(12), math.rad(-0), math.rad(-12)), 0.4)
  3787. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1, .5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3788. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.4, 0) * CFrame.Angles(math.rad(72), math.rad(90), math.rad(0)), 0.4)
  3789. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.161, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-18)), 0.4)
  3790. swait()
  3791. end
  3792. for i = 1, 100 do
  3793. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5, 1.76, -.1) * CFrame.Angles(math.rad(-0), math.rad(7), math.rad(90)), 0.02)
  3794. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .3, -.2) * CFrame.Angles(math.rad(12), math.rad(-0), math.rad(-12)), 0.4)
  3795. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1, .5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3796. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.7, -.3) * CFrame.Angles(math.rad(72), math.rad(90), math.rad(0)), 0.02)
  3797. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.161, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-18)), 0.4)
  3798. swait()
  3799. end
  3800. SOUND(Torso,147722227,10,false,4)
  3801. for i = 1, 15 do
  3802. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  3803. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.1, 1.7, 0) * CFrame.Angles(math.rad(0), math.rad(-0), math.rad(-160)), 0.2)
  3804. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.36, 0) * CFrame.Angles(math.rad(180), math.rad(180), math.rad(20)), 0.2)
  3805. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  3806. 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)
  3807. swait()
  3808. end
  3809. for i = 1, 18 do
  3810. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  3811. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  3812. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(223), math.rad(96), math.rad(21)), 0.2)
  3813. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  3814. 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)
  3815. swait()
  3816. end
  3817. for i = 1, 40 do
  3818. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-40), math.rad(2)), .2)
  3819. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 0, .3) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), .2)
  3820. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(7), math.rad(0)), .2)
  3821. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.2, .8) * CFrame.Angles(math.rad(-80), math.rad(10), math.rad(0)), .2)
  3822. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, -.34) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(10)), .2)
  3823. swait()
  3824. end
  3825. attacking = false
  3826. debounce = false
  3827. ws = 32
  3828. end
  3829. end
  3830. elseif Press=='l' then
  3831. if debounce then return end
  3832. debounce = true
  3833. attacking = true
  3834. ws = 0
  3835. coroutine.wrap(function()----lol
  3836. local bb = 0
  3837. local ua = Instance.new("Sound",Torso)
  3838. ua.SoundId = "rbxassetid://3214519794"
  3839. ua.Volume = 10
  3840. ua:Play()
  3841. invisible = true
  3842. for i = 1, 20 do
  3843. doomtheme.Volume = doomtheme.Volume - .5
  3844. swait()
  3845. end
  3846. local en = Instance.new("Part",Torso)
  3847. en.Size = Vector3.new(140,140,140)
  3848. en.BrickColor = BrickColor.new("White")
  3849. en.Material = "Neon"
  3850. en.Shape = "Ball"
  3851. en.Anchored = true
  3852. en.Transparency = 1
  3853. en.CanCollide = false
  3854. en.CFrame = Torso.CFrame
  3855. for i = 1, 100 do
  3856. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,4,0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),.05)
  3857. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(25),math.rad(0)), 0.05)
  3858. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(-25),math.rad(0)), 0.05)
  3859. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.05)
  3860. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.05)
  3861. swait()
  3862. end
  3863. for i = 1, 100 do
  3864. en.CFrame = Torso.CFrame
  3865. en.Size = en.Size - Vector3.new(1.3,1.3,1.3)
  3866. en.Transparency = en.Transparency - .025
  3867. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,4,0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),.25)
  3868. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(25),math.rad(0)), 0.25)
  3869. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(-25),math.rad(0)), 0.25)
  3870. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.25)
  3871. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.25)
  3872. swait()
  3873. end
  3874. en.Transparency = 0
  3875. wait(2)
  3876. coroutine.wrap(function()
  3877. local m = Instance.new("Part",Torso)
  3878. m.Size = Vector3.new(10,10,10)
  3879. m.Material = "Neon"
  3880. m.BrickColor = BrickColor.new("White")
  3881. m.Anchored = true
  3882. m.Transparency = 1
  3883. m.Name = "mo"
  3884. m.CanCollide = false
  3885. m.CFrame = Torso.CFrame
  3886. local m2 = m:Clone()
  3887. m2.Parent = Torso
  3888. m2.Size = Vector3.new(25,25,25)
  3889. local m3 = m:Clone()
  3890. m3.Parent = Torso
  3891. m3.Size = Vector3.new(50,50,50)
  3892. local m4 = m:Clone()
  3893. m4.Parent = Torso
  3894. m4.Size = Vector3.new(75,75,75)
  3895. local m5 = m:Clone()
  3896. m5.Parent = Torso
  3897. m5.Size = Vector3.new(100,100,100)
  3898. local m6 = m:Clone()
  3899. m6.Parent = Torso
  3900. m6.Size = Vector3.new(150,150,150)
  3901. local m7 = m:Clone()
  3902. m7.Parent = Torso
  3903. m7.Size = Vector3.new(200,200,200)
  3904. local m8 = m:Clone()
  3905. m8.Size = Vector3.new(300,300,300)
  3906. m8.Parent = Torso
  3907. local m9 = m:Clone()
  3908. m9.Size = Vector3.new(425,425,425)
  3909. m9.Parent = Torso
  3910. local m10 = m:Clone()
  3911. m10.Size = Vector3.new(725,725,725)
  3912. m10.Parent = Torso
  3913. local m11 = m:Clone()
  3914. m11.Size = Vector3.new(1025,1025,1025)
  3915. m11.Parent = Torso
  3916. coroutine.wrap(function()
  3917. for i = 1, 100 do
  3918. m11.Transparency = m.Transparency - .002
  3919. swait()
  3920. end
  3921. end)()
  3922. coroutine.wrap(function()
  3923. for i = 1, 100 do
  3924. m10.Transparency = m.Transparency - .002
  3925. swait()
  3926. end
  3927. end)()
  3928. coroutine.wrap(function()
  3929. for i = 1, 100 do
  3930. m.Transparency = m.Transparency - .005
  3931. swait()
  3932. end
  3933. end)()
  3934. wait(.1)
  3935. coroutine.wrap(function()
  3936. for i = 1, 100 do
  3937. m2.Transparency = m2.Transparency - .0045
  3938. swait()
  3939. end
  3940. end)()
  3941. wait(.1)
  3942. coroutine.wrap(function()
  3943. for i = 1, 100 do
  3944. m3.Transparency = m3.Transparency - .004
  3945. swait()
  3946. end
  3947. end)()
  3948. wait(.1)
  3949. coroutine.wrap(function()
  3950. for i = 1, 100 do
  3951. m4.Transparency = m4.Transparency - .0035
  3952. swait()
  3953. end
  3954. end)()
  3955. wait(.1)
  3956. coroutine.wrap(function()
  3957. for i = 1, 100 do
  3958. m5.Transparency = m5.Transparency - .003
  3959. swait()
  3960. end
  3961. end)()
  3962. wait(.1)
  3963. coroutine.wrap(function()
  3964. for i = 1, 100 do
  3965. m6.Transparency = m6.Transparency - .0025
  3966. swait()
  3967. end
  3968. end)()
  3969. wait(.1)
  3970. coroutine.wrap(function()
  3971. for i = 1, 100 do
  3972. m7.Transparency = m7.Transparency - .002
  3973. swait()
  3974. end
  3975. end)()
  3976. wait(.1)
  3977. coroutine.wrap(function()
  3978. for i = 1, 100 do
  3979. m8.Transparency = m8.Transparency - .002
  3980. swait()
  3981. end
  3982. end)()
  3983. wait(.1)
  3984. coroutine.wrap(function()
  3985. for i = 1, 100 do
  3986. m9.Transparency = m9.Transparency - .002
  3987. swait()
  3988. end
  3989. end)()
  3990. wait(.1)
  3991. end)()
  3992. coroutine.wrap(function()
  3993. for i = 1, 50 do
  3994. en.CFrame = Torso.CFrame
  3995. en.Size = en.Size + Vector3.new(8,8,8)
  3996. en.Transparency = en.Transparency + .025
  3997. swait()
  3998. end
  3999. en:Remove()
  4000. end)()
  4001. for i = 1, 30 do
  4002. coroutine.wrap(function()
  4003. local sk = Instance.new("Part",Torso)
  4004. sk.CanCollide = false
  4005. sk.Anchored = true
  4006. sk.BrickColor = BrickColor.new("White")
  4007. sk.Name = "sk"
  4008. sk.Transparency = 1
  4009. sk.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4010. local skmesh = Instance.new("SpecialMesh",sk)
  4011. skmesh.MeshId = "rbxassetid://662586858"
  4012. skmesh.Name = "wave"
  4013. skmesh.Scale = Vector3.new(math.random(.7,3),.005,math.random(.7,3))
  4014. for i = 1, 30 do
  4015. sk.Transparency = sk.Transparency - .0125
  4016. swait()
  4017. end
  4018. sk:Remove()
  4019. end)()
  4020. end
  4021. for i = 1, 400 do
  4022. coroutine.wrap(function()
  4023. Hit = damagealll(1000,Root.Position)
  4024. for _,v in pairs(Hit) do
  4025. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  4026. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  4027. if secondform then
  4028. slachtoffer.Parent:BreakJoints()
  4029. else
  4030. slachtoffer:TakeDamage(math.random(5,10))
  4031. end
  4032. end
  4033. end
  4034. local shockwave = Instance.new("Part", Torso)
  4035. shockwave.Size = Vector3.new(1,1,1)
  4036. shockwave.CanCollide = false
  4037. shockwave.Anchored = true
  4038. shockwave.Transparency = 0
  4039. shockwave.BrickColor = BrickColor.new("White")
  4040. shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.75,0)
  4041. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  4042. shockwavemesh.Scale = Vector3.new(4,.7,4)
  4043. shockwavemesh.MeshId = "rbxassetid://20329976"
  4044. local shockwave2 = Instance.new("Part", Torso)
  4045. shockwave2.Size = Vector3.new(1,1,1)
  4046. shockwave2.CanCollide = false
  4047. shockwave2.Anchored = true
  4048. shockwave2.Transparency = 0
  4049. shockwave2.BrickColor = BrickColor.new("White")
  4050. shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.6,0)
  4051. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  4052. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  4053. shockwavemesh2.MeshId = "rbxassetid://20329976"
  4054. for i = 1, 30 do
  4055. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(8,15)),0)
  4056. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(4,8)),0)
  4057. shockwave.Transparency = shockwave.Transparency + 0.035
  4058. shockwave2.Transparency = shockwave2.Transparency + 0.035
  4059. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(15,5,15)
  4060. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10,6,10)
  4061. swait()
  4062. end
  4063. shockwave:Remove()
  4064. shockwave2:Remove()
  4065. end)()
  4066. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.305,2.035,.4) * CFrame.Angles(math.rad(17),math.rad(9),math.rad(-12)),.2)
  4067. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.305, 2.035, .4) * CFrame.Angles(math.rad(17),math.rad(-9),math.rad(12)),.2)
  4068. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,2,0) * CFrame.Angles(math.rad(30),0,0),.2)
  4069. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-1.65,1,0) * CFrame.Angles(math.rad(10),math.rad(8),math.rad(-45)),.2)
  4070. LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.65,1,0)* CFrame.Angles(math.rad(10),math.rad(-8),math.rad(45)),.2)
  4071. coroutine.wrap(function()
  4072. local deadlyring = Instance.new("Part", Torso)
  4073. deadlyring.Size = Vector3.new(5, 5, 5)
  4074. deadlyring.Transparency = .5
  4075. deadlyring.BrickColor = BrickColor.new("White")
  4076. deadlyring.Anchored = true
  4077. deadlyring.CanCollide = false
  4078. deadlyring.CFrame = Torso.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  4079. local deadlyringh = Instance.new("SpecialMesh", deadlyring)
  4080. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4081. deadlyringh.Scale = Vector3.new(1, 1, .1)
  4082. for i = 1, 60 do
  4083. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(20.25,20.25,0)
  4084. deadlyring.Transparency = deadlyring.Transparency + .025
  4085. swait()
  4086. end
  4087. deadlyring:Remove()
  4088. end)()
  4089. coroutine.wrap(function()
  4090. local deadlyring = Instance.new("Part", Torso)
  4091. deadlyring.Size = Vector3.new(5, 5, 5)
  4092. deadlyring.Transparency = .5
  4093. deadlyring.BrickColor = BrickColor.new("White")
  4094. deadlyring.Anchored = true
  4095. deadlyring.CanCollide = false
  4096. deadlyring.CFrame = Torso.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  4097. local deadlyringh = Instance.new("SpecialMesh", deadlyring)
  4098. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4099. deadlyringh.Scale = Vector3.new(1, 1, .1)
  4100. for i = 1, 60 do
  4101. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(40.25,40.25,0)
  4102. deadlyring.Transparency = deadlyring.Transparency + .025
  4103. swait()
  4104. end
  4105. deadlyring:Remove()
  4106. end)()
  4107. coroutine.wrap(function()
  4108. local deadlyring = Instance.new("Part", Torso)
  4109. deadlyring.Size = Vector3.new(5, 5, 5)
  4110. deadlyring.Transparency = .5
  4111. deadlyring.BrickColor = BrickColor.new("White")
  4112. deadlyring.Anchored = true
  4113. deadlyring.CanCollide = false
  4114. deadlyring.CFrame = Torso.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  4115. local deadlyringh = Instance.new("SpecialMesh", deadlyring)
  4116. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4117. deadlyringh.Scale = Vector3.new(1, 1, .1)
  4118. for i = 1, 60 do
  4119. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(80.25,80.25,0)
  4120. deadlyring.Transparency = deadlyring.Transparency + .025
  4121. swait()
  4122. end
  4123. deadlyring:Remove()
  4124. end)()
  4125. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "sk" then
  4126. v.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4127. end
  4128. end
  4129. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "mo" then
  4130. v.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  4131. end
  4132. end
  4133. swait()
  4134. end
  4135. debounce = false
  4136. attacking = false
  4137. invisible = false
  4138. for i = 1, 50 do
  4139. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "sk" then
  4140. v.Transparency = v.Transparency + .05
  4141. end
  4142. end
  4143. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "mo" then
  4144. v.Transparency = v.Transparency + .05
  4145. end
  4146. end
  4147. swait()
  4148. end
  4149. end)()
  4150. elseif Press=='k' then
  4151. if mouse.Target ~= nil and mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4152. local enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4153. if enemyhum.Health < 1 then return end
  4154. local ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
  4155. if debounce then return end
  4156. debounce = true
  4157. attacking = true
  4158. g1 = Instance.new("BodyGyro", Root)
  4159. g1.D = 175
  4160. g1.P = 20000
  4161. g1.MaxTorque = Vector3.new(0,9000,0)
  4162. for i = 1, 20 do
  4163. g1.CFrame = CFrame.new(Root.Position,ETorso.Position)
  4164. 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)
  4165. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  4166. 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)
  4167. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  4168. 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)
  4169. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  4170. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2)
  4171. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.2)
  4172. swait()
  4173. end
  4174. local dice = Instance.new("Part",Torso)
  4175. dice.CanCollide = false
  4176. dice.CFrame = Root.CFrame * CFrame.new(2,0,-3.6) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  4177. dice.Anchored = true
  4178. dice.Transparency = 0
  4179. dice.Size = Vector3.new(.8,.8,.8)
  4180. dicemesh = Instance.new("SpecialMesh",dice)
  4181. dicemesh.MeshId = "rbxassetid://95358536"
  4182. dicemesh.TextureId = "rbxassetid://100025876"
  4183. dicemesh.Scale = Vector3.new(.42,.42,.42)
  4184. local sh = Instance.new("Part",Torso)
  4185. sh.Size = Vector3.new(1.1,1.1,1.1)
  4186. sh.Anchored = true
  4187. sh.Transparency = 1
  4188. sh.CanCollide = false
  4189. sh.BrickColor = BrickColor.new("Really white")
  4190. sh.Material = "Neon"
  4191. sh.CFrame = dice.CFrame
  4192. local a = math.random(1,3)
  4193. local b = math.random(3,5)
  4194. local c = math.random(-180,180)
  4195. for i = 1, 20 do
  4196. dice.CFrame = dice.CFrame:lerp(Root.CFrame * CFrame.new(a,b,-5) * CFrame.Angles(math.rad(c),math.rad(c),math.rad(c)),.2)
  4197. sh.CFrame = dice.CFrame
  4198. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.2)
  4199. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(22),math.rad(-1)),.2)
  4200. swait()
  4201. end
  4202. coroutine.wrap(function()
  4203. local sof = Instance.new("Sound",dice)
  4204. sof.SoundId = "rbxassetid://149649902"
  4205. sof.Volume = 8
  4206. sof:Play()
  4207. for i = 1, 40 do
  4208. dice.CFrame = dice.CFrame:lerp(Root.CFrame * CFrame.new(a,b,-5) * CFrame.Angles(math.rad(c),math.rad(c),math.rad(c)),.2)
  4209. sh.Transparency = sh.Transparency - .025
  4210. swait()
  4211. end
  4212. local sof2 = Instance.new("Sound",dice)
  4213. sof2.SoundId = "rbxassetid://224339201"
  4214. sof2.Volume = 8
  4215. sof2:Play()
  4216. local sof3 = Instance.new("Sound",dice)
  4217. sof3.SoundId = "rbxassetid://165796875"
  4218. sof3.Volume = 6
  4219. sof3:Play()
  4220. sof3.Looped = true
  4221. MAKETRAIL(dice,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color))
  4222. local zb = Instance.new("Part",Torso)
  4223. zb.Size = Vector3.new(.5,.5,.5)
  4224. zb.Anchored = false
  4225. zb.CanCollide = false
  4226. zb.CFrame = dice.CFrame
  4227. local bov = Instance.new("RocketPropulsion",zb)
  4228. bov.MaxThrust = 4000
  4229. bov.MaxSpeed = 1000
  4230. bov.MaxTorque = Vector3.new(99999999,99999999,99999999)
  4231. bov.Target = ETorso
  4232. bov.TargetRadius = math.huge
  4233. bov:fire()
  4234. coroutine.wrap(function()
  4235. for i = 1, 200 do
  4236. Hit = damagealll(12,dice.Position)
  4237. for _,v in pairs(Hit) do
  4238. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  4239. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  4240. if slachtoffer == enemyhum then
  4241. if secondform then
  4242. slachtoffer.Parent:BreakJoints()
  4243. else
  4244. slachtoffer:TakeDamage(math.random(1,2))
  4245. end
  4246. end
  4247. if secondform then
  4248. coroutine.wrap(function()
  4249. if tauntdebounce then return end
  4250. tauntdebounce = true
  4251. rdnm2 = p1[math.random(1,#p1)]
  4252. tauntsound = Instance.new("Sound", Head)
  4253. tauntsound.Volume = 10
  4254. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  4255. tauntsound.Looped = false
  4256. tauntsound:Play()
  4257. wait(3)
  4258. wait(tauntsound.TimeLength)
  4259. tauntsound:Remove()
  4260. wait(1)
  4261. tauntdebounce = false
  4262. end)()
  4263. end
  4264. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4265. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4266. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4267. vel.velocity = CFrame.new(dice.Position,torso.Position).lookVector*15
  4268. removeuseless:AddItem(vel,.1)
  4269. end
  4270. end
  4271. local pi = Instance.new("Part",Torso)
  4272. pi.Anchored = true
  4273. pi.CanCollide = false
  4274. pi.Size = Vector3.new(1,1,1)
  4275. pi.CFrame = zb.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  4276. dice.CFrame = pi.CFrame
  4277. pi:Remove()
  4278. swait()
  4279. end
  4280. sof3:Remove()
  4281. bov:Remove()
  4282. zb:Remove()
  4283. dice.Anchored = false
  4284. dice.CanCollide = true
  4285. coroutine.wrap(function()
  4286. wait(6)
  4287. for i = 1, 20 do
  4288. dice.Transparency = dice.Transparency + .05
  4289. swait()
  4290. end
  4291. dice:Remove()
  4292. end)()
  4293. end)()
  4294. for i = 1, 20 do
  4295. sh.Size = sh.Size + Vector3.new(.5,.5,.5)
  4296. sh.Transparency = sh.Transparency + .05
  4297. swait()
  4298. end
  4299. sh:Remove()
  4300. end)()
  4301. removeuseless:AddItem(g1,.001)
  4302. attacking = false
  4303. debounce = false
  4304. end
  4305. elseif Press=='e' then
  4306. if debounce then return end
  4307. debounce = true
  4308. attacking = true
  4309. ws = 10
  4310. local g1 = Instance.new("BodyGyro", Root)
  4311. g1.D = 175
  4312. g1.P = 4000
  4313. g1.MaxTorque = Vector3.new(0,9000000,0)
  4314. local bwoo = Instance.new("Sound",Torso)
  4315. bwoo.SoundId = "rbxassetid://134012322"
  4316. bwoo.Volume = 10
  4317. bwoo.Pitch = .85
  4318. bwoo:Play()
  4319. removeuseless:AddItem(bwoo,8)
  4320. for i = 1, 22 do
  4321. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  4322. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  4323. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  4324. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  4325. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.2 + .0 * math.sin(sine/12), .7) * CFrame.Angles(math.rad(9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.2)
  4326. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.2)
  4327. swait()
  4328. end
  4329. local rocksm = Instance.new("Sound",Torso)
  4330. rocksm.SoundId = "rbxassetid://168514932"
  4331. rocksm.Volume = 10
  4332. rocksm.Pitch = .94
  4333. rocksm:Play()
  4334. removeuseless:AddItem(rocksm,8)
  4335. coroutine.wrap(function()
  4336. ws = 0
  4337. for i = 1, 22 do
  4338. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(2), math.rad(10)), 0.4)
  4339. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(-2), math.rad(-10)), 0.4)
  4340. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
  4341. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.7, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  4342. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
  4343. swait()
  4344. end
  4345. end)()
  4346. local p = Instance.new("Part",Torso)
  4347. p.Size = Vector3.new(1,1,1)
  4348. p.Anchored = true
  4349. p.CanCollide = false
  4350. p.Transparency = 1
  4351. p.CFrame = Root.CFrame * CFrame.new(0,0,-4)
  4352. local so = Instance.new("Sound",p)
  4353. so.Volume = 10
  4354. so.SoundId = "rbxassetid://2017948224"
  4355. so:Play()
  4356. local x = 0
  4357. local z = 0
  4358. local c = 0
  4359. for i = 1, 30 do
  4360. x = x + 2
  4361. c = c - 1.2
  4362. z = z + 10
  4363. Hit = damagealll(5 + x,p.Position)
  4364. for _,v in pairs(Hit) do
  4365. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  4366. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  4367. if secondform then
  4368. slachtoffer.Parent:BreakJoints()
  4369. else
  4370. slachtoffer:TakeDamage(math.random(39,62))
  4371. end
  4372. if secondform then
  4373. coroutine.wrap(function()
  4374. if tauntdebounce then return end
  4375. tauntdebounce = true
  4376. rdnm2 = p1[math.random(1,#p1)]
  4377. tauntsound = Instance.new("Sound", Head)
  4378. tauntsound.Volume = 10
  4379. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  4380. tauntsound.Looped = false
  4381. tauntsound:Play()
  4382. wait(3)
  4383. wait(tauntsound.TimeLength)
  4384. tauntsound:Remove()
  4385. wait(1)
  4386. tauntdebounce = false
  4387. end)()
  4388. end
  4389. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4390. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4391. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4392. vel.velocity = CFrame.new(p.Position,torso.Position).lookVector*125
  4393. removeuseless:AddItem(vel,.1)
  4394. end
  4395. end
  4396. local gr = Instance.new("Part",Torso)
  4397. gr.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
  4398. gr.Anchored = true
  4399. gr.Material = "Grass"
  4400. gr.BrickColor = BrickColor.new("Bright green")
  4401. gr.Size = Vector3.new(x,z,x)
  4402. gr.CanCollide = true
  4403. p.CFrame = p.CFrame * CFrame.new(0,0,-2 + c)
  4404. local gr2 = Instance.new("Part",Torso)
  4405. gr2.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-76,76)),math.rad(math.random(-76,76)),math.rad(math.random(-76,76)))
  4406. gr2.Anchored = true
  4407. gr2.Material = "Grass"
  4408. gr2.BrickColor = BrickColor.new("Bright green")
  4409. gr2.Size = Vector3.new(x/1,z,x/1)
  4410. gr2.CanCollide = true
  4411. coroutine.wrap(function()
  4412. wait(.5)
  4413. gr2.CanCollide = false
  4414. gr2.Anchored = false
  4415. for i = 1, 40 do
  4416. gr2.Transparency = gr2.Transparency + .025
  4417. swait()
  4418. end
  4419. gr2:Remove()
  4420. end)()
  4421. coroutine.wrap(function()
  4422. wait(.5)
  4423. for i = 1, 40 do
  4424. swait()
  4425. gr.CFrame = gr.CFrame * CFrame.new(0,-5,0)
  4426. gr.Transparency = gr.Transparency + .025
  4427. end
  4428. gr:Remove()
  4429. end)()
  4430. swait()
  4431. end
  4432. coroutine.wrap(function()
  4433. wait(.5)
  4434. for i = 1, 40 do
  4435. so.Volume = so.Volume - .025
  4436. swait()
  4437. end
  4438. p:Remove()
  4439. so:Remove()
  4440. end)()
  4441. ws = 32
  4442. removeuseless:AddItem(g1,.0001)
  4443. attacking = false
  4444. debounce = false
  4445. end
  4446. end)
  4447.  
  4448. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  4449. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  4450. end
  4451.  
  4452. function ray2(StartPos, EndPos, Distance, Ignore)
  4453. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  4454. return ray(StartPos, DIRECTION, Distance, Ignore)
  4455. end
  4456.  
  4457. checks1 = coroutine.wrap(function() -------Checks
  4458. while true do
  4459. hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,4 * 1,Character)
  4460. if Root.Velocity.y > 1 and hf == nil then
  4461. position = "Jump"
  4462. elseif Root.Velocity.y < -1 and hf == nil then
  4463. position = "Falling"
  4464. elseif Root.Velocity.Magnitude < 5 and hf ~= nil then
  4465. position = "Idle"
  4466. elseif Root.Velocity.Magnitude > 5 and hf ~= nil then
  4467. position = "Walking"
  4468. else
  4469. end
  4470. wait()
  4471. end
  4472. end)
  4473. checks1()
  4474.  
  4475. OrgnC0 = Neck.C0
  4476. local movelimbs = coroutine.wrap(function()
  4477. while RunSrv.RenderStepped:wait() do
  4478. TrsoLV = Torso.CFrame.lookVector
  4479. Dist = nil
  4480. Diff = nil
  4481. if not MseGuide then
  4482. print("Failed to recognize")
  4483. else
  4484. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  4485. Dist = (Head.CFrame.p-Point).magnitude
  4486. Diff = Head.CFrame.Y-Point.Y
  4487. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  4488. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  4489. Diff2 = LeftArm.CFrame.Y-Point.Y
  4490. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4491. 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)
  4492. end
  4493. end
  4494. end)
  4495. movelimbs()
  4496. immortal = {}
  4497. for i,v in pairs(Character:GetDescendants()) do
  4498. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  4499. 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
  4500. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4501. end
  4502. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  4503. elseif v:IsA("JointInstance") then
  4504. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  4505. end
  4506. end
  4507. for e = 1, #immortal do
  4508. if immortal[e] ~= nil then
  4509. local STUFF = immortal[e]
  4510. local PART = STUFF[1]
  4511. local PARENT = STUFF[2]
  4512. local MATERIAL = STUFF[3]
  4513. local COLOR = STUFF[4]
  4514. local TRANSPARENCY = STUFF[5]
  4515. if levitate then
  4516. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  4517. PART.Material = MATERIAL
  4518. PART.Color = COLOR
  4519. PART.Transparency = TRANSPARENCY
  4520. end
  4521. PART.AncestryChanged:connect(function()
  4522. PART.Parent = PARENT
  4523. end)
  4524. else
  4525. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  4526. PART.Material = MATERIAL
  4527. PART.Color = COLOR
  4528. PART.Transparency = TRANSPARENCY
  4529. end
  4530. PART.AncestryChanged:connect(function()
  4531. PART.Parent = PARENT
  4532. end)
  4533. end
  4534. end
  4535. end
  4536. function immortality()
  4537. for e = 1, #immortal do
  4538. if immortal[e] ~= nil then
  4539. local STUFF = immortal[e]
  4540. local PART = STUFF[1]
  4541. local PARENT = STUFF[2]
  4542. local MATERIAL = STUFF[3]
  4543. local COLOR = STUFF[4]
  4544. local TRANSPARENCY = STUFF[5]
  4545. if PART.ClassName == "Part" and PART == Root then
  4546. PART.Material = MATERIAL
  4547. PART.Color = COLOR
  4548. PART.Transparency = TRANSPARENCY
  4549. end
  4550. if PART.Parent ~= PARENT then
  4551. hum:Remove()
  4552. PART.Parent = PARENT
  4553. hum = Instance.new("Humanoid",Character)
  4554. if levitate then
  4555. eyo1:Remove()
  4556. eyo2:Remove()
  4557. end
  4558. hum.Name = "noneofurbusiness"
  4559. end
  4560. end
  4561. end
  4562. end
  4563. coroutine.wrap(function()
  4564. while true do
  4565. hum:SetStateEnabled("Dead",false) hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  4566. if hum.Health < .1 then
  4567. immortality()
  4568. end
  4569. wait()
  4570. end
  4571. end)()
  4572.  
  4573. local anims = coroutine.wrap(function()
  4574. while true do
  4575. settime = 0.05
  4576. sine = sine + change
  4577. if position == "Jump" and not attacking then
  4578. change = 1
  4579. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  4580. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .15, 0) * CFrame.Angles(math.rad(10), math.rad(2), math.rad(10)), 0.2)
  4581. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(-2), math.rad(-10)), 0.2)
  4582. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.09)
  4583. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  4584. 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)
  4585. elseif position == "Falling" and not attacking then
  4586. change = 1
  4587. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  4588. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.09)
  4589. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  4590. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  4591. 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)
  4592. 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)
  4593. elseif position == "Walking" and not attacking then
  4594. change = 1.4
  4595. walking = true
  4596. ws = 32
  4597. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  4598. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 - .3 * math.sin(sine/8),.45 +.45 * math.sin(sine/8),-.3 - .26*math.sin(sine/8)) * CFrame.Angles(math.rad(75*math.sin(sine/8)),math.rad(-30 + 40*math.sin(sine/8)),math.rad(-10, math.sin(-20 * math.sin(sine/4)))),.3)
  4599. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3 - .3 * math.sin(sine/8),.45 -.45 * math.sin(sine/8),-.3 + .26*math.sin(sine/8)) * CFrame.Angles(math.rad(75*-math.sin(sine/8)),math.rad(30 + 40*math.sin(sine/8)),math.rad(10, math.sin(-20 * math.sin(sine/4)))),.3)
  4600. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  4601. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  4602. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + 0.29*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-15), math.rad(12 * -math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.1)
  4603. 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)
  4604. 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)
  4605. elseif position == "Idle" and not attacking then
  4606. change = .5
  4607. spin = true
  4608. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  4609. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  4610. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  4611. 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)
  4612. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  4613. 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)
  4614. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  4615. 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)
  4616. end
  4617. swait()
  4618. end
  4619. end)
  4620. anims()
  4621. warn("You rolled, death! Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement