Advertisement
zza

fe

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