soins1

Untitled

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