Advertisement
dx9skaterboy

ttgs2

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