Upscalefanatic3

(Roblox) [FE] Shrike God Script

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