Mr-Shadow_Cat

Papyrus

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