Advertisement
Mr-Shadow_Cat

sans slayer

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