Mr-Shadow_Cat

☝︎✌︎💧︎❄︎☜︎☼︎ 💧︎☹︎✌︎✡︎☜︎☼︎

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