Advertisement
AxeuerAlt

Untitled

Apr 23rd, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.58 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Character = Player.Character
  3. RS = Character.Torso["Right Shoulder"]
  4. local Mouse = Player:GetMouse()
  5.  
  6.  
  7.  
  8. function onKeyDown(key)
  9. key = key:lower()
  10. if key == "f" then
  11. for i = 1,3 do
  12. RS.C0 = RS.C0*CFrame.Angles(0,0,0.5)
  13. wait()
  14. end
  15. chatfunc("dO yOu lIke fIrE")
  16. local Fireball = Instance.new("Part", Character)
  17. Fireball.Name = "Fireball"
  18. game.Debris:AddItem(Fireball, 7)
  19. Fireball.Shape = "Ball"
  20. Fireball.BrickColor = BrickColor.new("Really red")
  21. Fireball.Transparency = 0.7
  22. local FireEffect = Instance.new("Fire", Fireball)
  23. FireEffect.Size = 25
  24. FireEffect.Heat = 25
  25. Fireball.TopSurface = 0
  26. Fireball.BottomSurface = 0
  27. Fireball.CanCollide = false
  28. Fireball.Locked = true
  29. Fireball.CFrame = Character.Torso.CFrame*CFrame.new(0,0,-12)
  30. local BodyVelocity = Instance.new("BodyVelocity", Fireball)
  31. BodyVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  32. BodyVelocity.velocity = Character.Torso.CFrame.lookVector*80
  33. function Hurt(Part)
  34. if Part.Parent:FindFirstChild("Humanoid") then
  35. Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health-15
  36. end
  37. end
  38. Fireball.Touched:connect(Hurt)
  39. wait(5)
  40. for i = 1,3 do
  41. RS.C0 = RS.C0*CFrame.Angles(0,0,-0.5)
  42. wait()
  43. end
  44. end
  45. end
  46. Mouse.KeyDown:connect(onKeyDown)
  47.  
  48.  
  49. --God Slayer
  50.  
  51.  
  52.  
  53.  
  54. --[[wait(0.1)
  55. -------------------------------
  56. local p=game:service("Players").LocalPlayer
  57. if p.Name=="Reruderu" then
  58. p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
  59. elseif p.Name=="Rerumu" then
  60. p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
  61. end]]
  62. local p=game:service("Players").LocalPlayer
  63. local char=p.Character
  64. script.Parent=char
  65. local torso=char.Torso
  66. local hed=char.Head
  67. local larm=char:FindFirstChild("Left Arm")
  68. local rarm=char:FindFirstChild("Right Arm")
  69. local lleg=char:FindFirstChild("Left Leg")
  70. local rleg=char:FindFirstChild("Right Leg")
  71. local hum=char.Humanoid
  72. local cam=workspace.CurrentCamera
  73. local root=char.HumanoidRootPart
  74. local mouse=p:GetMouse()
  75. local hb=game:service("RunService").Heartbeat
  76. local rs=game:service("RunService").Stepped
  77. hum.MaxHealth=math.huge
  78. hum.Health=hum.MaxHealth
  79. local pgui=Instance.new("ScreenGui",p.PlayerGui)
  80. random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  81. local run = 30
  82. local normal = 16
  83. local color = "Really black"
  84. local color2 = "Really red"
  85. local righteyebrickcolor = "Really red"
  86. local NumCol = 0,0,255
  87. local GodSlayer = true
  88. local Full = false
  89. hum.WalkSpeed = 5
  90. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  91. while true do
  92. wait(1)
  93. end
  94. -------------------
  95. local drinks="10722059"
  96. local m="41707332"
  97. local tx="41708701"
  98. local ragesong="590156873"
  99. local breaks="368270172"
  100. local scream="527276541"
  101. local Shirt = "rbxassetid://427841675"
  102. local Pants = "rbxassetid://428282416"
  103. -------------------
  104.  
  105.  
  106. function swait(num)
  107. if num==0 or num==nil then
  108. game:service'RunService'.Stepped:wait(0)
  109. else
  110. for i=0,num do
  111. game:service'RunService'.Stepped:wait(0)
  112. end
  113. end
  114. end
  115.  
  116. function chatfunc(text)
  117. local chat = coroutine.wrap(function()
  118. if char:FindFirstChild("TalkingBillBoard")~= nil then
  119. char:FindFirstChild("TalkingBillBoard"):destroy()
  120. end
  121. local naeeym2 = Instance.new("BillboardGui",char)
  122. naeeym2.Size = UDim2.new(0,100,0,40)
  123. naeeym2.StudsOffset = Vector3.new(0,3,0)
  124. naeeym2.Adornee = char.Head
  125. naeeym2.Name = "TalkingBillBoard"
  126. local tecks2 = Instance.new("TextLabel",naeeym2)
  127. tecks2.BackgroundTransparency = 1
  128. tecks2.BorderSizePixel = 0
  129. tecks2.Text = ""
  130. tecks2.Font = "SciFi"
  131. tecks2.TextSize = 30
  132. tecks2.TextStrokeTransparency = 0
  133. tecks2.TextColor3 = Color3.new(math.random(),math.random(),math.random())
  134. tecks2.Size = UDim2.new(1,0,0.5,0)
  135. local tecks3 = Instance.new("TextLabel",naeeym2)
  136. tecks3.BackgroundTransparency = 1
  137. tecks3.BorderSizePixel = 0
  138. tecks3.Text = ""
  139. tecks3.Font = "SciFi"
  140. tecks3.TextSize = 30
  141. tecks3.TextStrokeTransparency = 0
  142. tecks3.TextColor3 = Color3.new(255,0,0)
  143. tecks3.Size = UDim2.new(1,0,0.5,0)
  144. for i = 1,string.len(text),1 do
  145. tecks2.Text = string.sub(text,1,i)
  146. tecks3.Text = string.sub(text,1,i)
  147. wait(0.01)
  148. end
  149. wait(2)
  150. for i = 1, 50 do
  151. swait()
  152. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  153. tecks2.Rotation = tecks2.Rotation - .8
  154. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  155. tecks2.TextTransparency = tecks2.TextTransparency + .04
  156. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  157. tecks3.Rotation = tecks2.Rotation + .8
  158. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  159. tecks3.TextTransparency = tecks2.TextTransparency + .04
  160. end
  161. naeeym2:Destroy()
  162. end)
  163. chat()
  164. end
  165. function onChatted(msg)
  166. chatfunc(msg)
  167. end
  168. p.Chatted:connect(onChatted)
  169. coroutine.resume(coroutine.create(function()
  170. wait(2)
  171. chatfunc("cHaOs cHaOS")
  172. end))
  173.  
  174.  
  175. local s0=Instance.new("Sound",char)
  176. s0.SoundId="rbxassetid://"..ragesong
  177. s0.Volume=1999
  178. s0.Pitch=1
  179. s0.Looped=true
  180.  
  181.  
  182. local s02=Instance.new("Sound",char)
  183. s02.SoundId="rbxassetid://978788235"
  184. s02.Volume=1999
  185. s02.Pitch=1
  186. s02.Looped=false
  187. s02:Play()
  188.  
  189. function Sound(ID,Parent,Vol,Pitch,Loop)
  190. local S0 = Instance.new("Sound",Parent)
  191. S0.SoundId = ID
  192. S0.Volume = Vol
  193. S0.Looped = Loop
  194. S0.Pitch = Pitch
  195. wait(.1)
  196. S0:Play()
  197. end
  198. function weld(a, b, acf)
  199. local w = Instance.new("Weld", a)
  200. w.Part0 = a
  201. w.Part1 = b
  202. w.C0 = acf
  203. end
  204.  
  205.  
  206. wait(9)
  207. char.Head.face:Destroy()
  208. local reye = Instance.new("Part", char)
  209. reye.CanCollide = false
  210. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  211. reye.Material = "Neon"
  212. reye.Size = Vector3.new(.15,.15,.15)
  213. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  214. m1 = Instance.new("SpecialMesh", reye)
  215. m1.MeshType = "Sphere"
  216. m1.Scale = Vector3.new(0.9,0.9,0.9)
  217. reye.Locked = true
  218. reye.Name = "re"
  219.  
  220. local leye = Instance.new("Part", char)
  221. leye.CanCollide = false
  222. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  223. leye.Material = "Neon"
  224. leye.Size = Vector3.new(.15,.15,.15)
  225. weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
  226. local m = Instance.new("SpecialMesh", leye)
  227. m.MeshType = "Sphere"
  228. m.Scale = Vector3.new(0.9,0.9,0.9)
  229. leye.Locked = true
  230. leye.Name = "le"
  231.  
  232. coroutine.resume(coroutine.create(function(Part,Weld)
  233. while Part.Parent~=nil do
  234. wait(2)
  235. for i=0,1,0.2 do
  236. wait()
  237. m.Scale = Vector3.new(.9,.9-.8*i,.5)
  238. end
  239. for i=0,1,0.2 do
  240. wait()
  241. m.Scale = Vector3.new(.9,.9+.8*i,.5)
  242. end
  243. end
  244. end),leye,weld)
  245.  
  246. coroutine.resume(coroutine.create(function(Part,Weld)
  247. while Part.Parent~=nil do
  248. wait(2)
  249. for z=0,1,0.2 do
  250. wait()
  251. m1.Scale = Vector3.new(.9,.9-.8*z,.5)
  252. end
  253. for z=0,1,0.2 do
  254. wait()
  255. m1.Scale = Vector3.new(.9,.9+.8*z,.5)
  256. end
  257. end
  258. end),reye,weld)
  259.  
  260.  
  261.  
  262. function fnt(pos,dist,splr)
  263. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  264. local list = {}
  265. for i,v in pairs(workspace:GetChildren())do
  266. if v:IsA("Model")then
  267. if v:findFirstChild("Torso")then
  268. if v ~= char then
  269. if(v.Torso.Position -pos).magnitude <= dist then
  270. table.insert(list,v)
  271. end
  272. end
  273. end
  274. end
  275. end
  276. return list
  277. end
  278. function fnp(pos,dist,splr)
  279. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  280. local list = {}
  281. for i,v in pairs(workspace:GetChildren())do
  282. if v:IsA("Part")then
  283. if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
  284. if(v.Position -pos).magnitude <= dist then
  285. table.insert(list,v)
  286. end
  287. end
  288. end
  289. end
  290. return list
  291. end
  292. fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
  293. local wld = Instance.new("Weld", wp1)
  294. wld.Part0 = wp0
  295. wld.Part1 = wp1
  296. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  297. end
  298. local trans=false
  299. ------------------------------------
  300. ------------------------------------
  301. anim="idle"
  302. local sine=0
  303. local add=0
  304. local value=0
  305. local ffing=false
  306. local msgs=0
  307. attack=false
  308. NoAnims=false
  309. ----preparing character----
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. function NoOutline(Part)
  317. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  318. end
  319. function lerp(a, b, t) -- Linear interpolation
  320. return a + (b - a)*t
  321. end
  322.  
  323. function slerp(a, b, t) --Spherical interpolation
  324. dot = a:Dot(b)
  325. if dot > 0.99999 or dot < -0.99999 then
  326. return t <= 0.5 and a or b
  327. else
  328. r = math.acos(dot)
  329. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  330. end
  331. end
  332.  
  333. function matrixInterpolate(a, b, t)
  334. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  335. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  336. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  337. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  338. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  339. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  340. local t = v1:Dot(v2)
  341. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  342. return CFrame.new()
  343. end
  344. return CFrame.new(
  345. v0.x, v0.y, v0.z,
  346. v1.x, v1.y, v1.z,
  347. v2.x, v2.y, v2.z,
  348. v3.x, v3.y, v3.z)
  349. end
  350. ----------------------------------------------------
  351. function genWeld(a,b)
  352. local w = Instance.new("Weld",a)
  353. w.Part0 = a
  354. w.Part1 = b
  355. return w
  356. end
  357. function weld(a, b)
  358. local weld = Instance.new("Weld")
  359. weld.Name = "W"
  360. weld.Part0 = a
  361. weld.Part1 = b
  362. weld.C0 = a.CFrame:inverse() * b.CFrame
  363. weld.Parent = a
  364. return weld;
  365. end
  366. ----------------------------------------------------
  367. function Lerp(c1,c2,al)
  368. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  369. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  370. for i,v in pairs(com1) do
  371. com1[i] = v+(com2[i]-v)*al
  372. end
  373. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  374. end
  375. ----------------------------------------------------
  376.  
  377.  
  378.  
  379. fw(torso, larm, -1.5, 0.5, 0)
  380. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  381. fw(torso, rarm, 1.5, 0.5, 0)
  382. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  383. fw(torso, hed, 0, 1.5, 0)
  384. fw(torso, lleg, -0.5, -1, 0)
  385. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  386. fw(torso, rleg, 0.5, -1, 0)
  387. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  388. fw(root, torso, 0, -1, 0)
  389. torso.Weld.C1 = CFrame.new(0, -1, 0)
  390. --------------rot------------
  391. local r=0
  392. local radd=0.04
  393. coroutine.wrap(function()
  394. while rs:wait() do
  395. r=r+radd
  396. end
  397. end)()
  398. attack = false
  399. -----------------------------
  400.  
  401. -----------------------------
  402.  
  403.  
  404. if trans == false then
  405. attack=true
  406. NoAnims=true
  407. hum.WalkSpeed=0
  408.  
  409. local fx = Instance.new("Sound",char)
  410. fx.SoundId="rbxassetid://"..drinks
  411. fx.Volume=0
  412. fx.Pitch=1
  413. fx:Play()
  414.  
  415.  
  416.  
  417.  
  418. fx.SoundId="rbxassetid://"..breaks
  419. fx.Volume=10
  420. fx:Play()
  421.  
  422.  
  423.  
  424.  
  425. print("drinked")
  426.  
  427.  
  428.  
  429. coroutine.wrap(function()
  430. while trans == false do
  431. wait(0.2)
  432. local ef = Instance.new("Part",char)
  433. ef.Name="pulse"
  434. ef.BrickColor=BrickColor.new(color2)
  435. ef.Material="Neon"
  436. ef.Shape="Ball"
  437. ef.CanCollide=false
  438. ef.Anchored=true
  439. ef.Size=Vector3.new(1,1,1)
  440. ef.CFrame=root.CFrame
  441.  
  442. local ef2 = ef:Clone()
  443. ef2.Parent=ef
  444. ef2.BrickColor=BrickColor.new(color)
  445. ef2.Name="call"
  446. ef2.Size=Vector3.new(1,1,1)
  447. local em=Instance.new("SpecialMesh",ef2)
  448. em.MeshId="rbxassetid://3270017"
  449. em.Scale=Vector3.new(1,1,0.0001)
  450.  
  451. local ef3 = ef2:Clone()
  452. ef3.Parent=ef
  453. ef3.Name="aura"
  454. ef3.CFrame=root.CFrame
  455. local em2=ef3.Mesh
  456. em2.MeshId="rbxassetid://20329976"
  457. em2.Scale=Vector3.new(1,0.4,1)
  458.  
  459. local ef4 = ef3:Clone()
  460. ef4.Parent=ef
  461. local em3=ef4.Mesh
  462.  
  463. local ef5 = ef2:Clone()
  464. ef5.Parent=ef
  465. local em4=ef5.Mesh
  466.  
  467. coroutine.wrap(function()
  468. for i = 1, 60 do
  469. rs:wait()
  470. ef.Size=ef.Size+Vector3.new(1,1,1)
  471. ef.Transparency=ef.Transparency+1/60
  472. ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
  473. ef2.Transparency=ef2.Transparency+1/60
  474. em.Scale=em.Scale+Vector3.new(1,1,0)
  475. ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
  476. ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
  477. ef3.Transparency=ef3.Transparency+1/60
  478. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  479. em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
  480. ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
  481. ef4.Transparency=ef4.Transparency+1/60
  482. ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
  483. em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
  484. ef5.Transparency=ef5.Transparency+1/60
  485. em4.Scale=em4.Scale+Vector3.new(1,1,0)
  486. ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
  487. end
  488. ef:Destroy()
  489. ef2:Destroy()
  490. ef3:Destroy()
  491. ef4:Destroy()
  492. ef5:Destroy()
  493. end)()
  494. end
  495. local ef = Instance.new("Part",char)
  496. ef.Name="pulse"
  497. ef.BrickColor=BrickColor.new(color2)
  498. ef.Material="Neon"
  499. ef.Shape="Ball"
  500. ef.CanCollide=false
  501. ef.Anchored=true
  502. ef.Size=Vector3.new(1,1,1)
  503. ef.CFrame=root.CFrame
  504. local em=Instance.new("SpecialMesh",ef)
  505. em.MeshId="rbxassetid://9982590"
  506. em.Scale=Vector3.new(1,0.3,1)
  507.  
  508. local ef2 = ef:Clone()
  509. ef2.Parent=ef
  510. ef2.Name="aura"
  511. ef2.CFrame=root.CFrame
  512. ef2.Mesh:Destroy()
  513.  
  514. local ef3 = ef:Clone()
  515. ef3.Parent=ef
  516. ef3.Name="aura"
  517. ef3.CFrame=root.CFrame
  518. ef3.Mesh:Destroy()
  519. local em2=Instance.new("SpecialMesh",ef3)
  520. em2.MeshId="rbxassetid://20329976"
  521. em2.Scale=Vector3.new(1,0.3,1)
  522.  
  523. coroutine.wrap(function()
  524. for i = 1, 250 do
  525. ef.Size=ef.Size+Vector3.new(2,2,2)
  526. ef.Transparency=ef.Transparency+1/160
  527. em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
  528. ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
  529. ef3.Transparency=ef3.Transparency+1/160
  530. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  531. em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
  532. ef2.Size=ef2.Size+Vector3.new(2,2,2)
  533. ef2.Transparency=ef2.Transparency+1/160
  534. rs:wait()
  535. end
  536. ef:Destroy()
  537. ef2:Destroy()
  538. ef3:Destroy()
  539. s02:Destroy()
  540.  
  541. end)()
  542. end)()
  543.  
  544. for i = 1, 270 do
  545. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  546. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
  547. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
  548. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
  549. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
  550. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  551. rs:wait()
  552. end
  553. wait(8.7)
  554. s0:Play()
  555. trans=true
  556. print("screamed")
  557. for i,v in pairs(char:GetChildren()) do
  558. if v:FindFirstChild("Handle") then
  559. v.Handle.Transparency=1
  560. end
  561. end
  562. hum.WalkSpeed=normal
  563. NoAnims=false
  564. attack=false
  565. end
  566.  
  567.  
  568. ------effects------
  569.  
  570. ypcall(function()
  571. shirt = Instance.new("Shirt", char)
  572. shirt.Name = "Shirt"
  573. pants = Instance.new("Pants", char)
  574. pants.Name = "Pants"
  575. char.Shirt.ShirtTemplate = Shirt
  576. char.Pants.PantsTemplate = Pants
  577. end)
  578.  
  579. char["Body Colors"].HeadColor = BrickColor.new("Dirt brown")
  580. char["Body Colors"].TorsoColor = BrickColor.new("Dirt brown")
  581. char["Body Colors"].LeftArmColor = BrickColor.new("Dirt brown")
  582. char["Body Colors"].RightArmColor = BrickColor.new("Dirt brown")
  583.  
  584.  
  585.  
  586. hum = char.Humanoid
  587.  
  588. function CreateMesh(parent, id, x, y, z, texture)
  589. local m=Instance.new("SpecialMesh", parent)
  590. m.MeshType = "FileMesh"
  591. m.MeshId=id
  592. if texture ~= nil then
  593. m.TextureId=texture
  594. end
  595. m.Scale = Vector3.new(x,y,z)
  596. end
  597.  
  598. local euler = CFrame.fromEulerAnglesXYZ
  599.  
  600. Hat=function()
  601. hat = Instance.new("Part", char)
  602. CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015")
  603. hat.Name = "PurpleHair"
  604. hat.Locked = true
  605. hat.BrickColor = BrickColor.new("Dark indigo")
  606. hat.CanCollide=true
  607. hat.Size=Vector3.new(1,1,1)
  608. hatw = Instance.new("Weld",hat)
  609. hatw.Part0=hat
  610. hatw.Part1=char['Head']
  611. hatw.C0=CFrame.new(-0.1,-0.4,0)
  612. hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  613. end
  614.  
  615.  
  616. Hat2=function()
  617. hat2 = Instance.new("Part", char)
  618. CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208")
  619. hat2.Name = "DisguiseScarf"
  620. hat2.Locked = true
  621. hat2.BrickColor = BrickColor.new("Dark indigo")
  622. hat2.CanCollide=true
  623. hat2.Size=Vector3.new(1,1,1)
  624. hat2w = Instance.new("Weld",hat2)
  625. hat2w.Part0=hat2
  626. hat2w.Part1=char['Head']
  627. hat2w.C0=CFrame.new(0,0.5,0)
  628. hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  629. end
  630.  
  631. Hat()
  632. Hat2()
  633.  
  634. hum.MaxHealth=math.huge
  635. hum.Health=hum.MaxHealth
  636.  
  637.  
  638. Debounces = {
  639. CanAttack = true;
  640. NoIdl = false;
  641. Slashing = false;
  642. Slashed = false;
  643. RPunch = false;
  644. RPunched = false;
  645. LPunch = false;
  646. LPunched = false;
  647. }
  648. local Touche = {char.Name, }
  649.  
  650.  
  651.  
  652.  
  653.  
  654. CV="Really red"
  655.  
  656. local txt = Instance.new("BillboardGui", char)
  657. txt.Adornee = char .Head
  658. txt.Name = "_status"
  659. txt.Size = UDim2.new(2, 0, 1.2, 0)
  660. txt.StudsOffset = Vector3.new(-9, 11, 0)
  661. local text = Instance.new("TextLabel", txt)
  662. text.Size = UDim2.new(10, 0, 7, 0)
  663. text.FontSize = "Size24"
  664. text.TextScaled = true
  665. text.TextTransparency = 0
  666. text.BackgroundTransparency = 1
  667. text.TextTransparency = 0
  668. text.TextStrokeTransparency = 0
  669. text.Font = "Antique"
  670. text.TextStrokeColor3 = Color3.new(0,0,255)
  671.  
  672. v=Instance.new("Part")
  673. v.Name = "ColorBrick"
  674. v.Parent=p.Character
  675. v.FormFactor="Symmetric"
  676. v.Anchored=true
  677. v.CanCollide=false
  678. v.BottomSurface="Smooth"
  679. v.TopSurface="Smooth"
  680. v.Size=Vector3.new(10,5,3)
  681. v.Transparency=1
  682. v.CFrame=char.Torso.CFrame
  683. v.BrickColor=BrickColor.new(CV)
  684. v.Transparency=1
  685. text.TextColor3 = Color3.new(math.random(),math.random(),math.random())
  686. v.Shape="Block"
  687. text.Text = "ChAoS INsAnItY"
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695. rarm.Touched:connect(function(ht)
  696. hit = ht.Parent
  697. if ht and hit:IsA("Model") then
  698. if hit:FindFirstChild("Humanoid") then
  699. if hit.Name ~= p.Name then
  700. if Debounces.RPunch == true and Debounces.RPunched == false then
  701. Debounces.RPunched = true
  702. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  703. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  704. if Debounces.ks==true then
  705. z = Instance.new("Sound",hed)
  706. z.SoundId = "rbxassetid://588693156"
  707. z.Pitch = ptz[math.random(1,#ptz)]
  708. z.Volume = 20
  709. z:Play()
  710. end
  711. wait(.2)
  712. Debounces.RPunched = false
  713. end
  714. end
  715. end
  716. elseif ht and hit:IsA("Hat") then
  717. if hit.Parent.Name ~= p.Name then
  718. if hit.Parent:FindFirstChild("Humanoid") then
  719. if Debounces.RPunch == true and Debounces.RPunched == false then
  720. Debounces.RPunched = true
  721. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  722. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  723. if Debounces.ks==true then
  724. z = Instance.new("Sound",hed)
  725. z.SoundId = "rbxassetid://588693156"
  726. z.Pitch = ptz[math.random(1,#ptz)]
  727. z.Volume = 20
  728. z:Play()
  729. end
  730. wait(.2)
  731. Debounces.RPunched = false
  732. end
  733. end
  734. end
  735. end
  736. end)
  737. larm.Touched:connect(function(ht)
  738. hit = ht.Parent
  739. if ht and hit:IsA("Model") then
  740. if hit:FindFirstChild("Humanoid") then
  741. if hit.Name ~= p.Name then
  742. if Debounces.LPunch == true and Debounces.LPunched == false then
  743. Debounces.LPunched = true
  744. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  745. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  746. if Debounces.ks2==true then
  747. z = Instance.new("Sound",hed)
  748. z.SoundId = "rbxassetid://588693156"
  749. z.Pitch = ptz[math.random(1,#ptz)]
  750. z.Volume = 20
  751. z:Play()
  752. end
  753. wait(.2)
  754. Debounces.LPunched = false
  755. end
  756. end
  757. end
  758. elseif ht and hit:IsA("Hat") then
  759. if hit.Parent.Name ~= p.Name then
  760. if hit.Parent:FindFirstChild("Humanoid") then
  761. if Debounces.LPunch == true and Debounces.LPunched == false then
  762. Debounces.LPunched = true
  763. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  764. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  765. if Debounces.ks2==true then
  766. z = Instance.new("Sound",hed)
  767. z.SoundId = "rbxassetid://588693156"
  768. z.Pitch = ptz[math.random(1,#ptz)]
  769. z.Volume = 20
  770. z:Play()
  771. end
  772. wait(.2)
  773. Debounces.LPunched = false
  774. end
  775. end
  776. end
  777. end
  778. end)
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787. local attacktype = 1
  788. local attack = false
  789.  
  790.  
  791.  
  792. function attackone()
  793. Debounces.RPunch = true
  794. Debounces.LPunch = true
  795. attack = true
  796. NoAnims = true
  797. for i = 1, 3 do
  798. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  799. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  800. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  801. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  802. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  803. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  804. if Debounces.on == false then break end
  805. wait()
  806. end
  807. attack = false
  808. NoAnims = false
  809. Debounces.RPunch = false
  810. Debounces.LPunch = false
  811. end
  812.  
  813. function attacktwo()
  814. Debounces.RPunch = true
  815. Debounces.LPunch = true
  816. NoAnims = true
  817. attack = true
  818. for i = 1, 3 do
  819. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  820. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  821. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  822. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  823. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  824. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  825. if Debounces.on == false then break end
  826. wait()
  827. end
  828. attack = false
  829. NoAnims = false
  830. Debounces.RPunch = false
  831. Debounces.LPunch = false
  832.  
  833. end
  834.  
  835.  
  836. function attackthree()
  837. Debounces.RPunch = true
  838. Debounces.LPunch = true
  839. NoAnims = true
  840. attack = true
  841. for i = 1, 3 do
  842. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  843. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  844. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  845. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  846. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  847. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  848. if Debounces.on == false then break end
  849. wait()
  850. end
  851. attack = false
  852. NoAnims = false
  853. Debounces.RPunch = false
  854. Debounces.LPunch = false
  855. end
  856.  
  857.  
  858. function attackfour()
  859. Debounces.RPunch = true
  860. Debounces.LPunch = true
  861. NoAnims = true
  862. attack = true
  863. for i = 1, 3 do
  864. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  865. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  866. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  867. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  868. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  869. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  870. if Debounces.on == false then break end
  871. wait()
  872. end
  873. attack = false
  874. NoAnims = false
  875. Debounces.RPunch = false
  876. Debounces.LPunch = false
  877. end
  878.  
  879.  
  880. mouse.Button1Down:connect(function()
  881. if attack == false and attacktype == 1 then
  882. attacktype = 2
  883. attackone()
  884. elseif attack == false and attacktype == 2 then
  885. attacktype = 3
  886. attacktwo()
  887. elseif attack == false and attacktype == 3 then
  888. attacktype = 4
  889. attackthree()
  890. elseif attack == false and attacktype == 4 then
  891. attacktype = 1
  892. attackfour()
  893. end
  894. end)
  895.  
  896.  
  897. --[[function Transformation()
  898. hum.WalkSpeed = 0
  899. local Portal = Instance.new("Model",char)
  900. local prt1 = Instance.new("Model",Portal)
  901. local prt2 = Instance.new("Model",Portal)
  902. local prt3 = Instance.new("Model",Portal)
  903. for i = 1,7 do
  904. local p = Instance.new("Part",prt1)
  905. p.Locked = true
  906. p.Anchored = true
  907. p.Transparency = 1
  908. p.CanCollide = false
  909. p.BrickColor = BrickColor.new("Really red")
  910. p.TopSurface = 0
  911. p.Material = "Neon"
  912. p.BottomSurface = 0
  913. p.Size = Vector3.new(100000,100000,100000)
  914. local m = Instance.new("SpecialMesh",p)
  915. m.Name = 'm'
  916. m.Scale = Vector3.new(100000,100000,100000)
  917. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  918. end for i = 1,7 do
  919. local p = Instance.new("Part",prt2)
  920. p.Locked = true
  921. p.Anchored = true
  922. p.CanCollide = false
  923. p.Transparency = 1
  924. p.BrickColor = BrickColor.new("Really black")
  925. p.TopSurface = 0
  926. p.Material = "Neon"
  927. p.BottomSurface = 0
  928. p.Size = Vector3.new(100000,100000,100000)
  929. local m = Instance.new("SpecialMesh",p)
  930. m.Name = 'm'
  931. m.Scale = Vector3.new(100000,100000,100000)
  932. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  933. end for i = 1,7 do
  934. local p = Instance.new("Part",prt3)
  935. p.Locked = true
  936. p.Anchored = true
  937. p.CanCollide = false
  938. p.Transparency = 1
  939. p.BrickColor = BrickColor.new("Really red")
  940. p.TopSurface = 0
  941. p.Material = "Neon"
  942. p.BottomSurface = 0
  943. p.Size = Vector3.new(100000,100000,100000)
  944. local m = Instance.new("SpecialMesh",p)
  945. m.Name = 'm'
  946. m.Scale = Vector3.new(1,1,1)
  947. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  948. end
  949. local Rot,Rate,Dist,Size = 0,65,65,1
  950. coroutine.wrap(function()
  951. while wait()do
  952. if _DEBOUNCE then break end
  953. for i,v in pairs(prt1:GetChildren())do
  954. v.Transparency = v.Transparency -0.035
  955. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
  956. v.m.Scale = Vector3.new(Size,Size,Size)
  957. end for i,v in pairs(prt2:GetChildren())do
  958. v.Transparency = v.Transparency -0.035
  959. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
  960. v.m.Scale = Vector3.new(Size,Size,Size)
  961. end for i,v in pairs(prt3:GetChildren())do
  962. v.Transparency = v.Transparency -0.035
  963. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
  964. v.m.Scale = Vector3.new(Size,Size,Size)
  965. end
  966. Rot = Rot >= 360 and 0 or Rot +Rate
  967. end end)()
  968. wait(0.75)
  969. for i = 1,90 do
  970. Rate = Rate -(2.3/3)
  971. Dist = Dist -(1.5/3)
  972. wait()
  973. end
  974. wait(1)
  975. for i = 1,30 do
  976. Rate = Rate -(2.3/3)
  977. Dist = Dist +0.5
  978. wait()
  979. end
  980. wait(2)
  981. for i = 1,30 do
  982. Rate = Rate +(9.2/3)
  983. Dist = Dist -1.75
  984. wait()
  985. end
  986. wait(0.75)
  987. for i = 1,6 do
  988. Rate = Rate -4
  989. Dist = Dist +0.5
  990. wait()
  991. end
  992. Rate = 0
  993. Dist = 6
  994. wait(2)
  995. for i = 1,90 do
  996. Rate = Rate +0.5
  997. Dist = Dist +0.2
  998. wait()
  999. end
  1000. wait(1)
  1001. for i = 1,30 do
  1002. Dist = Dist -(24/30)
  1003. Size = Size +0.05
  1004. wait()
  1005. end
  1006. -- Scream in pain
  1007.  
  1008.  
  1009. coroutine.resume(coroutine.create(function()
  1010. wait(2)
  1011. game.Lighting.TimeOfDay = "00:00:00"
  1012.  
  1013. hat.Transparency = 1
  1014. Hat3=function()
  1015. hat3 = Instance.new("Part", char)
  1016. CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
  1017. hat3.Name = "RedHair"
  1018. hat3.Locked = true
  1019. hat3.BrickColor = BrickColor.new("Maroon")
  1020. hat3.CanCollide=true
  1021. hat3.Size=Vector3.new(1,1,1)
  1022. hat3w = Instance.new("Weld",hat3)
  1023. hat3w.Part0=hat3
  1024. hat3w.Part1=char['Head']
  1025. hat3w.C0=CFrame.new(-0.1,-0.4,0)
  1026. hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  1027. end
  1028.  
  1029.  
  1030.  
  1031. ypcall(function()
  1032. shirt = Instance.new("Shirt", char)
  1033. shirt.Name = "Shirt"
  1034. pants = Instance.new("Pants", char)
  1035. pants.Name = "Pants"
  1036. char.Shirt.ShirtTemplate = "rbxassetid://519769931"
  1037. char.Pants.PantsTemplate = "rbxassetid://519770250"
  1038. end)
  1039.  
  1040. ragesong2 = "492913801"
  1041. s02=Instance.new("Sound",char)
  1042. s02.SoundId="rbxassetid://"..ragesong2
  1043. s02.Volume=1999
  1044. s02.Pitch=1
  1045. s02.Looped=true
  1046. righteyebrickcolor = "Really red"
  1047. s0:Stop()
  1048. wait(0.01)
  1049. s02:Play()
  1050. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  1051. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  1052. text.TextStrokeColor3 = Color3.new(255,0,0)
  1053. hat.BrickColor = BrickColor.new("Maroon")
  1054. Hat3()
  1055. end))
  1056.  
  1057.  
  1058. tran = 0
  1059. for i,v in pairs(char:GetChildren()) do
  1060. if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
  1061. Glow1 = Color3.new(.6,0,.1)
  1062. Glow2 = Color3.new(0,0,0)
  1063.  
  1064. GlowParticle = Instance.new("ParticleEmitter",v)
  1065. GlowParticle.LightEmission = 1
  1066. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  1067. GlowParticle.Size = NumberSequence.new(0,2)
  1068.  
  1069. GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
  1070. GlowParticle.Transparency = NumberSequence.new(tran,1)
  1071. GlowParticle.LockedToPart = true
  1072. GlowParticle.Lifetime = NumberRange.new(0.5)
  1073. GlowParticle.Rate= 300
  1074. GlowParticle.Speed =NumberRange.new(0)
  1075. end end
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089. coroutine.wrap(function()
  1090. for i = 1,3 do
  1091. wait()
  1092. end end)()
  1093. wait(1.65)
  1094. _DEBOUNCE = true
  1095. wait()
  1096. Portal:Destroy()
  1097. coroutine.wrap(function()
  1098. local Pos = char.Torso.Position
  1099. local BOOSH = Instance.new("Sound",Workspace)
  1100. BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
  1101. BOOSH.Volume = 1
  1102. BOOSH.Pitch = 0.675
  1103. local Fuse = Instance.new("Sound",Workspace)
  1104. Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
  1105. Fuse.Volume = 1
  1106. Fuse.Pitch = 0.25
  1107. local BOOSH2 = Instance.new("Sound",Workspace)
  1108. BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1109. BOOSH2.Volume = 1
  1110. BOOSH2.Pitch = 0.25
  1111. local dsound = true
  1112. local PewPew = Instance.new("Sound",Workspace)
  1113. PewPew.Name = "PewPew"
  1114. PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
  1115. PewPew.Volume = 1
  1116. PewPew.Pitch = 0.32
  1117. local function GetHumanoids()
  1118. local Characters = {}
  1119. for i,v in pairs(Workspace:GetChildren())do
  1120. if v:IsA("Model")then
  1121. local Hu = v:findFirstChild("Humanoid")
  1122. local Torso = v:findFirstChild("Torso")
  1123. if Hu and Torso and v.Name ~= p.Name then
  1124. table.insert(Characters,Torso)
  1125. end end end
  1126. return Characters
  1127. end
  1128. local function Boom()
  1129. for i = 1,25 do
  1130. for _,v in pairs(GetHumanoids())do
  1131. if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
  1132. local h = v.Parent:findFirstChild("Humanoid")
  1133. if h then
  1134. local Moar =(Pos - v.Position).unit
  1135.  
  1136.  
  1137. end end end
  1138. local p = Instance.new("Part",char)
  1139. p.Name = "BlastRing"
  1140. p.TopSurface = 0
  1141. p.BottomSurface = 0
  1142. p.CanCollide = false
  1143. p.Anchored = true
  1144. p.BrickColor = BrickColor.new("Really red")
  1145. p.Size = Vector3.new(1,1,1)
  1146. p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
  1147. local rm = Instance.new("SpecialMesh",p)
  1148. rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1149. rm.Name = "BlastMesh"
  1150. rm.Scale = Vector3.new(10000,10000,10000)
  1151. coroutine.wrap(function()
  1152. for n = 1,15 do
  1153. rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
  1154. if 2 +i/5 == 1.2 then
  1155. rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
  1156. end
  1157. p.Transparency = n/15
  1158. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
  1159. wait()
  1160. end
  1161. p:Destroy()
  1162. end)()
  1163. local p = Instance.new("Part",char)
  1164. p.TopSurface = 0
  1165. p.BottomSurface = 0
  1166. p.formFactor = "Symmetric"
  1167. p.Size = Vector3.new(1,1,1)
  1168. p.Anchored = true
  1169. p.CanCollide = false
  1170. p.BrickColor = BrickColor.new("Really red")
  1171. p.CFrame = CFrame.new(Pos)
  1172. local m = Instance.new("BlockMesh",p)
  1173. coroutine.wrap(function()
  1174. for x = 1,48 do
  1175. m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2
  1176. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
  1177. p.Transparency = x/48
  1178. Wait()
  1179. end
  1180. p:Destroy()
  1181. end)()
  1182. Game:GetService("Debris"):AddItem(p,5)
  1183. local p = Instance.new("Part",char)
  1184. p.Name = "BlastRing"
  1185. p.TopSurface = 0
  1186. p.BottomSurface = 0
  1187. p.CanCollide = false
  1188. p.Anchored = true
  1189. p.BrickColor = BrickColor.new("Really black")
  1190. p.Size = Vector3.new(1,1,1)
  1191. p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
  1192. local m = Instance.new("SpecialMesh",p)
  1193. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1194. m.Scale = Vector3.new(10000,10000,10000)
  1195. coroutine.wrap(function()
  1196. for n = 1,13 do
  1197. m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
  1198. if 1 +i/5 == 1.2 then
  1199. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1200. end
  1201. p.Transparency = n/13
  1202. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
  1203. Wait()
  1204. end
  1205. p:Destroy()
  1206. end)()
  1207. Wait(0.1)
  1208. end for i = 10,19 do
  1209. local p = Instance.new("Part",char)
  1210. p.Name = "BlastRing"
  1211. p.TopSurface = 0
  1212. p.BottomSurface = 0
  1213. p.CanCollide = false
  1214. p.Anchored = true
  1215. p.BrickColor = BrickColor.new("Really red")
  1216. p.Size = Vector3.new(1,1,1)
  1217. p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
  1218. local m = Instance.new("SpecialMesh",p)
  1219. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1220. m.Scale = Vector3.new(10000,10000,10000)
  1221. coroutine.wrap(function()
  1222. for n = 1,13 do
  1223. m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
  1224. if 1 +i/5 == 1.2 then
  1225. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1226. end
  1227. p.Transparency = n/13
  1228. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
  1229. Wait()
  1230. end
  1231. p:Destroy()
  1232. end)()
  1233. local p = Instance.new("Part",char)
  1234. p.Name = "BlastRing"
  1235. p.TopSurface = 0
  1236. p.BottomSurface = 0
  1237. p.CanCollide = false
  1238. p.Anchored = true
  1239. p.BrickColor = BrickColor.new("Really black")
  1240. p.Size = Vector3.new(10000,10000,10000)
  1241. p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
  1242. p.Parent = workspace
  1243. local m = Instance.new("SpecialMesh",p)
  1244. m.Name = "BlastMesh"
  1245. m.Scale = Vector3.new(0.1,0.1,0.1)
  1246. m.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1247. coroutine.wrap(function()
  1248. for n = 1,15 do
  1249. m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
  1250. if 3+i/5 == 1.2 then
  1251. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1252. end
  1253. p.Transparency = n/15
  1254. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
  1255. Wait()
  1256. end
  1257. p:Destroy()
  1258. end)()
  1259. for _,v in pairs(GetHumanoids())do
  1260. if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
  1261. local h = v.Parent:findFirstChild("Humanoid")
  1262. if h then
  1263. local Moar =(Pos - v.Position).unit
  1264.  
  1265.  
  1266. end end end
  1267. Wait(0.1)
  1268. end for i = 30,37 do
  1269. for _,v in pairs(GetHumanoids())do
  1270. if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
  1271. local h = v.Parent:findFirstChild("Humanoid")
  1272. if h then
  1273. local Moar =(Pos - v.Position).unit
  1274.  
  1275.  
  1276. end end end end
  1277. dsound = false
  1278. wait(6.5)
  1279. for i = 1,30 do
  1280. BOOSH.Volume = BOOSH.Volume -0.033
  1281. BOOSH2.Volume = BOOSH.Volume
  1282. Fuse.Volume = BOOSH.Volume
  1283. Wait()
  1284. end
  1285. BOOSH:Stop()
  1286. BOOSH2:Stop()
  1287. Fuse:Stop()
  1288. end
  1289. BOOSH2:Play()
  1290. Fuse:Play()
  1291. BOOSH:Play()
  1292. Boom()
  1293. end)()
  1294. hum.WalkSpeed = 5
  1295. end]]
  1296.  
  1297.  
  1298. GroundWave = function()
  1299. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1300. local Colors = {"Really red", "Really red"}
  1301. local wave = Instance.new("Part", torso)
  1302. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1303. wave.Anchored = true
  1304. wave.CanCollide = false
  1305. wave.Locked = true
  1306. wave.Size = Vector3.new(1, 1, 1)
  1307. wave.TopSurface = "Smooth"
  1308. wave.BottomSurface = "Smooth"
  1309. wave.Transparency = 0.35
  1310. wave.CFrame = HandCF
  1311. wm = Instance.new("SpecialMesh", wave)
  1312. wm.MeshId = "rbxassetid://3270017"
  1313. coroutine.wrap(function()
  1314. for i = 1, 14, 1 do
  1315. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  1316. wave.Size = wm.Scale
  1317. wave.CFrame = HandCF
  1318. wave.Transparency = i/14
  1319. wait()
  1320. end
  1321. wait()
  1322. wave:Destroy()
  1323. end)()
  1324. end
  1325.  
  1326.  
  1327.  
  1328. function BurningEff(part)
  1329. local eff1 = Instance.new("ParticleEmitter",part)
  1330. eff1.Size = NumberSequence.new(.1)
  1331. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  1332. eff1.LightEmission = 1
  1333. eff1.Lifetime = NumberRange.new(1)
  1334. eff1.Speed = NumberRange.new(0)
  1335. eff1.Rate = 100
  1336. eff1.Texture = "rbxassetid://284205403"
  1337. eff1.Acceleration = Vector3.new(0,10,0)
  1338. eff1.Color = ColorSequence.new(Color3.new(0,0,255))
  1339. local eff2 = Instance.new("ParticleEmitter",part)
  1340. eff2.Size = NumberSequence.new(.1)
  1341. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  1342. eff2.LightEmission = 1
  1343. eff2.Lifetime = NumberRange.new(0.2)
  1344. eff2.Speed = NumberRange.new(0)
  1345. eff2.Rate = 100
  1346. eff2.Texture = "rbxassetid://347504259"
  1347. eff2.Acceleration = Vector3.new(0,10,0)
  1348. eff2.Color = ColorSequence.new(Color3.new(0,0,255))
  1349. local eff3 = Instance.new("ParticleEmitter",part)
  1350. eff3.Size = NumberSequence.new(0.2)
  1351. eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  1352. eff3.LightEmission = 1
  1353. eff3.Lifetime = NumberRange.new(1)
  1354. eff3.Speed = NumberRange.new(0)
  1355. eff3.Rate = 100
  1356. eff3.Texture = "rbxassetid://284205403"
  1357. eff3.Acceleration = Vector3.new(0,10,0)
  1358. eff3.Color = ColorSequence.new(Color3.new(0,0,255))
  1359. end
  1360.  
  1361.  
  1362. function FullPower()
  1363. NoAnims = true
  1364. attack = true
  1365.  
  1366.  
  1367.  
  1368. Full = true
  1369.  
  1370.  
  1371. for i = 1, 40 do
  1372. wait()
  1373. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head
  1374. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso
  1375. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm
  1376. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm
  1377. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg
  1378. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg
  1379. end
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389. for i = 1, 20 do
  1390. wait()
  1391. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head
  1392. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso
  1393. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm
  1394. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm
  1395. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg
  1396. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg
  1397. end
  1398.  
  1399. s0:Destroy()
  1400. ragesong = "397952612"
  1401. wait(0.001)
  1402. s02 = Instance.new("Sound",char)
  1403. s02.Volume = 90
  1404. s02.SoundId = "rbxassetid://"..ragesong
  1405. s02.Looped = true
  1406. s02.Pitch = 1
  1407. wait(0.001)
  1408. s02:Play()
  1409.  
  1410.  
  1411. local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
  1412. selectionBoxOfTorso.Adornee = torso
  1413. selectionBoxOfTorso.Color = BrickColor.new("Really red")
  1414. selectionBoxOfTorso.LineThickness = 0.01
  1415. selectionBoxOfTorso.Transparency = 0
  1416.  
  1417. local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
  1418. selectionBoxOfRightArm.Adornee = char["Right Arm"]
  1419. selectionBoxOfRightArm.Color = BrickColor.new("Really red")
  1420. selectionBoxOfRightArm.LineThickness = 0.01
  1421. selectionBoxOfRightArm.Transparency = 0
  1422.  
  1423. local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
  1424. selectionBoxOfRightLeg.Adornee = char["Right Leg"]
  1425. selectionBoxOfRightLeg.Color = BrickColor.new("Really red")
  1426. selectionBoxOfRightLeg.LineThickness = 0.01
  1427. selectionBoxOfRightLeg.Transparency = 0
  1428.  
  1429. local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
  1430. selectionBoxOfLeftArm.Adornee = char["Left Arm"]
  1431. selectionBoxOfLeftArm.Color = BrickColor.new("Really red")
  1432. selectionBoxOfLeftArm.LineThickness = 0.01
  1433. selectionBoxOfLeftArm.Transparency = 0
  1434.  
  1435. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
  1436. selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
  1437. selectionBoxOfLeftLeg.Color = BrickColor.new("Really red")
  1438. selectionBoxOfLeftLeg.LineThickness = 0.01
  1439. selectionBoxOfLeftLeg.Transparency = 0
  1440.  
  1441. BurningEff(reye)
  1442.  
  1443. LightOnBody = Instance.new("PointLight", hed)
  1444. LightOnBody.Brightness = 3000
  1445. LightOnBody.Range = 20
  1446. LightOnBody.Color = Color3.new(0, 0, 255)
  1447.  
  1448. r = game:GetService("RunService").RenderStepped
  1449. Activated = true
  1450. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  1451. Debri = coroutine.wrap(function()
  1452. repeat
  1453. local p = Instance.new('Part',torso)
  1454. p.formFactor = 'Custom'
  1455. p.Size = Vector3.new(1,1,1)
  1456. p.BrickColor = workspace.Base.BrickColor
  1457. p.CanCollide = false
  1458. p.Transparency = 0
  1459. p.Anchored = true
  1460. p.Locked=true
  1461. p.Material = workspace.Base.Material
  1462. s = math.random(1,40)/10
  1463. local m = Instance.new("BlockMesh",p)
  1464. m.Scale = Vector3.new(s,s,s)
  1465. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  1466. --[[coroutine.wrap(function()
  1467. wait(2)
  1468. while Charging == true do
  1469. wait(2)
  1470. GroundWave1()
  1471. wait(2)
  1472. end
  1473. end)()]]--
  1474.  
  1475. spawn(function()
  1476. while r:wait() do
  1477. if p.Transparency >= 1 then p:Destroy() break end
  1478. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1479. p.Transparency = p.Transparency+0.01
  1480. end
  1481. end)
  1482. wait(.3)
  1483. until Activated == false
  1484. end)
  1485. Debri()
  1486.  
  1487. l = game.Lighting
  1488. l.TimeOfDay = 1
  1489. game.Lighting.Ambient = Color3.new(0,0,0)
  1490. l.Brightness = 0.1
  1491.  
  1492.  
  1493. spawn(function()
  1494. while wait(2)
  1495. do
  1496. GroundWave()
  1497. end
  1498. end)
  1499.  
  1500.  
  1501. local eColors = {"Really red", "Really red"}
  1502. coroutine.resume(coroutine.create(function()
  1503. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  1504. local magz = (Part0 - Part1).magnitude
  1505. local curpos = Part0
  1506. local trz = {-Offset,Offset}
  1507. for i=1,Times do
  1508. local li = Instance.new("Part", torso)
  1509. li.Name = "Lightning"
  1510. li.TopSurface =0
  1511. li.Material = "Neon"
  1512. li.BottomSurface = 0
  1513. li.Anchored = true
  1514. li.Locked = true
  1515. li.Transparency = Trans or 0.4
  1516. li.BrickColor = BrickColor.new(Color)
  1517. li.formFactor = "Custom"
  1518. li.CanCollide = false
  1519. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  1520. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1521. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1522. if Times == i then
  1523. local magz2 = (curpos - Part1).magnitude
  1524. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1525. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1526. else
  1527. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1528. end
  1529. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1530. game.Debris:AddItem(li,.1)
  1531. end
  1532. end
  1533.  
  1534. BodyParts = {}
  1535. for _, v in pairs(char:GetChildren()) do
  1536. if v:IsA("Part") then
  1537. table.insert(BodyParts, v)
  1538. end
  1539. end
  1540.  
  1541. Bounding = {} -- Calculate the bounding boxes
  1542. for _, v in pairs(BodyParts) do
  1543. local temp = {X=nil, Y=nil, Z=nil}
  1544. temp.X = v.Size.X/2 * 10
  1545. temp.Y = v.Size.Y/2 * 10
  1546. temp.Z = v.Size.Z/2 * 10
  1547. Bounding[v.Name] = temp
  1548. end
  1549.  
  1550. while wait(lightspeed) do
  1551. lightspeed = math.random(0.1,0.2)
  1552. local Body1 = BodyParts[math.random(#BodyParts)]
  1553. local Body2 = BodyParts[math.random(#BodyParts)]
  1554. local Pos1 = Vector3.new(
  1555. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  1556. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  1557. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  1558. )
  1559. local Pos2 = Vector3.new(
  1560. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  1561. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  1562. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  1563. )
  1564. local SPos1 = Body1.Position + Pos1
  1565. local SPos2 = Body2.Position + Pos2
  1566. Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56)
  1567. end
  1568. end))
  1569. for i = 1, 20 do
  1570. wait()
  1571. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head
  1572. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso
  1573. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm
  1574. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm
  1575. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg
  1576. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg
  1577. end
  1578.  
  1579.  
  1580. attack = false
  1581. NoAnims = false
  1582. end
  1583.  
  1584. function weld5(part0, part1, c0, c1)
  1585. weeld=Instance.new("Weld", part0)
  1586. weeld.Part0=part0
  1587. weeld.Part1=part1
  1588. weeld.C0=c0
  1589. weeld.C1=c1
  1590. return weeld
  1591. end
  1592.  
  1593.  
  1594.  
  1595. Grab = false
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601. fat = Instance.new("BindableEvent",script)
  1602. fat.Name = "Heartbeat"
  1603.  
  1604. script:WaitForChild("Heartbeat")
  1605.  
  1606. frame = 1/30
  1607. tf = 0
  1608. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  1609. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1610. lastframe = tick()
  1611. script.Heartbeat:Fire() --ayy lmao
  1612.  
  1613. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  1614. tf = tf + s
  1615. if tf >= frame then
  1616. if allowframeloss then
  1617. script.Heartbeat:Fire()
  1618. lastframe=tick()
  1619. else
  1620. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1621. for i=1, math.floor(tf/frame) do
  1622. script.Heartbeat:Fire()
  1623. end
  1624. lastframe=tick()
  1625. end
  1626. if tossremainder then
  1627. tf = 0
  1628. else
  1629. tf = tf - frame * math.floor(tf/frame)
  1630. end
  1631. end
  1632. end)
  1633.  
  1634. function Swait(NUMBER)
  1635. if NUMBER == 0 or NUMBER == nil then
  1636. fat.Event:wait()
  1637. else
  1638. for i = 1, NUMBER do
  1639. fat.Event:wait()
  1640. end
  1641. end
  1642. end
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648. function GrabAndDrag()
  1649. NoAnims = true
  1650. attack = true
  1651.  
  1652. if Grab == false then
  1653.  
  1654. for i = 1, 20 do
  1655. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1656. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  1657. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1658. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1659. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  1660. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  1661. if Debounces.on == false then break end
  1662. rs:wait(2)
  1663. end
  1664. con1=larm.Touched:connect(function(hit) -- this is grab
  1665. ht = hit.Parent
  1666. hum1=ht:FindFirstChild('Humanoid')
  1667. if hum1 ~= nil then
  1668.  
  1669.  
  1670.  
  1671.  
  1672. z = Instance.new("Sound",char)
  1673. z.SoundId = "rbxassetid://227194112"
  1674. z.Volume = 90
  1675. wait(.1)
  1676. z:Play()
  1677. hum1.PlatformStand=true
  1678. gp = ht
  1679. Grab = true
  1680. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  1681. asd.Parent = larm
  1682. asd.Name = "asd"
  1683. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1684.  
  1685.  
  1686. --[[ elseif hum1 == nil then
  1687. con1:disconnect()
  1688. wait() return]]
  1689. end
  1690. end)
  1691.  
  1692.  
  1693. for i = 1, 20 do
  1694. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1695. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  1696. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  1697. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  1698. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1699. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  1700. if Debounces.on == false then break end
  1701. rs:wait(2)
  1702. end
  1703. con1:disconnect()
  1704.  
  1705. if gp == nil then
  1706. attack = false
  1707. NoAnims = false
  1708. return end
  1709.  
  1710.  
  1711.  
  1712. --[[for i = 1, 16 do
  1713. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  1714. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  1715. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1716. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1717. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  1718. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1719. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1720. if Debounces.on == false then end
  1721. rs:wait()
  1722. end]]--
  1723. for i = 1, 16 do
  1724. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  1725. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3)
  1726. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1727. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  1728. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  1729. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1730. if Debounces.on == false then end
  1731. rs:wait()
  1732. end
  1733.  
  1734.  
  1735. coroutine.resume(coroutine.create(function()
  1736. local BF = Instance.new("BodyVelocity",hed)
  1737. BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1738. BF.velocity = root.CFrame.lookVector*120
  1739. wait(2.5)
  1740. BF:remove()
  1741. end))
  1742.  
  1743.  
  1744.  
  1745. z = Instance.new("Sound",char)
  1746. z.SoundId = "rbxassetid://138223085"
  1747. z.Volume = 90
  1748. wait(.1)
  1749. z:Play()
  1750.  
  1751. coroutine.resume(coroutine.create(function()
  1752. for i=1,78 do
  1753. wait()
  1754. MagicBlock(BrickColor.new("Really red"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
  1755. wait(0.01)
  1756. MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
  1757. end
  1758. end))
  1759.  
  1760. coroutine.resume(coroutine.create(function()
  1761. Grabee = gp:FindFirstChild("Torso")
  1762. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1763. wait(0.01)
  1764. for i = 1,78 do
  1765. wait(0.01)
  1766. for i=1, 5 do
  1767. p=Instance.new("Part")
  1768. p.FrontSurface=par.TopSurface
  1769. p.Material=par.Material
  1770. p.BottomSurface=0
  1771. p.Anchored=true p.CanCollide=false
  1772. p.BrickColor=par.BrickColor
  1773. p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
  1774. p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  1775. p.Parent=char
  1776. game:GetService("Debris"):AddItem(p,2+i*.1)
  1777. if math.random(1,5)==5 then
  1778. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  1779. end
  1780. end
  1781. end
  1782.  
  1783. end))
  1784.  
  1785. coroutine.resume(coroutine.create(function()
  1786. Grabee = gp:FindFirstChild("Torso")
  1787. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1788. wait(0.01)
  1789.  
  1790. for i=1, 78 do
  1791. wait(0.01)
  1792. for i=1, 1 do
  1793. p=Instance.new("Part")
  1794. p.TopSurface=par.TopSurface
  1795. p.BottomSurface=par.BottomSurface
  1796. p.Material=par.Material
  1797. p.BottomSurface=0
  1798. p.Anchored=false p.CanCollide=false
  1799. p.BrickColor=par.BrickColor
  1800. p.formFactor="Custom"
  1801. p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
  1802. p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20)
  1803. p.Parent=char
  1804. game:GetService("Debris"):AddItem(p,3+i*.1)
  1805. p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
  1806. p.RotVelocity=p.Velocity
  1807. if math.random(1,5)==5 then
  1808. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  1809. end
  1810. end
  1811. Swait(.025)
  1812. end
  1813.  
  1814. end))
  1815. for i = 1, 100 do
  1816. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  1817. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3)
  1818. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  1819. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  1820. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
  1821. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
  1822. if Debounces.on == false then end
  1823. rs:wait()
  1824. end
  1825. asd:Destroy()
  1826. gp = nil
  1827. hum1.Health = 0
  1828. attack = false
  1829. ht = nil
  1830. NoAnims = false
  1831. Grab = false
  1832. end
  1833. end
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845. function FindNearestTorso(Position,Distance,SinglePlayer)
  1846. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1847. local List = {}
  1848. for i,v in pairs(workspace:GetChildren())do
  1849. if v:IsA("Model")then
  1850. if v:findFirstChild("Torso")then
  1851. if v ~= char then
  1852. if(v.Torso.Position -Position).magnitude <= Distance then
  1853. table.insert(List,v)
  1854. end
  1855. end
  1856. end
  1857. end
  1858. end
  1859. return List
  1860. end
  1861.  
  1862.  
  1863.  
  1864. function Ring()
  1865.  
  1866.  
  1867. local effspwn = Instance.new("Part")
  1868. local model = Instance.new("Model")
  1869. game.Debris:AddItem(model, 20)
  1870. model.Name = "smasheffects"
  1871. model.Parent = workspace
  1872. effspwn.Name = "spwnr"
  1873. effspwn.Size = Vector3.new(10000000, 10000000, 10000000)
  1874. effspwn.Anchored = true
  1875. effspwn.CanCollide = false
  1876. effspwn.Transparency = 1
  1877. effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1878. effspwn.Parent = model
  1879.  
  1880. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  1881. if v:FindFirstChild('Humanoid') then
  1882. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1883. v.Humanoid.PlatformStand = true
  1884. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
  1885. end
  1886. end
  1887. coroutine.resume(coroutine.create(function()
  1888. local shok = Instance.new("Part")
  1889. shok.Name = "wring1"
  1890. shok.BrickColor = BrickColor.new("Really red")
  1891. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1892. shok.Size = Vector3.new(1, 1, 1)
  1893. shok.Anchored = true
  1894. shok.Material = "Neon"
  1895. shok.Transparency = 0.25
  1896. shok.CanCollide = false
  1897. shok.Parent = model
  1898. game.Debris:AddItem(shok, 12)
  1899. local mesh = Instance.new("SpecialMesh")
  1900. mesh.MeshType = "FileMesh"
  1901. mesh.MeshId = "rbxassetid://3270017"
  1902. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1903. mesh.Parent = shok
  1904. for e = 1, 30 do
  1905. wait()
  1906. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1907. shok.Transparency = shok.Transparency + 0.002
  1908. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1909. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1910. end
  1911. for e = 1, 38 do
  1912. wait()
  1913. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1914. shok.Transparency = shok.Transparency + 0.002
  1915. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1916. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1917. end
  1918. for e = 1, 24 do
  1919. wait()
  1920. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1921. shok.Transparency = shok.Transparency + 0.03
  1922. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1923. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1924. end
  1925. end))
  1926. coroutine.resume(coroutine.create(function()
  1927. local shok = Instance.new("Part")
  1928. shok.Name = "wring2"
  1929. shok.BrickColor = BrickColor.new("Really red")
  1930. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1931. shok.Size = Vector3.new(1, 1, 1)
  1932. shok.Anchored = true
  1933. shok.Material = "Neon"
  1934. shok.Transparency = 0.25
  1935. shok.CanCollide = false
  1936. shok.Parent = model
  1937. game.Debris:AddItem(shok, 12)
  1938. local mesh = Instance.new("SpecialMesh")
  1939. mesh.MeshType = "FileMesh"
  1940. mesh.MeshId = "rbxassetid://3270017"
  1941. mesh.Scale = Vector3.new(12, 12, 0.05)
  1942. mesh.Parent = shok
  1943. for e = 1, 30 do
  1944. wait()
  1945. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1946. shok.Transparency = shok.Transparency + 0.002
  1947. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1948. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1949. end
  1950. for e = 1, 38 do
  1951. wait()
  1952. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1953. shok.Transparency = shok.Transparency + 0.002
  1954. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1955. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1956. end
  1957. for e = 1, 24 do
  1958. wait()
  1959. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1960. shok.Transparency = shok.Transparency + 0.03
  1961. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1962. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1963. end
  1964. end))
  1965.  
  1966. coroutine.resume(coroutine.create(function()
  1967. local shok = Instance.new("Part")
  1968. shok.Name = "shokwve"
  1969. shok.BrickColor = BrickColor.new("Really black")
  1970. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  1971. shok.Size = Vector3.new(1, 1, 1)
  1972. shok.Anchored = true
  1973. shok.Material = "Neon"
  1974. shok.Transparency = 0.6
  1975. shok.CanCollide = false
  1976. shok.Parent = model
  1977. game.Debris:AddItem(shok, 12)
  1978. local mesh = Instance.new("SpecialMesh")
  1979. mesh.MeshType = "FileMesh"
  1980. mesh.MeshId = "rbxassetid://489415447"
  1981. mesh.Scale = Vector3.new(1, 1, 1)
  1982. mesh.Parent = shok
  1983. for e = 1, 12 do
  1984. wait()
  1985. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1986. shok.Transparency = shok.Transparency + 0.002
  1987. end
  1988. for e = 1, 32 do
  1989. wait()
  1990. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1991. shok.Transparency = shok.Transparency + 0.002
  1992. end
  1993. for e = 1, 24 do
  1994. wait()
  1995. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1996. shok.Transparency = shok.Transparency + 0.03
  1997. end
  1998. end))
  1999. coroutine.resume(coroutine.create(function()
  2000. local shok = Instance.new("Part")
  2001. shok.Name = "shock2"
  2002. shok.BrickColor = BrickColor.new("Really black")
  2003. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2004. shok.Size = Vector3.new(1, 1, 1)
  2005. shok.Anchored = true
  2006. shok.Material = "Neon"
  2007. shok.Transparency = 0.35
  2008. shok.CanCollide = false
  2009. shok.Parent = model
  2010. game.Debris:AddItem(shok, 12)
  2011. local mesh = Instance.new("SpecialMesh")
  2012. mesh.MeshType = "FileMesh"
  2013. mesh.MeshId = "rbxassetid://489415447"
  2014. mesh.Scale = Vector3.new(12, 12, 12)
  2015. mesh.Parent = shok
  2016. for e = 1, 15 do
  2017. wait()
  2018. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2019. shok.Transparency = shok.Transparency + 0.004
  2020. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2021. end
  2022. for e = 1, 16 do
  2023. wait()
  2024. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2025. shok.Transparency = shok.Transparency + 0.004
  2026. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2027. end
  2028. for e = 1, 12 do
  2029. wait()
  2030. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2031. shok.Transparency = shok.Transparency + 0.06
  2032. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2033. end
  2034. end))
  2035. coroutine.resume(coroutine.create(function()
  2036. local shok = Instance.new("Part")
  2037. shok.Name = "shock3"
  2038. shok.BrickColor = BrickColor.new("Really red")
  2039. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2040. shok.Size = Vector3.new(1, 1, 1)
  2041. shok.Anchored = true
  2042. shok.Material = "Neon"
  2043. shok.Transparency = 0.35
  2044. shok.CanCollide = false
  2045. shok.Parent = model
  2046. game.Debris:AddItem(shok, 12)
  2047. local mesh = Instance.new("SpecialMesh")
  2048. mesh.MeshType = "FileMesh"
  2049. mesh.MeshId = "rbxassetid://489415447"
  2050. mesh.Scale = Vector3.new(12, 12, 12)
  2051. mesh.Parent = shok
  2052. for e = 1, 15 do
  2053. wait()
  2054. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2055. shok.Transparency = shok.Transparency + 0.004
  2056. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2057. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2058. end
  2059. for e = 1, 16 do
  2060. wait()
  2061. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2062. shok.Transparency = shok.Transparency + 0.004
  2063. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2064. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2065. end
  2066. for e = 1, 12 do
  2067. wait()
  2068. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2069. shok.Transparency = shok.Transparency + 0.06
  2070. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2071. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2072. end
  2073. end))
  2074.  
  2075. end
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083. it=Instance.new
  2084. vt=Vector3.new
  2085. cf=CFrame.new
  2086.  
  2087. function NoOutline(Part)
  2088. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2089. end
  2090.  
  2091.  
  2092. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2093. local fp=it("Part")
  2094. fp.formFactor=formfactor
  2095. fp.Parent=parent
  2096. fp.Reflectance=reflectance
  2097. fp.Transparency=transparency
  2098. fp.CanCollide=false
  2099. fp.Locked=true
  2100. fp.BrickColor=brickcolor
  2101. fp.Name=name
  2102. fp.Size=size
  2103. fp.Position=torso.Position
  2104. NoOutline(fp)
  2105. fp.Material="SmoothPlastic"
  2106. fp:BreakJoints()
  2107. return fp
  2108. end
  2109.  
  2110.  
  2111.  
  2112. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2113. local mesh=it(Mesh)
  2114. mesh.Parent=part
  2115. if Mesh=="SpecialMesh" then
  2116. mesh.MeshType=meshtype
  2117. if meshid~="nil" then
  2118. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2119. end
  2120. end
  2121. mesh.Offset=offset
  2122. mesh.Scale=scale
  2123. return mesh
  2124. end
  2125.  
  2126. function weld(parent,part0,part1,c0)
  2127. local weld=it("Weld")
  2128. weld.Parent=parent
  2129. weld.Part0=part0
  2130. weld.Part1=part1
  2131. weld.C0=c0
  2132. return weld
  2133. end
  2134.  
  2135.  
  2136. function swait(num)
  2137. if num==0 or num==nil then
  2138. game:service'RunService'.Stepped:wait(0)
  2139. else
  2140. for i=0,num do
  2141. game:service'RunService'.Stepped:wait(0)
  2142. end
  2143. end
  2144. end
  2145.  
  2146.  
  2147.  
  2148.  
  2149. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2150. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2151. end
  2152.  
  2153. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2154. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2155. prt.Anchored=true
  2156. prt.CFrame=cframe
  2157. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2158. --http://www.roblox.com/asset/?id=4770560
  2159. game:GetService("Debris"):AddItem(prt,2)
  2160. CF=prt.CFrame
  2161. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2162. for i=0,1,0.2 do
  2163. wait()
  2164. Part.CFrame=CF*cf(0,0,-0.4)
  2165. end
  2166. for i=0,1,delay do
  2167. wait()
  2168. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2169. Mesh.Scale=Mesh.Scale
  2170. end
  2171. for i=0,1,0.1 do
  2172. wait()
  2173. Part.Transparency=i
  2174. end
  2175. Part.Parent=nil
  2176. end),prt,msh,CF)
  2177. end
  2178.  
  2179. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2180. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2181. prt.Anchored=true
  2182. prt.Material = "SmoothPlastic"
  2183. prt.CFrame=cframe
  2184. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2185. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2186. game:GetService("Debris"):AddItem(prt,5)
  2187. coroutine.resume(coroutine.create(function(Part,Mesh)
  2188. for i=0,1,delay do
  2189. swait()
  2190. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2191. Part.Transparency=i
  2192. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2193. end
  2194. Part.Parent=nil
  2195. end),prt,msh)
  2196. end
  2197.  
  2198. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2199. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2200. prt.Anchored=true
  2201. prt.Material = "Neon"
  2202. prt.CFrame=cframe
  2203. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2204. game:GetService("Debris"):AddItem(prt,5)
  2205. coroutine.resume(coroutine.create(function(Part,Mesh)
  2206. local rtype = rottype
  2207. for i=0,1,delay do
  2208. swait()
  2209. if rtype == 1 then
  2210. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2211. elseif rtype == 2 then
  2212. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2213. end
  2214. Part.Transparency=i
  2215. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2216. end
  2217. Part.Parent=nil
  2218. end),prt,msh)
  2219. end
  2220.  
  2221. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2222. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2223. prt.Anchored=true
  2224. prt.CFrame=cframe
  2225. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2226. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2227. game:GetService("Debris"):AddItem(prt,5)
  2228. coroutine.resume(coroutine.create(function(Part,Mesh)
  2229. for i=0,1,delay do
  2230. wait()
  2231. Part.Transparency=i
  2232. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2233. end
  2234. Part.Parent=nil
  2235. end),prt,msh)
  2236. end
  2237.  
  2238. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2239. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2240. prt.Anchored=false
  2241. prt.CFrame=cframe
  2242. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2243. local wld=weld(prt,prt,Parent,cframe)
  2244. game:GetService("Debris"):AddItem(prt,5)
  2245. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2246. for i=0,1,delay do
  2247. wait()
  2248. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2249. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2250. Part.Transparency=i
  2251. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2252. end
  2253. Part.Parent=nil
  2254. end),prt,msh,wld)
  2255. end
  2256.  
  2257. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2258. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2259. prt.Anchored=false
  2260. prt.CFrame=cframe
  2261. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2262. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2263. game:GetService("Debris"):AddItem(prt,5)
  2264. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2265. for i=0,1,delay do
  2266. wait()
  2267. Weld.C0=euler(i*20,0,0)
  2268. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2269. Part.Transparency=i
  2270. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2271. end
  2272. Part.Parent=nil
  2273. end),prt,msh,wld)
  2274. end
  2275.  
  2276. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2277. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2278. prt.Anchored=true
  2279. prt.CFrame=cframe
  2280. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2281. game:GetService("Debris"):AddItem(prt,2)
  2282. coroutine.resume(coroutine.create(function(Part,Mesh)
  2283. for i=0,1,delay do
  2284. wait()
  2285. Part.CFrame=Part.CFrame
  2286. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2287. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2288. prt2.Anchored=true
  2289. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2290. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2291. game:GetService("Debris"):AddItem(prt2,2)
  2292. coroutine.resume(coroutine.create(function(Part,Mesh)
  2293. for i=0,1,0.1 do
  2294. wait()
  2295. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2296. end
  2297. Part.Parent=nil
  2298. end),prt2,msh2)
  2299. end
  2300. for i=0,1,delay*2 do
  2301. wait()
  2302. Part.CFrame=Part.CFrame
  2303. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2304. end
  2305. Part.Parent=nil
  2306. end),prt,msh)
  2307. end
  2308.  
  2309. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2310. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2311. prt.Anchored=true
  2312. prt.CFrame=cframe
  2313. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2314. game:GetService("Debris"):AddItem(prt,2)
  2315. coroutine.resume(coroutine.create(function(Part,Mesh)
  2316. for i=0,1,delay do
  2317. wait()
  2318. Part.CFrame=Part.CFrame
  2319. Part.Transparency=i
  2320. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2321. end
  2322. Part.Parent=nil
  2323. end),prt,msh)
  2324. end
  2325.  
  2326. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2327. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2328. prt.Anchored=true
  2329. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2330. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2331. game:GetService("Debris"):AddItem(prt,2)
  2332. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2333. CF=Part.CFrame
  2334. Numbb=0
  2335. randnumb=math.random()/10
  2336. rand1=math.random()/10
  2337. for i=0,1,rand1 do
  2338. wait()
  2339. CF=CF*cf(0,math.random()/2,0)
  2340. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2341. Part.CFrame=CF*euler(Numbb,0,0)
  2342. Part.Transparency=i
  2343. Numbb=Numbb+randnumb
  2344. end
  2345. Part.Parent=nil
  2346. end),prt,CF,Numbb,randnumb)
  2347. end
  2348.  
  2349. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2350. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2351. prt.Anchored=true
  2352. prt.CFrame=cframe
  2353. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2354. game:GetService("Debris"):AddItem(prt,5)
  2355. coroutine.resume(coroutine.create(function(Part,Mesh)
  2356. for i=0,1,delay do
  2357. wait()
  2358. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2359. Part.Transparency=i
  2360. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2361. end
  2362. Part.Parent=nil
  2363. end),prt,msh)
  2364. end
  2365.  
  2366. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2367. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2368. prt.Anchored=true
  2369. prt.CFrame=cframe
  2370. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2371. game:GetService("Debris"):AddItem(prt,2)
  2372. coroutine.resume(coroutine.create(function(Part,Mesh)
  2373. for i=0,1,delay do
  2374. wait()
  2375. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2376. Part.Transparency=i
  2377. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2378. end
  2379. Part.Parent=nil
  2380. end),prt,msh)
  2381. end
  2382.  
  2383. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2384. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2385. prt.Anchored=true
  2386. prt.CFrame=cframe*cf(x,y,z)
  2387. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2388. game:GetService("Debris"):AddItem(prt,5)
  2389. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2390. local num=math.random()
  2391. local num2=math.random(-3,2)+math.random()
  2392. local numm=0
  2393. for i=0,1,delay*2 do
  2394. swait()
  2395. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2396. Part.Transparency=i
  2397. numm=numm+0.01
  2398. end
  2399. Part.Parent=nil
  2400. Mesh.Parent=nil
  2401. end),prt,msh,x,y,z)
  2402. end
  2403.  
  2404.  
  2405.  
  2406. function newRay(start,face,range,wat)
  2407. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  2408. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  2409. return rey,hit,pos
  2410. end
  2411.  
  2412. function Landing()
  2413. MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2414. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2415. MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2416. MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2417. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2418. MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2419.  
  2420. MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2421. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2422. MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2423. end
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434. function nooutline(part)
  2435. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  2436. end
  2437.  
  2438.  
  2439.  
  2440.  
  2441. function debris(cfremz, thepart, amt)
  2442. for j = 1, amt do
  2443. do
  2444. local pr = Instance.new("Part")
  2445. nooutline(pr)
  2446. pr.Name = "debrisobeb"
  2447. pr.Anchored = true
  2448. pr.BrickColor = thepart.BrickColor
  2449. pr.CanCollide = true
  2450. pr.Material = thepart.Material
  2451. pr.Transparency = thepart.Transparency
  2452. pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
  2453. pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  2454. pr.Parent = workspace
  2455. game.Debris:AddItem(pr, 25)
  2456. delay(15, function()
  2457. if pr then
  2458. pr.CanCollide = false
  2459. pr.Anchored = false
  2460. end
  2461. end)
  2462. end
  2463. end
  2464. for c = 1, amt do
  2465. do
  2466. local pr2 = Instance.new("Part")
  2467. nooutline(pr2)
  2468. pr2.Name = "moredebr"
  2469. pr2.Anchored = false
  2470. pr2.BrickColor = thepart.BrickColor
  2471. pr2.CanCollide = false
  2472. pr2.Material = thepart.Material
  2473. pr2.Transparency = thepart.Transparency
  2474. pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
  2475. pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  2476. pr2.Parent = workspace
  2477. pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
  2478. pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
  2479. game.Debris:AddItem(pr2, 45)
  2480. delay(2, function()
  2481. pr2.CanCollide = true
  2482. wait(10)
  2483. if pr2 then
  2484. pr2.CanCollide = false
  2485. end
  2486. end)
  2487. end
  2488. end
  2489. end
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500. function AirSlam()
  2501. NoAnims = true
  2502. attack = true
  2503. for i = 1, 20 do
  2504. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  2505. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  2506. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  2507. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  2508. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  2509. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  2510. if Debounces.on == false then break end
  2511. wait()
  2512. end
  2513. wait(0.5)
  2514.  
  2515.  
  2516. coroutine.resume(coroutine.create(function()
  2517. MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2518. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2519. MagicBlock(BrickColor.new("Really red"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
  2520. end))
  2521.  
  2522. Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
  2523.  
  2524. hum.WalkSpeed = 50
  2525. BV = Instance.new("BodyVelocity", torso)
  2526. BV.maxForce = Vector3.new(0,200000,0)
  2527. BV.P = 100000
  2528. BV.velocity = Vector3.new(0,150,0)
  2529. for i = 1, 20 do
  2530. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  2531. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2532. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  2533. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  2534. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  2535. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  2536. if Debounces.on == false then break end
  2537. wait()
  2538. end
  2539. BV:Destroy()
  2540.  
  2541. coroutine.resume(coroutine.create(function()
  2542. for i = 1, 2880, 48 do
  2543. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
  2544. rs:wait(4)
  2545. end
  2546. torso.Weld.C1 = CFrame.new(0, -1, 0)
  2547. end))
  2548.  
  2549. for i = 1, 30 do
  2550. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2551. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  2552. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2553. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2554. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2555. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2556. if Debounces.on == false then break end
  2557. wait()
  2558. end
  2559.  
  2560. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  2561. for i = 1, 20 do
  2562. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3)
  2563. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3)
  2564. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  2565. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
  2566. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  2567. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3)
  2568. if Debounces.on == false then break end
  2569. wait()
  2570. end
  2571. end
  2572. local ry,ht,ps=nil,nil,nil
  2573. while ht==nil do
  2574. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  2575. wait()
  2576. end
  2577. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  2578. if par then
  2579. local cfremz = CFrame.new(loc)
  2580. debris(cfremz, par, 50)
  2581. end
  2582. coroutine.resume(coroutine.create(function()
  2583. Ring()
  2584. end))
  2585. Landing()
  2586. Sound("rbxassetid://514867425",char,90,1,false)
  2587. hum.WalkSpeed = 5
  2588. for i = 1, 25 do
  2589. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2)
  2590. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2)
  2591. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2)
  2592. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2)
  2593. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
  2594. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
  2595. if Debounces.on == false then break end
  2596. wait()
  2597. end
  2598. wait(0.2)
  2599. attack = false
  2600. NoAnims = false
  2601. end
  2602.  
  2603.  
  2604.  
  2605. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  2606. local p = Instance.new("Part")
  2607. p.Parent = parent
  2608. p.Size = Vector3.new(1,1,1)
  2609. p.Transparency = transparency
  2610. p.Reflectance = reflectance
  2611. p.CanCollide = false
  2612. p.BrickColor = brickcolor
  2613. p.Material = material
  2614. return p
  2615. end
  2616.  
  2617.  
  2618. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  2619. local weld = Instance.new("Weld")
  2620. weld.Parent = parent
  2621. weld.Part0 = part0
  2622. weld.Part1 = part1
  2623. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  2624. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  2625. return weld
  2626. end
  2627.  
  2628.  
  2629.  
  2630. --[[HandleR = Instance.new("Part")
  2631. HandleR.BrickColor = BrickColor.new("Really red")
  2632. HandleR.Material = "Neon"
  2633. HandleR.Transparency = 0.3
  2634. HandleR.Size = Vector3.new(1,0.8,4)
  2635. HandleR.CFrame = sorb.CFrame
  2636. HandleRM = Instance.new("SpecialMesh",HandleR)
  2637. HandleRM.MeshId = "rbxasset://fonts/sword.mesh"
  2638. HandleRM.Scale = Vector3.new(1,1,1)
  2639.  
  2640. HandleL = Instance.new("Part")
  2641. HandleL.BrickColor = BrickColor.new("Really red")
  2642. HandleL.Material = "Neon"
  2643. HandleL.Transparency = 0.3
  2644. HandleL.Size = Vector3.new(1,0.8,4)
  2645. HandleL.CFrame = sorb2.CFrame
  2646. HandleLM = Instance.new("SpecialMesh",HandleL)
  2647. HandleLM.MeshId = "rbxasset://fonts/sword.mesh"
  2648. HandleLM.Scale = Vector3.new(1,1,1)]]
  2649.  
  2650.  
  2651. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
  2652. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2653. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
  2654. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2655.  
  2656.  
  2657. v3 = Vector3.new
  2658. rad=math.rad
  2659.  
  2660. kiblade = Instance.new("Part",char)
  2661. kiblade.Name = "Blade"
  2662. kiblade.Size = v3(1,5,1)
  2663. kiblade.Transparency = 1
  2664. kiblade.BrickColor = BrickColor.new("Really red")
  2665. kiblade.Position = v3(999,999,999)
  2666. kiblade.CanCollide = false
  2667. kiblademesh = Instance.new("SpecialMesh",kiblade)
  2668. kiblademesh.MeshType = "FileMesh"
  2669. kiblademesh.MeshId = "rbxassetid://898849476"
  2670. kiblademesh.Scale = v3(0.01,0.008,0.01)
  2671. kiweld7 = Instance.new("Weld",kiblade)
  2672. kiweld7.Part0 = rarm
  2673. kiweld7.Part1 = kiblade
  2674. kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
  2675. kiblade1 = Instance.new("Part",char)
  2676. kiblade1.Name = "Blade"
  2677. kiblade1.Transparency = 1
  2678. kiblade1.Size = v3(0.1,0.1,0.1)
  2679. kiblade1.Position = v3(999,999,999)
  2680. kiblade1.CanCollide = false
  2681. kiblademesh = Instance.new("SpecialMesh",kiblade1)
  2682. kiblademesh.MeshType = "Sphere"
  2683. kiblademesh.Scale = v3(1,1,1)
  2684. kiweld = Instance.new("Weld",kiblade1)
  2685. kiweld.Part0 = rarm
  2686. kiweld.Part1 = kiblade1
  2687. kiweld.C0 = CFrame.new(0,-1,0)
  2688. kiblade2 = Instance.new("Part",char)
  2689. kiblade2.Name = "Blade"
  2690. kiblade2.Size = v3(0.1,0.1,0.1)
  2691. kiblade2.Transparency = 1
  2692. kiblade2.Position = v3(999,999,999)
  2693. kiblade2.CanCollide = false
  2694. kiblademesh = Instance.new("SpecialMesh",kiblade2)
  2695. kiblademesh.MeshType = "Sphere"
  2696. kiblademesh.Scale = v3(1,1,1)
  2697. kiweld = Instance.new("Weld",kiblade2)
  2698. kiweld.Part0 = rarm
  2699. kiweld.Part1 = kiblade2
  2700. kiweld.C0 = CFrame.new(0,-4.5,0)
  2701. torso = game.Players.LocalPlayer.Character.Torso
  2702. head = game.Players.LocalPlayer.Character.Head
  2703. torso1 = Instance.new("Attachment",kiblade1)
  2704. head1 = Instance.new("Attachment",kiblade2)
  2705. trail = Instance.new("Trail",torso)
  2706. trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
  2707. trail.Attachment0 = torso1
  2708. trail.Attachment1 = head1
  2709. trail.Lifetime = 0.5
  2710. trail.Enabled = false
  2711.  
  2712.  
  2713.  
  2714.  
  2715. kiblade2 = Instance.new("Part",char)
  2716. kiblade2.Name = "Blade"
  2717. kiblade2.Size = v3(1,5,1)
  2718. kiblade2.Transparency = 1
  2719. kiblade2.BrickColor = BrickColor.new("Really red")
  2720. kiblade2.Position = v3(999,999,999)
  2721. kiblade2.CanCollide = false
  2722. kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
  2723. kiblademesh2.MeshType = "FileMesh"
  2724. kiblademesh2.MeshId = "rbxassetid://898849476"
  2725. kiblademesh2.Scale = v3(0.01,0.008,0.01)
  2726. kiweld72 = Instance.new("Weld",kiblade2)
  2727. kiweld72.Part0 = larm
  2728. kiweld72.Part1 = kiblade2
  2729. kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
  2730. kiblade12 = Instance.new("Part",char)
  2731. kiblade12.Name = "Blade"
  2732. kiblade12.Transparency = 1
  2733. kiblade12.Size = v3(0.1,0.1,0.1)
  2734. kiblade12.Position = v3(999,999,999)
  2735. kiblade12.CanCollide = false
  2736. kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
  2737. kiblademesh2.MeshType = "Sphere"
  2738. kiblademesh2.Scale = v3(1,1,1)
  2739. kiweld2 = Instance.new("Weld",kiblade12)
  2740. kiweld2.Part0 = larm
  2741. kiweld2.Part1 = kiblade12
  2742. kiweld2.C0 = CFrame.new(0,-1,0)
  2743. kiblade22 = Instance.new("Part",char)
  2744. kiblade22.Name = "Blade"
  2745. kiblade22.Size = v3(0.1,0.1,0.1)
  2746. kiblade22.Transparency = 1
  2747. kiblade22.Position = v3(999,999,999)
  2748. kiblade22.CanCollide = false
  2749. kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
  2750. kiblademesh2.MeshType = "Sphere"
  2751. kiblademesh2.Scale = v3(1,1,1)
  2752. kiweld2 = Instance.new("Weld",kiblade22)
  2753. kiweld2.Part0 = larm
  2754. kiweld2.Part1 = kiblade22
  2755. kiweld2.C0 = CFrame.new(0,-4.5,0)
  2756. torso2 = game.Players.LocalPlayer.Character.Torso
  2757. head2 = game.Players.LocalPlayer.Character.Head
  2758. torso12 = Instance.new("Attachment",kiblade12)
  2759. head12 = Instance.new("Attachment",kiblade22)
  2760. trail2 = Instance.new("Trail",torso2)
  2761. trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
  2762. trail2.Attachment0 = torso12
  2763. trail2.Attachment1 = head12
  2764. trail2.Lifetime = 0.5
  2765. trail2.Enabled = false
  2766.  
  2767.  
  2768.  
  2769. local Gibs = game.Workspace
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.  
  2781.  
  2782. function Kill(Character)
  2783. Character.Humanoid.Health = 0
  2784. local poo = Instance.new("IntValue",Character)
  2785. poo.Name = "haha nope"
  2786. local svch = Character
  2787. local hum = Character:findFirstChild("Humanoid")
  2788. Character.Archivable = true
  2789. local chrclone = Character:clone()
  2790. Character.Archivable = false
  2791.  
  2792. local ch = chrclone:GetChildren()
  2793. local i
  2794. for i = 1,#ch do
  2795. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2796. ch[i]:remove()
  2797. end
  2798. end
  2799. local function Scan(ch)
  2800. local e
  2801. for e = 1,#ch do
  2802. Scan(ch[e]:GetChildren())
  2803. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2804. ch[e]:remove()
  2805. end
  2806. end
  2807. end
  2808. Scan(chrclone:GetChildren())
  2809.  
  2810. local hum2 = chrclone:findFirstChild("Humanoid")
  2811.  
  2812.  
  2813. if hum2 ~= nil then
  2814. hum2.Name = "Humanoid2"
  2815. hum2.PlatformStand = true
  2816. hum2.Sit = true
  2817. hum2.MaxHealth = 0
  2818. hum2.Health = 0
  2819. end
  2820.  
  2821. local ch = Character:GetChildren()
  2822. local i
  2823. for i = 1,#ch do
  2824. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2825. ch[i]:remove()
  2826. end
  2827. end
  2828.  
  2829. wait(0.2)
  2830.  
  2831. local ch = Character:GetChildren()
  2832. local i
  2833. for i = 1,#ch do
  2834. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2835. ch[i]:remove()
  2836. end
  2837. end
  2838. Character = chrclone
  2839. local Torso = Character.Torso
  2840. local movevector = Vector3.new()
  2841.  
  2842. if Torso then
  2843. local Head = Character:FindFirstChild("Head")
  2844. local Limb = Character:FindFirstChild("Right Arm")
  2845. if Limb then
  2846.  
  2847. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  2848. local Joint = Instance.new("Glue")
  2849. Joint.Name = "RightShoulder"
  2850. Joint.Part0 = Torso
  2851. Joint.Part1 = Limb
  2852. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2853. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2854. Joint.Parent = Torso
  2855.  
  2856. local B = Instance.new("Part")
  2857. B.TopSurface = 0
  2858. B.BottomSurface = 0
  2859. B.formFactor = "Symmetric"
  2860. B.Size = Vector3.new(1, 1, 1)
  2861. B.Transparency = 1
  2862. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2863. B.Parent = Character
  2864. local W = Instance.new("Weld")
  2865. W.Part0 = Limb
  2866. W.Part1 = B
  2867. W.C0 = CFrame.new(0, -0.5, 0)
  2868. W.Parent = Limb
  2869.  
  2870. end
  2871. local Limb = Character:FindFirstChild("Left Arm")
  2872. if Limb then
  2873.  
  2874. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  2875. local Joint = Instance.new("Glue")
  2876. Joint.Name = "LeftShoulder"
  2877. Joint.Part0 = Torso
  2878. Joint.Part1 = Limb
  2879. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2880. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2881. Joint.Parent = Torso
  2882.  
  2883. local B = Instance.new("Part")
  2884. B.TopSurface = 0
  2885. B.BottomSurface = 0
  2886. B.formFactor = "Symmetric"
  2887. B.Size = Vector3.new(1, 1, 1)
  2888. B.Transparency = 1
  2889. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2890. B.Parent = Character
  2891. local W = Instance.new("Weld")
  2892. W.Part0 = Limb
  2893. W.Part1 = B
  2894. W.C0 = CFrame.new(0, -0.5, 0)
  2895. W.Parent = Limb
  2896.  
  2897. end
  2898. local Limb = Character:FindFirstChild("Right Leg")
  2899. if Limb then
  2900.  
  2901. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  2902. local Joint = Instance.new("Glue")
  2903. Joint.Name = "RightHip"
  2904. Joint.Part0 = Torso
  2905. Joint.Part1 = Limb
  2906. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2907. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2908. Joint.Parent = Torso
  2909.  
  2910. local B = Instance.new("Part")
  2911. B.TopSurface = 0
  2912. B.BottomSurface = 0
  2913. B.formFactor = "Symmetric"
  2914. B.Size = Vector3.new(1, 1, 1)
  2915. B.Transparency = 1
  2916. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2917. B.Parent = Character
  2918. local W = Instance.new("Weld")
  2919. W.Part0 = Limb
  2920. W.Part1 = B
  2921. W.C0 = CFrame.new(0, -0.5, 0)
  2922. W.Parent = Limb
  2923.  
  2924. end
  2925. local Limb = Character:FindFirstChild("Left Leg")
  2926. if Limb then
  2927.  
  2928. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  2929. local Joint = Instance.new("Glue")
  2930. Joint.Name = "LeftHip"
  2931. Joint.Part0 = Torso
  2932. Joint.Part1 = Limb
  2933. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2934. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2935. Joint.Parent = Torso
  2936.  
  2937. local B = Instance.new("Part")
  2938. B.TopSurface = 0
  2939. B.BottomSurface = 0
  2940. B.formFactor = "Symmetric"
  2941. B.Size = Vector3.new(1, 1, 1)
  2942. B.Transparency = 1
  2943. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2944. B.Parent = Character
  2945. local W = Instance.new("Weld")
  2946. W.Part0 = Limb
  2947. W.Part1 = B
  2948. W.C0 = CFrame.new(0, -0.5, 0)
  2949. W.Parent = Limb
  2950.  
  2951. end
  2952. --[
  2953. local Bar = Instance.new("Part")
  2954. Bar.TopSurface = 0
  2955. Bar.BottomSurface = 0
  2956. Bar.formFactor = "Symmetric"
  2957. Bar.Size = Vector3.new(1, 1, 1)
  2958. Bar.Transparency = 1
  2959. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  2960. Bar.Parent = Character
  2961. local Weld = Instance.new("Weld")
  2962. Weld.Part0 = Torso
  2963. Weld.Part1 = Bar
  2964. Weld.C0 = CFrame.new(0, 0.5, 0)
  2965. Weld.Parent = Torso
  2966. --]]
  2967. end
  2968. Character.Parent = Gibs
  2969. game.Debris:AddItem(Character, 12)
  2970. if movevector ~= Vector3.new() then
  2971. for i = 1,10 do
  2972. wait()
  2973. Torso.Velocity = Vector3.new(0,0,-100)
  2974. Head.Velocity = movevector * 200
  2975. end
  2976. end
  2977. end
  2978.  
  2979.  
  2980.  
  2981. function SpinSlice()
  2982. NoAnims = true
  2983. attack = true
  2984.  
  2985.  
  2986. Sound("rbxassetid://588738949",char,90,1,false)
  2987. kiblade.Transparency = 0
  2988. kiblade2.Transparency = 0
  2989. trail.Enabled = true
  2990. trail2.Enabled = true
  2991.  
  2992. hum.WalkSpeed = 0
  2993. for i = 1,40 do
  2994. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  2995. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  2996. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  2997. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm
  2998. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm
  2999. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3000. if Debounces.on == false then break end
  3001. wait()
  3002. end
  3003.  
  3004.  
  3005. coroutine.resume(coroutine.create(function()
  3006. local BF = Instance.new("BodyVelocity",hed)
  3007. BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3008. BF.velocity = root.CFrame.lookVector*120
  3009. wait(2.0)
  3010. BF:remove()
  3011. end))
  3012.  
  3013. coroutine.resume(coroutine.create(function()
  3014. Sound("rbxassetid://588734356",char,90,1,false)
  3015. wait(.1)
  3016. Sound("rbxassetid://588734356",char,90,1,false)
  3017. wait(.1)
  3018. Sound("rbxassetid://588734356",char,90,1,false)
  3019. wait(.1)
  3020. Sound("rbxassetid://588734356",char,90,1,false)
  3021. wait(.1)
  3022. Sound("rbxassetid://588734356",char,90,1,false)
  3023. wait(.1)
  3024. Sound("rbxassetid://588734356",char,90,1,false)
  3025. wait(.1)
  3026. Sound("rbxassetid://588734356",char,90,1,false)
  3027. wait(.1)
  3028. Sound("rbxassetid://588734356",char,90,1,false)
  3029. end))
  3030. local HitBox = Instance.new("Part",rarm)
  3031. HitBox.Size = Vector3.new(1,5,1)
  3032. HitBox.CanCollide = false
  3033. HitBox.Transparency = 1
  3034. local HitBox2 = Instance.new("Weld",HitBox)
  3035. HitBox2.Part0 = rarm
  3036. HitBox2.Part1 = HitBox
  3037. HitBox2.C0 = CFrame.new(0,-1.8,0)
  3038. HitBox.Touched:connect(function(hit)
  3039. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
  3040. Kill(hit.Parent)
  3041. hit.Parent.Humanoid.PlatformStand = true
  3042. end
  3043. end)
  3044.  
  3045. local HitBox2 = Instance.new("Part",larm)
  3046. HitBox2.Size = Vector3.new(1,5,1)
  3047. HitBox2.CanCollide = false
  3048. HitBox2.Transparency = 1
  3049. local HitBox22 = Instance.new("Weld",HitBox2)
  3050. HitBox22.Part0 = larm
  3051. HitBox22.Part1 = HitBox2
  3052. HitBox22.C0 = CFrame.new(0,-1.8,0)
  3053. HitBox2.Touched:connect(function(hit)
  3054. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
  3055. Kill(hit.Parent)
  3056. hit.Parent.Humanoid.PlatformStand = true
  3057. end
  3058. end)
  3059.  
  3060. for i = 1,40 do
  3061. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3062. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  3063. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  3064. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm
  3065. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm
  3066. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3067. root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
  3068. if Debounces.on == false then break end
  3069. wait()
  3070. end
  3071. kiblade.Transparency = 1
  3072. kiblade2.Transparency = 1
  3073. trail.Enabled = false
  3074. trail2.Enabled = false
  3075. HitBox:Destroy()
  3076. HitBox2:Destroy()
  3077. hum.WalkSpeed = 5
  3078. attack = false
  3079. NoAnims = false
  3080. end
  3081.  
  3082.  
  3083.  
  3084.  
  3085. function hito(partoz, magn, dmg, debtim)
  3086. for _, guy in pairs(workspace:GetChildren()) do
  3087. if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  3088. do
  3089. local humz = guy:FindFirstChildOfClass("Humanoid")
  3090. local hed = guy:FindFirstChild("Head")
  3091. humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints()
  3092. local db = Instance.new("StringValue")
  3093. db.Name = "alabo"
  3094. db.Parent = hed
  3095. delay(debtim, function()
  3096. db:Destroy()
  3097. end)
  3098. end
  3099. end
  3100. end
  3101. end
  3102. end
  3103.  
  3104.  
  3105.  
  3106. ang = CFrame.Angles
  3107. rd = math.rad
  3108. rd2 = math.random
  3109. ov = false
  3110.  
  3111.  
  3112.  
  3113. nooutline = function(i)
  3114. i.TopSurface = 10
  3115. end
  3116. makepart = function(l, m, n, o, p, q, r)
  3117. local s = Instance.new("Part")
  3118. s.BrickColor = BrickColor.new(l)
  3119. s.Name = m
  3120. s.Transparency = o
  3121. nooutline(s)
  3122. s.Reflectance = n
  3123. s.Material = p
  3124. s.Anchored = true
  3125. s.CanCollide = false
  3126. s.Locked = true
  3127. s.CFrame = r
  3128. s.Size = Vector3.new(0.2, 0.2, 0.2)
  3129. s.Parent = q
  3130. return s
  3131. end
  3132.  
  3133. makemesh = function(t, u, v, w)
  3134. local x = Instance.new("SpecialMesh")
  3135. x.MeshType = t
  3136. x.Scale = u
  3137. if t == "FileMesh" then
  3138. x.MeshId = v
  3139. end
  3140. x.Parent = w
  3141. return x
  3142. end
  3143.  
  3144. local H = {}
  3145.  
  3146.  
  3147. Barrage = function()
  3148. modz = Instance.new("Model")
  3149. modz.Name = "efx"
  3150. modz.Parent = char
  3151. ov = true
  3152. hum.AutoRotate = false
  3153. local aN = nil
  3154. local a9 = true
  3155. local aa = {}
  3156. local ab = {}
  3157. local b7 = {}
  3158. for j = 1, 16 do
  3159. local ac = Instance.new("Part")
  3160. nooutline(ac)
  3161. ac.Anchored = true
  3162. ac.Locked = true
  3163. ac.CanCollide = false
  3164. ac.Material = "Neon"
  3165. ac.Size = Vector3.new(1, 1, 1)
  3166. ac.Transparency = 1
  3167. ac.CFrame = CFrame.new(0, 1000, 0)
  3168. ac.Parent = modz
  3169. ac.BrickColor = BrickColor.new("Really red")
  3170. makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
  3171. table.insert(aa, ac)
  3172. end
  3173. for j = 1, 40 do
  3174. local a3 = makepart("Really red", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
  3175. makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
  3176. table.insert(ab, a3)
  3177. end
  3178. for j = 1, 30 do
  3179. local a3 = makepart("Really red", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
  3180. makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
  3181. table.insert(b7, a3)
  3182. end
  3183. local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
  3184. local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
  3185. for I,aO in pairs(H) do
  3186. if aO.Parent == rarm or aO.Parent == larm then
  3187. aN = aO.Transparency
  3188. aO.Transparency = 1
  3189. end
  3190. end
  3191. local a8 = Instance.new("BodyGyro")
  3192. a8.MaxTorque = Vector3.new(1050, 3000, 750)
  3193. a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
  3194. a8.P = 580000
  3195. a8.D = 250
  3196. a8.Parent = root
  3197. coroutine.resume(coroutine.create(function()
  3198. while a8 do
  3199. swait()
  3200. a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
  3201. end
  3202. end))
  3203. local af = 0
  3204. local ag = 0
  3205. repeat
  3206. ag = ag + 1
  3207. if af == 0 then
  3208. af = 1
  3209. else
  3210. af = af % 14 + 1
  3211. end
  3212. coroutine.resume(coroutine.create(function()
  3213. local ah = aa[af]
  3214. local ai = ab[af]
  3215. local aj = ab[af + 14]
  3216. local ba = b7[af]
  3217. ah.Size = Vector3.new(1, 1, 2)
  3218. ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p)
  3219. ah.Transparency = 0.25
  3220. ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
  3221. ai.Transparency = 0.35
  3222. ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
  3223. aj.Transparency = 0.45
  3224. aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
  3225. aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90))
  3226. if af % 2 == 1 then
  3227. ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
  3228. else
  3229. if af % 2 == 0 then
  3230. ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
  3231. end
  3232. end
  3233. ba.CFrame = ah.CFrame * cf(0, 0, -8)
  3234. ba.Transparency = 0.4
  3235. ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
  3236. local bb = ah.CFrame * cf(0, 0, -5)
  3237. local bc = aj.CFrame * cf(0, -0.1, 0)
  3238. local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
  3239. local ak = false
  3240. for j = 1, 12 do
  3241. swait()
  3242. local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
  3243. local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
  3244. if a1 and ak == false then
  3245. ak = true
  3246. local a3 = makepart("Really red", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
  3247. do
  3248. local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
  3249. game.Debris:AddItem(a3, 0.5)
  3250. local a5 = rd2(1, 12)
  3251. if a5 == 6 then
  3252. hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
  3253. else
  3254. hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
  3255. end
  3256. coroutine.resume(coroutine.create(function()
  3257. for I = 1, 4 do
  3258. swait()
  3259. a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
  3260. a3.Transparency = a3.Transparency + 0.2
  3261. end
  3262. a3:Destroy()
  3263. end))
  3264. end
  3265. end
  3266. ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5)
  3267. ah.CFrame = ah.CFrame:lerp(bb, 1)
  3268. ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
  3269. ah.Transparency = ah.Transparency + 0.0725
  3270. ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
  3271. ai.Transparency = ai.Transparency + 0.06
  3272. aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
  3273. aj.CFrame = aj.CFrame:lerp(bc, 0.3)
  3274. aj.Transparency = aj.Transparency + 0.05
  3275. ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
  3276. ba.CFrame = ba.CFrame:lerp(bd, 0.3)
  3277. ba.Transparency = ba.Transparency + 0.06
  3278. end
  3279. end))
  3280. swait()
  3281. until ov == false
  3282. for I,aO in pairs(H) do
  3283. if aO.Parent == rarm or aO.Parent == larm then
  3284. aO.Transparency = aN
  3285. end
  3286. end
  3287. b8:Destroy()
  3288. b9:Destroy()
  3289. a8:Destroy()
  3290. hum.AutoRotate = true
  3291. ov = false
  3292. wait(1)
  3293. for I,al in pairs(aa) do
  3294. al:Destroy()
  3295. end
  3296. for I,am in pairs(ab) do
  3297. am:Destroy()
  3298. end
  3299. for I,be in pairs(b7) do
  3300. be:Destroy()
  3301. end
  3302. end
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309. function Kneel()
  3310.  
  3311. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  3312. if v:FindFirstChild('Humanoid') then
  3313.  
  3314. hum2 = v:FindFirstChild('Humanoid')
  3315. hum2.PlatformStand=true
  3316.  
  3317. end
  3318. end
  3319. end
  3320.  
  3321. --[[mouse.KeyDown:connect(function(key)
  3322. if key == "l" and Trans == false and Strength then
  3323. Transformation()
  3324. Trans = true
  3325. end
  3326. end)]]
  3327.  
  3328.  
  3329.  
  3330. mouse.KeyDown:connect(function(key)
  3331. if key == "z" then
  3332. GrabAndDrag()
  3333. end
  3334. end)
  3335.  
  3336.  
  3337. mouse.KeyDown:connect(function(key)
  3338. if key == "x" then
  3339. AirSlam()
  3340. end
  3341. end)
  3342.  
  3343.  
  3344.  
  3345. mouse.KeyDown:connect(function(key)
  3346. if key == "c" then
  3347. SpinSlice()
  3348. end
  3349. end)
  3350.  
  3351.  
  3352. mouse.KeyDown:connect(function(key)
  3353. if key == "p" and Full == false then
  3354. FullPower()
  3355. end
  3356. end)
  3357.  
  3358. mouse.KeyDown:connect(function(key)
  3359. if key == "1" then
  3360. Sound("rbxassetid://966268002",char,90,1,false)
  3361. Kneel()
  3362. end
  3363. end)
  3364.  
  3365. mouse.KeyDown:connect(function(key)
  3366. if key == "v" then
  3367. if ov == false then
  3368. hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0)
  3369. wait()
  3370. local ChatService = game:GetService("Chat")
  3371. wait()
  3372. local ChatService = game:GetService("Chat")
  3373. coroutine.resume(coroutine.create(function()
  3374. s = 0
  3375. repeat
  3376. s = s + 1
  3377. Barrage()
  3378. wait()
  3379. until not ov
  3380. end))
  3381. if Full == true then
  3382. coroutine.resume(coroutine.create(function()
  3383. s = 0
  3384. repeat
  3385. s = s + 1
  3386. Barrage()
  3387. wait()
  3388. until not ov
  3389. end))
  3390. end
  3391. mouse.KeyUp:connect(function(key)
  3392. if key == "v" then
  3393. wait(0.4)
  3394. ov = false
  3395. wait(0.1)
  3396. end
  3397. end)
  3398. end
  3399. end
  3400. end)
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406. -----animations-----
  3407.  
  3408. game:GetService("RunService").RenderStepped:connect(function()
  3409. char.Humanoid.FreeFalling:connect(function(f)
  3410. if f then
  3411. ffing = true
  3412. else
  3413. ffing = false
  3414. end
  3415. end)
  3416. sine = sine + add
  3417. if ffing==true then
  3418. anim="jump"
  3419. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3420. anim="idle"
  3421. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3422. anim = "walk"
  3423. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3424. anim = "run"
  3425. end
  3426.  
  3427. if NoAnims==false then
  3428. if anim=="idle" then
  3429. add=0.5
  3430. if trans == false then
  3431. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3432. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  3433. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  3434. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
  3435. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
  3436. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  3437. else
  3438. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3439. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  3440. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  3441. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm
  3442. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm
  3443. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3444. end
  3445.  
  3446. elseif anim=="walk" then
  3447. add=0.5
  3448. if trans == false then
  3449. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25)
  3450. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25)
  3451. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25)
  3452. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1)
  3453. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
  3454. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
  3455. else
  3456. change = 0.5
  3457. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2)
  3458. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2)
  3459. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2)
  3460. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  3461. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  3462. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2)
  3463. end
  3464.  
  3465. elseif anim=="run" then
  3466. add=0.5
  3467. if trans == false then
  3468. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025)
  3469. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25)
  3470. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25)
  3471. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25)
  3472. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25)
  3473. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  3474. else
  3475. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25)
  3476. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  3477. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  3478. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25)
  3479. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25)
  3480. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
  3481. end
  3482.  
  3483. elseif anim=="jump" then
  3484. add=0.5
  3485. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05)
  3486. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
  3487. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
  3488. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
  3489. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
  3490. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3491.  
  3492. end
  3493. end
  3494.  
  3495. end)
  3496.  
  3497.  
  3498. --[[l = game.Lighting
  3499. l.TimeOfDay = 1
  3500. game.Lighting.Ambient = Color3.new(0,0,0)
  3501. l.Brightness = 0.1]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement