Advertisement
Scorpion2

Purple Shrek

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