Advertisement
voyqgo

Test9

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