Advertisement
SonicrixLP

Test for pink

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