Advertisement
artucox7

God Destruction

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