Guest User

za warudo roblox

a guest
May 21st, 2017
3,690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.29 KB | None | 0 0
  1. --[[
  2. Stand: The World Over Heaven
  3. User: Heavenly Ascension DIO
  4. https://www.dropbox.com/s/p9tnb8c8xtuxz36/Heavenly%20Ascension%20DIO.lua?dl=1
  5. ]]
  6.  
  7.  
  8. local asd = game:service'Players'.LocalPlayer
  9. repeat wait() until asd.Character
  10. local asdchar = asd.Character
  11. local transPoints = {NumberSequenceKeypoint.new(0, 0, 0),NumberSequenceKeypoint.new(1, 0, 0)}
  12. local sizePoints = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 1)}
  13. local Size = NumberSequence.new(sizePoints)
  14. local Transparency = NumberSequence.new(transPoints)
  15. efxBlock = Instance.new("Part", asdchar)
  16. efxBlock.CanCollide = false
  17. efxBlock.Material = "Neon"
  18. efxBlock.FormFactor = "Custom"
  19. efxBlock.Transparency = 1
  20. efxBlock.Size = Vector3.new(0.25, 0.25, 0.25)
  21. local mesh = Instance.new("SpecialMesh", efxBlock)
  22. mesh.MeshType = Enum.MeshType.Sphere
  23. mesh.Scale = Vector3.new(1, 1, 1)
  24. local particles = Instance.new("ParticleEmitter", efxBlock)
  25. particles.LightEmission = 0
  26. particles.Size = NumberSequence.new(10,10,10)
  27. particles.Name = "Fire"
  28. particles.Transparency = NumberSequence.new(0.5,0.5,0.5)
  29. particles.LockedToPart = false
  30. particles.VelocityInheritance = -0.5
  31. particles.LockedToPart = false
  32. particles.Rate = 20
  33. particles.Color = ColorSequence.new(Color3.new(255,170,0), Color3.new(175,117,0))
  34. particles.Texture = "rbxassetid://347730682"
  35. particles.Lifetime = NumberRange.new(0.1, 0.3)
  36. particles.Speed = NumberRange.new(3, 3)
  37.  
  38. particles.VelocitySpread = 25
  39. local offset = Vector3.new(-0.11, 0.23, -0.5)
  40. local weld = Instance.new("Weld", asdchar.Head)
  41. weld.Part0 = asdchar.Head
  42. weld.Part1 = efxBlock
  43. weld.C0 = CFrame.new(0,0,0)
  44.  
  45. ---Declarations
  46. local Cn=CFrame.new
  47. local CA=CFrame.Angles
  48. local mr=math.rad
  49. local rn=math.random
  50. local mc=math.cos
  51. local Vn=Vector3.new
  52. local NR=NumberRange.new
  53. local NSeq=NumberSequence.new
  54. local plrs=game:service"Players"
  55. local wrk=game:service"Workspace"
  56. local deb=game:service"Debris"
  57. local IS=game:GetService("InsertService")
  58. local p=plrs.LocalPlayer
  59. local cam=wrk.CurrentCamera
  60. local char=p.Character
  61. local mouse=p:GetMouse()
  62. local lam=char["Left Arm"]
  63. local ram=char["Right Arm"]
  64. local llg=char["Left Leg"]
  65. local rlg=char["Right Leg"]
  66. local hed=char.Head
  67. local tor=char.Torso
  68. local larm = lam
  69. local rarm = ram
  70. local lleg = llg
  71. local rleg = rlg
  72. local torso = tor
  73. local hrp=char.HumanoidRootPart
  74. local PlayerSpeed = char.Humanoid.WalkSpeed
  75. local on=false
  76. local noRig=false
  77. local curws=16
  78. local sine=0
  79. local ift={}
  80. local ifxd=false
  81. local run=false
  82. local stance="Cane"
  83. local Speed = 16
  84. local Health = 9000
  85.  
  86. PlayerSpeed = 16
  87.  
  88. ypcall(function()
  89. char.Shirt:Destroy()
  90. char.Pants:Destroy()
  91. shirt = Instance.new("Shirt", char)
  92. shirt.Name = "Shirt"
  93. pants = Instance.new("Pants", char)
  94. pants.Name = "Pants"
  95. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=298260655"
  96. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=298260668"
  97. end)
  98.  
  99. Debounces = {
  100. CanAttack = true;
  101. NoIdl = false;
  102. Slashing = false;
  103. Slashed = false;
  104. RPunch = false;
  105. RPunched = false;
  106. LPunch = false;
  107. LPunched = false;
  108. }
  109.  
  110. local trappedTorsos = {}
  111.  
  112. ---Functions
  113.  
  114. function FndHm(flnm)
  115. for i,v in pairs(flnm:GetChildren()) do
  116. if v:IsA("Humanoid") then
  117. return v
  118. end
  119. end
  120. end
  121. local hum=FndHm(char)
  122. --hum.Name=""
  123.  
  124.  
  125. function chrDes(inst)
  126. local ret=nil
  127. for _,v in pairs(game.Players:GetChildren()) do
  128. if inst:IsDescendantOf(v) then
  129. ret=v
  130. break
  131. end
  132. end
  133. return ret
  134. end
  135.  
  136. --
  137. function get(a)
  138. local cont={}
  139. for i,v in pairs(a:GetChildren()) do
  140. if v==char then
  141. else
  142. table.insert(cont,v)
  143. pcall(function()
  144. for _,b in pairs(get(v)) do
  145. table.insert(cont,b)
  146. end
  147. end)
  148. end
  149. end
  150. return cont
  151. end
  152. for _,v in pairs(get(game.Workspace)) do
  153. if v:IsA("Sparkles") or v:IsA("Fire") then
  154. v:Destroy()
  155. end
  156. end
  157.  
  158. --
  159. function inT(qur,tbl)
  160. local a=false
  161. for i,v in pairs(tbl) do
  162. if v==qur then
  163. a=true
  164. break
  165. else
  166. a=false
  167. end
  168. end
  169. return a
  170. end
  171.  
  172. --
  173. function Tween(a,b,c)
  174. return a+(b-a)*c
  175. end
  176.  
  177. --
  178. function Avg(a,b)
  179. return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
  180. end
  181.  
  182. --
  183. function Lerp(c1,c2,tim)
  184. local com1={c1.C0.X,c1.C0.Y,c1.C0.Z,c1.C0:toEulerAnglesXYZ()}
  185. local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  186. for i,v in pairs(com1) do
  187. com1[i]=v+(com2[i]-v)*tim
  188. end
  189. return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
  190. end
  191.  
  192. function RLerp(c1,c2,tim)
  193. return c1:lerp(c2,tim)
  194. end
  195.  
  196. --
  197. function ALerp(c1,c2,tim)
  198. local com1={c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  199. local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  200. for i,v in pairs(com1) do
  201. com1[i]=v+(com2[i]-v)*tim
  202. end
  203. return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
  204. end
  205.  
  206. --
  207. function Lerprs(ud,ud2,al)
  208. local a,b,c,d=ud.X.Scale,ud.X.Offset,ud.Y.Scale,ud.Y.Offset
  209. local a2,b2,c2,d2=ud2.X.Scale,ud2.X.Offset,ud2.Y.Scale,ud2.Y.Offset
  210. local x,y,z,w=(a+(a2-a)*al),(b+(b2-b)*al),(c+(c2-c)*al),(d+(d2-d)*al)
  211. return UDim2.new(x,y,z,w)
  212. end
  213.  
  214. --
  215. function newAnim(wld)
  216. local asd={["Weld"]=wld;["Int"]=0;["Frame"]=1;}
  217. asd.getFrames=function()
  218. local num=0
  219. for _,v in pairs(asd) do
  220. pcall(function()
  221. num=num+v.Length
  222. end)
  223. end
  224. return num
  225. end
  226. return asd
  227. end
  228.  
  229. --
  230. function newKF(tab,c0,lng,off)
  231. off=off or 1
  232. table.insert(tab,{["C0"]=c0,["Length"]=lng,["Offset"]=off})
  233. end
  234.  
  235. --
  236. function runKF(tab)
  237. tab.Int=tab.Int+1
  238. if tab.Int>=tab[tab.Frame].Length then
  239. tab.Frame=tab.Frame+1
  240. tab.Int=0
  241. if tab.Frame>#tab then
  242. tab.Frame=1
  243. end
  244. end
  245. tab.Weld.C0=RLerp(tab.Weld.C0,tab[tab.Frame].C0,(tab[tab.Frame].Offset/tab[tab.Frame].Length)*tab.Int)
  246. end
  247.  
  248. --
  249. function nwPrt(prnt,siz,cf,col)
  250. local prt=Instance.new("Part")
  251. prt.Parent=prnt
  252. prt.FormFactor=3
  253. prt.Name="Part"
  254. prt.Size=siz
  255. prt.CanCollide=false
  256. prt.Anchored=true
  257. prt.Locked=true
  258. prt.TopSurface=10
  259. prt.BottomSurface=10
  260. prt.FrontSurface=10
  261. prt.BackSurface=10
  262. prt.LeftSurface=10
  263. prt.RightSurface=10
  264. prt:BreakJoints()
  265. prt.CFrame=cf or CFrame.new(30,10,30)
  266. prt.Material="SmoothPlastic"
  267. prt.BrickColor=BrickColor.new(col)
  268. m=Instance.new("SpecialMesh",prt)
  269. m.MeshType=6
  270. return prt
  271. end
  272.  
  273. --
  274. function nwWdg(prnt,siz,cf,col)
  275. local prt=Instance.new("WedgePart")
  276. prt.Parent=prnt
  277. prt.FormFactor=3
  278. prt.Name="Part"
  279. prt.Size=siz
  280. prt.CanCollide=false
  281. prt.Anchored=false
  282. prt.Locked=true
  283. prt.TopSurface=0
  284. prt.BottomSurface=0
  285. prt:BreakJoints()
  286. prt.CFrame=cf or CFrame.new(30,10,30)
  287. prt.Material="SmoothPlastic"
  288. prt.BrickColor=BrickColor.new(col)
  289. return prt
  290. end
  291.  
  292. --
  293. function newGui(prnt,clsnm,siz,pos,bsp,bc,bt)
  294. local gui=Instance.new(clsnm,prnt)
  295. gui.Size=siz or UDim2.new(0,100,0,100)
  296. gui.Position=pos or UDim2.new(0,0,0,0)
  297. gui.BorderSizePixel=bsp or 0
  298. gui.BackgroundColor3=bc or Color3.new(0,0,0)
  299. gui.BackgroundTransparency=bt or 1
  300. return gui
  301. end
  302.  
  303. --
  304. function nwWld(wp0,wp1,wc0)
  305. wld = Instance.new("Weld",wp1)
  306. wld.Part0=wp0
  307. wld.Part1=wp1
  308. wld.C0=wc0 or Cn(0,0,0)
  309. return wld
  310. end
  311.  
  312. --
  313. function nwSnd(prnt,pch,vol,id)
  314. local s=Instance.new("Sound",prnt)
  315. s.Pitch=pch
  316. s.Volume=vol
  317. s.SoundId="rbxassetid://"..id
  318. s.PlayOnRemove=true
  319. return s
  320. end
  321.  
  322. --
  323. function newRay(start,face,range,wat)
  324. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  325. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  326. return rey,hit,pos
  327. end
  328.  
  329. function nooutline(part)
  330. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  331. end
  332.  
  333. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  334. local fp=it("Part")
  335. fp.formFactor=formfactor
  336. fp.Parent=parent
  337. fp.Reflectance=reflectance
  338. fp.Transparency=transparency
  339. fp.CanCollide=false
  340. fp.Locked=true
  341. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  342. fp.Name=name
  343. fp.Size=size
  344. fp.Position=Character.Torso.Position
  345. nooutline(fp)
  346. fp.Material=material
  347. fp:BreakJoints()
  348. return fp
  349. end
  350.  
  351. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  352. local mesh=it(Mesh)
  353. mesh.Parent=part
  354. if Mesh=="SpecialMesh" then
  355. mesh.MeshType=meshtype
  356. mesh.MeshId=meshid
  357. end
  358. mesh.Offset=offset
  359. mesh.Scale=scale
  360. return mesh
  361. end
  362.  
  363. function weld(parent,part0,part1,c0,c1)
  364. local weld=it("Weld")
  365. weld.Parent=parent
  366. weld.Part0=part0
  367. weld.Part1=part1
  368. weld.C0=c0
  369. weld.C1=c1
  370. return weld
  371. end
  372. TfwTimeStopped = false
  373. function Damagefunc(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  374. if hit.Parent==nil then
  375. return
  376. end
  377. h=hit.Parent:FindFirstChild("Humanoid")
  378. for _,v in pairs(hit.Parent:children()) do
  379. if v:IsA("Humanoid") then
  380. h=v
  381. end
  382. end
  383. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  384. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  385. end
  386. if hit.Parent.className=="Hat" then
  387. hit=hit.Parent.Parent:findFirstChild("Head")
  388. end
  389. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  390. if hit.Parent:findFirstChild("DebounceHit")~=nil then
  391. if hit.Parent.DebounceHit.Value==true then
  392. return
  393. end
  394. end
  395. --[[if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  396. return
  397. end]]
  398. --hs(hit,1.2)
  399. c=Instance.new("ObjectValue")
  400. c.Name="creator"
  401. c.Value=game:service("Players").LocalPlayer
  402. c.Parent=h
  403. game:GetService("Debris"):AddItem(c,.5)
  404. Damage=math.random(minim,maxim)
  405. --h:TakeDamage(Damage)
  406. blocked=false
  407. block=hit.Parent:findFirstChild("Block")
  408. if block~=nil then
  409. print(block.className)
  410. if block.className=="NumberValue" then
  411. if block.Value>0 then
  412. blocked=true
  413. if decreaseblock==nil then
  414. block.Value=block.Value-1
  415. end
  416. end
  417. end
  418. if block.className=="IntValue" then
  419. if block.Value>0 then
  420. blocked=true
  421. if decreaseblock~=nil then
  422. block.Value=block.Value-1
  423. end
  424. end
  425. end
  426. end
  427. if blocked==false then
  428. --h:TakeDamage(Damage)
  429. if TfwTimeStopped == false then
  430. h.Health=h.Health-Damage
  431. ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "MUDA", 1.5, Part.BrickColor.Color)
  432. elseif TfwTimeStopped == true then
  433. repeat wait() until TfwTimeStopped == false
  434. h.Health=h.Health-Damage
  435. ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  436. end
  437. else
  438. h.Health=h.Health-(Damage/2)
  439. ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  440. end
  441. if Type=="Knockdown" then
  442. hum=hit.Parent.Humanoid
  443. hum.PlatformStand=true
  444. coroutine.resume(coroutine.create(function(HHumanoid)
  445. swait(1)
  446. HHumanoid.PlatformStand=false
  447. end),hum)
  448. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  449. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  450. local bodvol=Instance.new("BodyVelocity")
  451. bodvol.velocity=angle*knockback
  452. bodvol.P=500
  453. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  454. bodvol.Parent=hit
  455. rl = Instance.new("BodyAngularVelocity")
  456. rl.P = 3000
  457. rl.maxTorque = Vector3.new(500000, 500000, 500000)
  458. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  459. rl.Parent = hit
  460. game:GetService("Debris"):AddItem(bodvol,.5)
  461. game:GetService("Debris"):AddItem(rl,.5)
  462. elseif Type=="MUDA" then
  463. hum=hit.Parent.Humanoid
  464. hum.PlatformStand=true
  465. coroutine.resume(coroutine.create(function(HHumanoid)
  466. swait(1)
  467. HHumanoid.PlatformStand=false
  468. end),hum)
  469. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  470. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  471. local bodvol=Instance.new("BodyVelocity")
  472. bodvol.velocity=angle*knockback
  473. bodvol.P=500
  474. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  475. bodvol.Parent=hit
  476. rl = Instance.new("BodyAngularVelocity")
  477. rl.P = 3000
  478. rl.maxTorque = Vector3.new(500000, 500000, 500000)
  479. rl.angularvelocity = Vector3.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  480. rl.Parent = hit
  481. game:GetService("Debris"):AddItem(bodvol,.5)
  482. game:GetService("Debris"):AddItem(rl,.5)
  483. elseif Type == "Killer Queen" then
  484. hum=hit.Parent.Humanoid
  485. hum.PlatformStand=true
  486. coroutine.resume(coroutine.create(function(HHumanoid)
  487. swait(1)
  488. HHumanoid.PlatformStand=false
  489. end),hum)
  490. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  491. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  492. local bodvol=Instance.new("BodyVelocity")
  493. bodvol.velocity=angle*knockback
  494. bodvol.P=500
  495. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  496. bodvol.Parent=hit
  497. rl = Instance.new("BodyAngularVelocity")
  498. rl.P = 3000
  499. rl.maxTorque = Vector3.new(500000, 500000, 500000)
  500. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  501. rl.Parent = hit
  502. game:GetService("Debris"):AddItem(bodvol,.5)
  503. game:GetService("Debris"):AddItem(rl,.5)
  504. wait(3)
  505. KillerQueen = Instance.new("Explosion",hit)
  506. KillerQueen.Position = hit.Position
  507. elseif Type=="Normal" then
  508. vp=Instance.new("BodyVelocity")
  509. vp.P=500
  510. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  511. --vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  512. if KnockbackType==1 then
  513. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  514. elseif KnockbackType==2 then
  515. vp.velocity=Property.CFrame.lookVector*knockback
  516. end
  517. if knockback>0 then
  518. vp.Parent=hit.Parent.Torso
  519. end
  520. game:GetService("Debris"):AddItem(vp,.5)
  521. elseif Type=="Up" then
  522. local bodyVelocity=Instance.new("BodyVelocity")
  523. bodyVelocity.velocity=vt(0,60,0)
  524. bodyVelocity.P=5000
  525. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  526. bodyVelocity.Parent=hit
  527. game:GetService("Debris"):AddItem(bodyVelocity,1)
  528. rl=Instance.new("BodyAngularVelocity")
  529. rl.P=3000
  530. rl.maxTorque=Vector3.new(500000,500000,500000)
  531. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  532. rl.Parent=hit
  533. game:GetService("Debris"):AddItem(rl,.5)
  534. elseif Type=="Snare" then
  535. bp=Instance.new("BodyPosition")
  536. bp.P=2000
  537. bp.D=100
  538. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  539. bp.position=hit.Parent.Torso.Position
  540. bp.Parent=hit.Parent.Torso
  541. game:GetService("Debris"):AddItem(bp,1)
  542. elseif Type=="Target" then
  543. local Targetting = false
  544. if Targetting==false then
  545. ZTarget=hit.Parent.Torso
  546. coroutine.resume(coroutine.create(function(Part)
  547. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  548. swait(5)
  549. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  550. end),ZTarget)
  551. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  552. local targetgui=Instance.new("BillboardGui")
  553. targetgui.Parent=ZTarget
  554. targetgui.Size=UDim2.new(10,100,10,100)
  555. local targ=Instance.new("ImageLabel")
  556. targ.Parent=targetgui
  557. targ.BackgroundTransparency=1
  558. targ.Image="rbxassetid://4834067"
  559. targ.Size=UDim2.new(1,0,1,0)
  560. cam.CameraType="Scriptable"
  561. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  562. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  563. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  564. Targetting=true
  565. RocketTarget=ZTarget
  566. for i=1,Property do
  567. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  568. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  569. swait()
  570. end
  571. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  572. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  573. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  574. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  575. end
  576. Targetting=false
  577. RocketTarget=nil
  578. targetgui.Parent=nil
  579. cam.CameraType="Custom"
  580. end
  581. end
  582. local debounce=Instance.new("BoolValue")
  583. debounce.Name="DebounceHit"
  584. debounce.Parent=hit.Parent
  585. debounce.Value=true
  586. game:GetService("Debris"):AddItem(debounce,Delay)
  587. c=Instance.new("ObjectValue")
  588. c.Name="creator"
  589. c.Value=Player
  590. c.Parent=h
  591. game:GetService("Debris"):AddItem(c,.5)
  592. end
  593. end
  594.  
  595. function ShowDamage(Pos, Text, Time, Color)
  596. local Rate = (1 / 30)
  597. local Pos = (Pos or Vector3.new(0, 0, 0))
  598. local Text = (Text or "")
  599. local Time = (Time or 2)
  600. local Color = (Color or Color3.new(1, 0, 0))
  601. local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  602. EffectPart.Anchored = true
  603. local BillboardGui = Instance.new("BillboardGui")
  604. BillboardGui.Size = UDim2.new(3, 3, 3, 3)
  605. BillboardGui.Adornee = EffectPart
  606. local TextLabel = Instance.new("TextLabel")
  607. TextLabel.BackgroundTransparency = 1
  608. TextLabel.Size = UDim2.new(3, 3, 3, 3)
  609. TextLabel.Text = Text
  610. TextLabel.TextColor3 = Color
  611. TextLabel.TextStrokeColor3 = BrickColor.new("Really black").Color
  612. TextLabel.TextScaled = true
  613. TextLabel.TextStrokeTransparency = 0
  614. TextLabel.Font = Enum.Font.SourceSansBold
  615. TextLabel.Parent = BillboardGui
  616. BillboardGui.Parent = EffectPart
  617. game.Debris:AddItem(EffectPart, (Time + 0.1))
  618. EffectPart.Parent = game:GetService("Workspace")
  619. Delay(0, function()
  620. local Frames = (Time / Rate)
  621. for Frame = 1, Frames do
  622. wait(Rate)
  623. local Percent = (Frame / Frames)
  624. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  625. TextLabel.TextTransparency = Percent
  626. TextLabel.TextStrokeTransparency = Percent
  627. end
  628. if EffectPart and EffectPart.Parent then
  629. EffectPart:Destroy()
  630. end
  631. end)
  632. end
  633.  
  634. --[[local Player = game:service("Players").LocalPlayer
  635. repeat wait() until Player.Character ~= nil
  636.  
  637. local Char = Player.Character
  638. local mouse = Player:GetMouse()
  639. local Backpack = Player.Backpack
  640. local PlayerGui = Player.PlayerGui
  641. local Camera = workspace.CurrentCamera
  642. local Humanoid = Char:findFirstChild("Humanoid")
  643. local Torso = Char:findFirstChild("Torso")
  644. local Head = Char:findFirstChild("Head")
  645. local ra = Char:findFirstChild("Right Arm")
  646. local la = Char:findFirstChild("Left Arm")
  647. local rl = Char:findFirstChild("Right Leg")
  648. local ll = Char:findFirstChild("Left Leg")
  649. local rs = Torso:findFirstChild("Right Shoulder")
  650. local ls = Torso:findFirstChild("Left Shoulder")
  651. local rh = Torso:findFirstChild("Right Hip")
  652. local lh = Torso:findFirstChild("Left Hip")
  653. local neck = Torso:findFirstChild("Neck")
  654. local rootpart = Char:findFirstChild("HumanoidRootPart")
  655. local rj = rootpart:findFirstChild("RootJoint")
  656. local anim = Char:findFirstChild("Animate")
  657. local RunService = game:GetService("RunService")
  658. local UIA = game:GetService("UserInputService")
  659. local CF = CFrame.new
  660. local CA = CFrame.Angles
  661. local FEA = CFrame.fromEulerAnglesXYZ
  662. local FAA = CFrame.fromAxisAngle
  663. local V3 = Vector3.new
  664. local CN = Color3.new
  665. local Ice = Instance.new
  666. local BC = BrickColor.new
  667. local UD2 = UDim2.new
  668. local C3 = Color3.new
  669. local MR = math.rad
  670. local MP = math.pi
  671. local MD = math.deg
  672. local MH = math.huge
  673. local MS = math.sin
  674. local MC = math.cos
  675. local MT = math.tan
  676. local MAS = math.asin
  677. local MAC = math.acos
  678. local MAT = math.atan
  679. local components = CF().components
  680.  
  681. local State = {}
  682. State["Calm"] = "Active"
  683.  
  684. function Tweenz(a,b,i)
  685. return a:lerp(b,i)
  686. end
  687.  
  688. function Create(Instanc,prop)
  689. local p=Instance.new(Instanc)
  690. for i,v in pairs(prop) do
  691. p[i]=v
  692. end
  693. return p
  694. end
  695.  
  696. local c0 = {
  697. RightArm = CF(1.5,0.5,0),
  698. LeftArm = CF(-1.5,0.5,0),
  699. RightLeg = CF(0.5,-1,0),
  700. LeftLeg = CF(-0.5,-1,0),
  701. RootJoint = CF(0,0,0),
  702. Neck = CF(0,1,0)
  703. }
  704. local c1 = {
  705. RightArm = CF(0,0.5,0),
  706. LeftArm = CF(0,0.5,0),
  707. RightLeg = CF(0,1,0),
  708. LeftLeg = CF(0,1,0),
  709. RootJoint = CF(0,0,0),
  710. Neck = CF(0,-0.5,0)
  711. }
  712.  
  713.  
  714. --RightArm = Create("Snap",{Parent=Torso,C0=c0.RightArm,C1=c1.RightArm,Part0=Torso,Part1=ra})
  715. --LeftArm = Create("Snap",{Parent=Torso,C0=c0.LeftArm,C1=c1.LeftArm,Part0=Torso,Part1=la})
  716. RightLeg = Create("Snap",{Parent=Torso,C0=c0.RightLeg,C1=c1.RightLeg,Part0=Torso,Part1=rl})
  717. LeftLeg = Create("Snap",{Parent=Torso,C0=c0.LeftLeg,C1=c1.LeftLeg,Part0=Torso,Part1=ll})
  718.  
  719. neck.C0 = c0.Neck
  720. neck.C1 = c1.Neck
  721.  
  722. local Spread = 12
  723. local Smooth = 1
  724.  
  725. local angle = tick()
  726. game:GetService("RunService").Stepped:connect(function()
  727. local lefth = (Torso.CFrame*c0.LeftLeg)
  728. local righth = (Torso.CFrame*c0.RightLeg)
  729. angle = angle+0.2*Smooth
  730. local speed = V3(Torso.Velocity.X,0,Torso.Velocity.Z)
  731. local TiltOnAxis = (rootpart.CFrame-rootpart.CFrame.p):inverse()*speed/100
  732. rj.C0 = Tweenz(rj.C0,CFrame.Angles(MR(-90)+TiltOnAxis.Z,TiltOnAxis.X,MR(180)+-TiltOnAxis.X),.1)
  733. --[[local offset = CFrame.new(0,5,0)
  734. rj.C0 = CF(V3(),(mouse.hit.p-rootpart.CFrame.p).unit*100)*CFrame.Angles(MR(-90),0,MR(180))
  735. local h = (rootpart.CFrame*offset).p
  736. local d = CFrame.new(h,mouse.Hit.p)
  737. local e = rootpart.CFrame*CFrame.new(h)
  738. neck.C0 = ((d-d.p):inverse()*(e-e.p)):inverse()*CFrame.new(0,1,0)]]
  739. --[[local AnglePR = (righth-righth.p):inverse()*speed/100
  740. local AnglePL = (lefth-lefth.p):inverse()*speed/100
  741. if speed.magnitude < 2 then
  742. --RightArm.C0 = Tweenz(RightArm.C0,c0.RightArm*CFrame.Angles(0,0,0),.1)
  743. --LeftArm.C0 = Tweenz(LeftArm.C0,c0.LeftArm*CFrame.Angles(0,0,0),.1)
  744. elseif speed.magnitude > 2 then
  745. RightLeg.C0 = Tweenz(RightLeg.C0,CF(0.5,-1+math.cos(angle)*.5,-0.2+-math.sin(angle)*.1)*CFrame.Angles(math.sin(angle)*Spread*-AnglePR.Z,AnglePR.X,math.sin(angle)*Spread*AnglePR.X),.1)
  746. LeftLeg.C0 = Tweenz(LeftLeg.C0,CF(-0.5,-1+-math.cos(angle)*.5,-0.2+math.sin(angle)*.1)*CFrame.Angles(math.sin(angle)*Spread*AnglePL.Z,AnglePL.X,math.sin(angle)*Spread*-AnglePL.X),.1)
  747. --RightArm.C0 = Tweenz(RightArm.C0,c0.RightArm*CFrame.Angles(math.sin(angle)*Spread*AnglePL.Z,0,0),.1)
  748. --LeftArm.C0 = Tweenz(LeftArm.C0,c0.LeftArm*CFrame.Angles(-math.sin(angle)*Spread*AnglePL.Z,0,0),.1)
  749. end
  750. end)
  751. ]]--
  752. Player = p
  753. workspace[Player.Name].Archivable=true
  754. pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace})
  755. pchar.Parent=char
  756. torso=pchar.Torso
  757. humane=pchar.Humanoid
  758. pchar.Name= "Za Warudo"
  759. pl=pchar
  760. humane.MaxHealth=Health
  761. wait()
  762. humane.Health=Health
  763. humane.WalkSpeed=Speed
  764.  
  765. ---Weld
  766.  
  767. local law=nwWld(tor,lam,Cn(-1.5,0.5,0))
  768. law.C1=CFrame.new(0,0.5,0)
  769. local raw=nwWld(tor,ram,Cn(1.5,0.5,0))
  770. raw.C1=CFrame.new(0,0.5,0)
  771. local hew=nwWld(tor,hed,Cn(0,1.5,0))
  772. local llw=nwWld(tor,llg,Cn(-0.5,-1,0))
  773. llw.C1=CFrame.new(0,1,0)
  774. local rlw=nwWld(tor,rlg,Cn(0.5,-1,0))
  775. rlw.C1=CFrame.new(0,1,0)
  776. local tow=nwWld(hrp,tor,Cn(0,-1,0))
  777. tow.C1=CFrame.new(0,-1,0)
  778.  
  779. local hrp2 = pchar.HumanoidRootPart
  780. local tor2 = pchar.Torso
  781. local hed2 = pchar.Head
  782. local lam2=pchar["Left Arm"]
  783. local ram2=pchar["Right Arm"]
  784. local llg2=pchar["Left Leg"]
  785. local rlg2=pchar["Right Leg"]
  786.  
  787. local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0))
  788. law2.C1=CFrame.new(0,0.5,0)
  789. local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0))
  790. raw2.C1=CFrame.new(0,0.5,0)
  791. local hew2=nwWld(tor2,hed2,Cn(0,1.5,0))
  792. local llw2=nwWld(tor2,llg2,Cn(-0.5,-1,0))
  793. llw2.C1=CFrame.new(0,1,0)
  794. local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0))
  795. rlw2.C1=CFrame.new(0,1,0)
  796. local tow2=nwWld(hrp2,tor2,Cn(0,-1,0))
  797. tow2.C1=CFrame.new(0,-1,0)
  798.  
  799.  
  800. local laD=CFrame.new(-1.5,0.5,0)
  801. local raD=CFrame.new(1.5,0.5,0)
  802. local hD=CFrame.new(0,1.5,0)
  803. local tD=CFrame.new(0,-1,0)
  804. local llD=CFrame.new(-0.5,-1,0)
  805. local rlD=CFrame.new(0.5,-1,0)
  806.  
  807. ---Build
  808.  
  809. ---Animations
  810.  
  811. --Idle
  812. local heid=newAnim(hew)
  813. newKF(heid,hD*CA(mr(-15.5),0,0),50,0.3)
  814. newKF(heid,hD*CA(mr(-14),0,0),40,0.3)
  815. local toid=newAnim(tow)
  816. newKF(toid,tD*Cn(0,-0.0125,0)*CA(mr(16),0,0),50,0.3)
  817. newKF(toid,tD*Cn(0,0.0125,0)*CA(mr(15),0,0),40,0.3)
  818. local laid=newAnim(law)
  819. newKF(laid,laD*Cn(1,0.0125,-0.764)*CA(mr(80),0,mr(85)),50,0.3)
  820. newKF(laid,laD*Cn(1,-0.0125,-0.764)*CA(mr(70),0,mr(85)),40,0.3)
  821. local raid=newAnim(raw)
  822. newKF(raid,raD*Cn(-1,-0.0125,-0.764)*CA(mr(80),0,mr(-85)),50,0.3)
  823. newKF(raid,raD*Cn(-1,0.0125,-0.764)*CA(mr(70),0,mr(-85)),40,0.3)
  824. local llid=newAnim(llw)
  825. newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3)
  826. newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3)
  827. local rlid=newAnim(rlw)
  828. newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3)
  829. newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3)
  830.  
  831. local heid2=newAnim(hew2)
  832. newKF(heid2,hD*CA(mr(16),0,0),40,0.3)
  833. newKF(heid2,hD*CA(mr(14),0,0),40,0.3)
  834. local toid2=newAnim(tow2)
  835. newKF(toid2,tD*Cn(0,0.5,3)*CA(mr(0),0,0),50,1)
  836. newKF(toid2,tD*Cn(0,1,3)*CA(mr(0),0,0),40,1)
  837. local laid2=newAnim(law2)
  838. newKF(laid2,laD*Cn(0.5,0.0125,-1)*CA(mr(20),mr(50),mr(20)),50,0.3)
  839. newKF(laid2,laD*Cn(0.5,-0.0125,-1)*CA(mr(20),mr(50),mr(20)),40,0.3)
  840. local raid2=newAnim(raw2)
  841. newKF(raid2,raD*Cn(-0.5,-0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),50,0.3)
  842. newKF(raid2,raD*Cn(-0.5,0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),40,0.3)
  843. local llid2=newAnim(llw2)
  844. newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
  845. newKF(llid2,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
  846. local rlid2=newAnim(rlw2)
  847. newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
  848. newKF(rlid2,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
  849.  
  850. --Walk
  851. local hewk=newAnim(hew)
  852. newKF(hewk,hD*CA(mr(-15.5),0,0),12,0.4)
  853. newKF(hewk,hD*CA(mr(-15),mr(-3),0),13,0.4)
  854. newKF(hewk,hD*CA(mr(-15.5),0,0),12,0.4)
  855. newKF(hewk,hD*CA(mr(-15),mr(3),0),13,0.4)
  856. local towk=newAnim(tow)
  857. newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
  858. newKF(towk,tD*CA(mr(15),mr(5),0),13,0.4)
  859. newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
  860. newKF(towk,tD*CA(mr(15),mr(-5),0),13,0.4)
  861. local lawk=newAnim(law)
  862. newKF(lawk,laD*CA(mr(30),0,0),25,0.4)
  863. newKF(lawk,laD*CA(mr(-30),0,0),25,0.4)
  864. local rawk=newAnim(raw)
  865. newKF(rawk,raD*CA(mr(-30),0,0),25,0.4)
  866. newKF(rawk,raD*CA(mr(30),0,0),25,0.4)
  867. local llwk=newAnim(llw)
  868. newKF(llwk,llD*CA(mr(-40),mr(-10),mr(-2)),25,0.4)
  869. newKF(llwk,llD*Cn(0,0.3,0)*CA(mr(-5),0,mr(-3)),12,0.4)
  870. newKF(llwk,llD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(10),mr(-3)),13,0.4)
  871. local rlwk=newAnim(rlw)
  872. newKF(rlwk,rlD*Cn(0,0.3,0)*CA(mr(-5),0,mr(3)),12,0.4)
  873. newKF(rlwk,rlD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(-10),mr(3)),13,0.4)
  874. newKF(rlwk,rlD*CA(mr(-40),mr(10),mr(2)),25,0.4)
  875.  
  876. --Sprint
  877. local hesp=newAnim(hew)
  878. newKF(hesp,hD*CA(mr(5),mr(-10),0),10,0.2)
  879. newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
  880. newKF(hesp,hD*CA(mr(5),mr(10),0),10,0.2)
  881. newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
  882. local tosp=newAnim(tow)
  883. newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(10),0),10,0.4)
  884. newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
  885. newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(-10),0),10,0.4)
  886. newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
  887. local lasp=newAnim(law)
  888. newKF(lasp,laD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
  889. newKF(lasp,laD*CA(mr(-40),0,0),20,0.4)
  890. local rasp=newAnim(raw)
  891. newKF(rasp,raD*CA(mr(-40),0,0),20,0.4)
  892. newKF(rasp,raD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
  893. local llsp=newAnim(llw)
  894. newKF(llsp,llD*CA(mr(-50),mr(-10),mr(-2)),20,0.4)
  895. newKF(llsp,llD*Cn(0,0.5,0)*CA(mr(15),0,mr(-3)),10,0.4)
  896. newKF(llsp,llD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(10),mr(-3)),10,0.4)
  897. local rlsp=newAnim(rlw)
  898. newKF(rlsp,rlD*Cn(0,0.3,0)*CA(mr(15),0,mr(3)),10,0.4)
  899. newKF(rlsp,rlD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(-10),mr(3)),10,0.4)
  900. newKF(rlsp,rlD*CA(mr(-50),mr(10),mr(2)),20,0.4)
  901.  
  902. --Freefall
  903. local heff=newAnim(hew)
  904. newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
  905. newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
  906. local toff=newAnim(tow)
  907. newKF(toff,tD*CA(mr(10),0,0),8,0.6)
  908. newKF(toff,tD*CA(mr(10),0,0),8,0.6)
  909. local laff=newAnim(law)
  910. newKF(laff,laD*CA(mr(140),0,0),16,0.4)
  911. newKF(laff,laD*CA(mr(140),0,0),16,0.4)
  912. local raff=newAnim(raw)
  913. newKF(raff,raD*CA(mr(140),0,0),16,0.4)
  914. newKF(raff,raD*CA(mr(140),0,0),16,0.4)
  915. local llff=newAnim(llw)
  916. newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
  917. newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
  918. local rlff=newAnim(rlw)
  919. newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
  920. newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
  921.  
  922. --Jump
  923. local hejp=newAnim(hew)
  924. newKF(hejp,hD*CA(mr(5),0,0),8,0.6)
  925. newKF(hejp,hD*CA(mr(5),0,0),8,0.6)
  926. local tojp=newAnim(tow)
  927. newKF(tojp,tD*CA(mr(-10),0,0),8,0.6)
  928. newKF(tojp,tD*CA(mr(-10),0,0),8,0.6)
  929. local lajp=newAnim(law)
  930. newKF(lajp,laD*CA(mr(-20),0,0),16,0.4)
  931. newKF(lajp,laD*CA(mr(-20),0,0),16,0.4)
  932. local rajp=newAnim(raw)
  933. newKF(rajp,raD*CA(mr(-20),0,0),16,0.4)
  934. newKF(rajp,raD*CA(mr(-20),0,0),16,0.4)
  935. local lljp=newAnim(llw)
  936. newKF(lljp,llD*CA(0,0,mr(-5)),16,0.4)
  937. newKF(lljp,llD*CA(0,0,mr(-5)),16,0.4)
  938. local rljp=newAnim(rlw)
  939. newKF(rljp,rlD*CA(0,0,mr(5)),16,0.4)
  940. newKF(rljp,rlD*CA(0,0,mr(5)),16,0.4)
  941.  
  942. --Time Has Stopped
  943. local hesp2=newAnim(hew)
  944. newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5)
  945. local tosp2=newAnim(tow)
  946. newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5)
  947. local lasp2=newAnim(law)
  948. newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5)
  949. local rasp2=newAnim(raw)
  950. newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5)
  951. local llsp2=newAnim(llw)
  952. newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5)
  953. local rlsp2=newAnim(rlw)
  954. newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5)
  955.  
  956. local hesp3=newAnim(hew2)
  957. newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2)
  958. local tosp3=newAnim(tow2)
  959. newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4)
  960. local lasp3=newAnim(law2)
  961. newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4)
  962. newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4)
  963. local rasp3=newAnim(raw2)
  964. newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4)
  965. newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4)
  966. local llsp3=newAnim(llw2)
  967. newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4)
  968. local rlsp3=newAnim(rlw2)
  969. newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4)
  970.  
  971. local hesp4=newAnim(hew2)
  972. newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2)
  973. local tosp4=newAnim(tow2)
  974. newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4)
  975. local lasp4=newAnim(law2)
  976. newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4)
  977. local rasp4=newAnim(raw2)
  978. newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4)
  979. local llsp4=newAnim(llw2)
  980. newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4)
  981. local rlsp4=newAnim(rlw2)
  982. newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4)
  983.  
  984. --Let time flow again
  985. local hetoki=newAnim(hew)
  986. newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
  987. local totoki=newAnim(tow)
  988. newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
  989. local latoki=newAnim(law)
  990. newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4)
  991. local ratoki=newAnim(raw)
  992. newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
  993. local lltoki=newAnim(llw)
  994. newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
  995. local rltoki=newAnim(rlw)
  996. newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
  997. --//Example of Keyframe
  998. --[[
  999. local hesp2=newAnim(hew)
  1000. newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
  1001. local tosp2=newAnim(tow)
  1002. newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4)
  1003. local lasp2=newAnim(law)
  1004. newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4)
  1005. local rasp2=newAnim(raw)
  1006. newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
  1007. local llsp2=newAnim(llw)
  1008. newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
  1009. local rlsp2=newAnim(rlw)
  1010. newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4)
  1011. ]]
  1012. function onDamage(Part)
  1013. if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then
  1014. Part.Anchored = true
  1015. if Part:findFirstChild("Mesh") ~= nil then
  1016. z = Part:findFirstChild("Mesh")
  1017. for i = 1,5 do
  1018. z.Scale = z.Scale + Vector3.new(1,1,1)
  1019. wait(0.05)
  1020. end
  1021. end
  1022. end
  1023. end
  1024.  
  1025. function trappedTorsos:isTrapped(t)
  1026. for nildata, index in next,self do
  1027. if index==t then
  1028. return true
  1029. end
  1030. end
  1031. return false
  1032. end
  1033.  
  1034. function trappedTorsos:Capture(hit)
  1035. if hit.Name ~= "Base" then
  1036. if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then
  1037. table.insert(trappedTorsos, hit)
  1038. hit.Anchored = true --trapped!
  1039. --print'trapped!'
  1040. end
  1041. end
  1042. end
  1043.  
  1044. function trappedTorsos:Release()
  1045. for i,v in next, self do
  1046. if type(v)=='userdata' then
  1047. if v:isA('BasePart') then
  1048. v.Anchored = false
  1049. self[i] = nil
  1050. end
  1051. end
  1052. end
  1053. end
  1054.  
  1055. local stoppedParts = {}
  1056.  
  1057.  
  1058. function getAllParts()
  1059. local rtn = {}
  1060.  
  1061. local function recurse(object)
  1062. for q,e in next, object:children() do
  1063. if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
  1064. table.insert(rtn, e)
  1065. end
  1066. recurse(e)
  1067. end
  1068. end
  1069.  
  1070. recurse(workspace)
  1071. return rtn
  1072. end
  1073.  
  1074. function stopParts(distance)
  1075. stoppedParts = {}
  1076. for nada, part in next, getAllParts() do
  1077. local dist = (tor.Position-part.Position).magnitude
  1078. if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(tor.Parent) and part.Anchored ~= true then
  1079. table.insert(stoppedParts, part)
  1080. if part.Parent:FindFirstChild("Humanoid") then
  1081. part.Parent:FindFirstChild("Humanoid").PlatformStand = false
  1082. end
  1083. if part.Anchored ~= true then
  1084. part.Anchored = true
  1085. end
  1086. end
  1087. end
  1088. end
  1089.  
  1090.  
  1091. function freeParts()
  1092. for q,e in next, stoppedParts do
  1093. stoppedParts[q] = nil
  1094. e.Anchored = false
  1095. end
  1096. end
  1097.  
  1098. function newPart(prnt, pn, sx, sy, sz, px, py, pz, col)
  1099. local prt = Instance.new("Part", prnt)
  1100. prt.Anchored = false
  1101. prt:BreakJoints()
  1102. prt.BottomSurface = 0
  1103. if col == "Negative" then
  1104. prt.Color = Color3.new(-255,-255,-255)
  1105. else
  1106. prt.BrickColor = BrickColor.new(col)
  1107. end
  1108. prt.CanCollide = false
  1109. prt.FormFactor = 3
  1110. prt.Material = "Neon"
  1111. prt.Name = pn
  1112. prt.Position = Vector3.new(px, py, pz)
  1113. prt.Size = Vector3.new(sx, sy, sz)
  1114. prt.TopSurface = 0
  1115. m = Instance.new("SpecialMesh", prt)
  1116. m.MeshType = 6
  1117. return prt
  1118. end
  1119.  
  1120. function scaleTween(strt, fnsh, tim)
  1121. local com1 = {strt.X, strt.Y, strt.Z}
  1122. local com2 = {fnsh.X, fnsh.Y, fnsh.Z}
  1123. for i, v in pairs(com1) do
  1124. com1[i] = v + (com2[i] - v) * tim
  1125. end
  1126. return Vector3.new(com1[1], com1[2], com1[3])
  1127. end
  1128.  
  1129. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1130. wld = Instance.new("Weld", wp1)
  1131. wld.Part0 = wp0
  1132. wld.Part1 = wp1
  1133. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1134. return wld
  1135. end
  1136.  
  1137. local newSound = function(par, id, pitch, volume, lifetime)
  1138. local s = Instance.new('Sound')
  1139. s.Parent = par
  1140. s.SoundId = id
  1141. s.Pitch = pitch
  1142. s.Volume = volume
  1143. s.Looped = false
  1144. s.PlayOnRemove = false
  1145. game.Debris:AddItem(s, lifetime or 6)
  1146. wait()
  1147. s:play()
  1148. return s
  1149. end
  1150. local knives = {}
  1151. local throwKnife = function()
  1152. if p.Character and p.Character.Torso then
  1153. local p = Instance.new('Part')
  1154. p.Parent = workspace
  1155. p.Anchored = false
  1156. p.CanCollide = false
  1157. p.CFrame = CFrame.new(tor.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -3)
  1158. p.Size = Vector3.new(0.5, 0.4, 2.8)
  1159. local m = Instance.new('SpecialMesh')
  1160. m.Parent = p
  1161. m.Scale = Vector3.new(1, 1, 1)
  1162. m.MeshId = 'rbxassetid://202083123'
  1163. m.TextureId = 'rbxassetid://202083162'
  1164. local bv = Instance.new('BodyVelocity')
  1165. bv.Parent = p
  1166. bv.Velocity = p.CFrame.lookVector * 120
  1167. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1168. hitcon = p.Touched:connect(function(hit)
  1169. pcall(function()
  1170. local hitsounds = {153092292, 153092296, 153092274}
  1171. newSound(hit, 'rbxassetid://'..tostring(hitsounds[math.random(#hitsounds)]), 1, 1)
  1172. p:destroy()
  1173. hitcon:disconnect()
  1174. Damagefunc(torso,hit,10,13,math.random(0,0),"Normal",RootPart,.2,1)
  1175. end)
  1176. end)
  1177. table.insert(knives, p)
  1178. if TimeStopped == true then
  1179. p.Anchored = true
  1180. end
  1181. end
  1182. end
  1183. anchored = {}
  1184. recurses2 = function(n)
  1185. for i, v in pairs(n:GetChildren()) do
  1186. if v:isA'BasePart' and v:IsDescendantOf(char) and v.Name ~= 'HumanoidRootPart' then
  1187. v.Anchored = false
  1188. end
  1189. recurses2(v)
  1190. end
  1191. end
  1192.  
  1193. --Za Warudo
  1194. Attacking = false
  1195. WasOn = true
  1196. local effect = Instance.new('ColorCorrectionEffect')
  1197. function TheWorld(Mode)
  1198. if Mode == "Time Stop" then
  1199. noRig = true
  1200. Attacking = true
  1201. if WasOn == true and StandOn == false then
  1202. StandOn = true
  1203. WasOn = false
  1204. end
  1205. hum.WalkSpeed = 0
  1206. for i = 1,30 do
  1207. runKF(hesp2)
  1208. runKF(tosp2)
  1209. runKF(lasp2)
  1210. runKF(rasp2)
  1211. runKF(llsp2)
  1212. runKF(rlsp2)
  1213. runKF(hesp3)
  1214. runKF(tosp3)
  1215. runKF(lasp3)
  1216. runKF(rasp3)
  1217. runKF(llsp3)
  1218. runKF(rlsp3)
  1219. wait()
  1220. end
  1221. wait()
  1222. local ZAWARUDO = Instance.new("Sound",tor)
  1223. ZAWARUDO.SoundId = "rbxassetid://290807377"
  1224. ZAWARUDO.Volume = 0.5
  1225. ZAWARUDO.Looped = false
  1226. ZAWARUDO:Play()
  1227. local TimeStop = Instance.new("Sound",tor)
  1228. TimeStop.SoundId = "rbxassetid://520743795"
  1229. TimeStop.Looped = false
  1230. TimeStop.Volume = 1
  1231. local chrg = newPart(char, "Charge", 1, 1, 1, 30, 10, 30, "Negative")
  1232. chrg.Mesh.MeshType = 3
  1233. chrg.Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
  1234. chrg.Transparency = 0.2
  1235. local chrw = newWeld(tor, chrg, 0, 0, 0)
  1236.  
  1237. for i = 1,10 do
  1238. chrg.Mesh.Scale = scaleTween(chrg.Mesh.Scale, Vector3.new(99, 99, 99), 0.02)
  1239. runKF(hesp4)
  1240. runKF(tosp4)
  1241. runKF(lasp4)
  1242. runKF(rasp4)
  1243. runKF(llsp4)
  1244. runKF(rlsp4)
  1245. wait()
  1246. end
  1247. wait(1.3)
  1248. TimeStop:Play()
  1249. effect.Parent = game.Lighting
  1250.  
  1251. for i = 1,50 do
  1252. effect.Saturation = -(i/20)
  1253. if i <= 20 then
  1254. --effect.Contrast = -(i/10)
  1255. end
  1256. chrg.Mesh.Scale = scaleTween(chrg.Mesh.Scale, Vector3.new(99, 99, 99), 0.2)
  1257. wait(1/30)
  1258. end
  1259. stopParts(5555)
  1260. for i = 1,10 do
  1261. chrg.Mesh.Scale = scaleTween(chrg.Mesh.Scale, Vector3.new(40, 40, 40), 0.2)
  1262. chrg.Mesh.Scale = scaleTween(chrg.Mesh.Scale, Vector3.new(10, 10, 10), 0.2)
  1263. wait()
  1264. end
  1265. chrg:Destroy()
  1266. local TimeHasStopped = Instance.new("Sound",tor)
  1267. TimeHasStopped.SoundId = "rbxassetid://290807397"
  1268. TimeHasStopped.Looped = false
  1269. TimeHasStopped.Volume = 0.5
  1270. wait(1.3)
  1271. TimeHasStopped:Play()
  1272. workspace.Gravity = 70
  1273. for i,v in pairs(char:children()) do
  1274. if v:IsA("Part") then
  1275. v.Anchored = false
  1276. end
  1277. if v:IsA("Hat") then
  1278. v.Handle.Anchored = false
  1279. end
  1280. end
  1281. for i,v in pairs(pchar:children()) do
  1282. if v:IsA("Part") then
  1283. v.Anchored = false
  1284. end
  1285. if v:IsA("Hat") then
  1286. v.Handle.Anchored = false
  1287. end
  1288. end
  1289. if WasOn == false then
  1290. StandOn = false
  1291. WasOn = true
  1292. end
  1293. hum.WalkSpeed = 16
  1294. noRig = false
  1295. Attacking = false
  1296. end
  1297. if Mode == "World Time Stop" then
  1298. noRig = true
  1299. Attacking = true
  1300. if WasOn == true and StandOn == false then
  1301. StandOn = true
  1302. WasOn = false
  1303. end
  1304. hum.WalkSpeed = 0
  1305. for i = 1,30 do
  1306. runKF(hesp2)
  1307. runKF(tosp2)
  1308. runKF(lasp2)
  1309. runKF(rasp2)
  1310. runKF(llsp2)
  1311. runKF(rlsp2)
  1312. runKF(hesp3)
  1313. runKF(tosp3)
  1314. runKF(lasp3)
  1315. runKF(rasp3)
  1316. runKF(llsp3)
  1317. runKF(rlsp3)
  1318. wait()
  1319. end
  1320. wait()
  1321. local ZAWARUDO = Instance.new("Sound",char)
  1322. ZAWARUDO.SoundId = "rbxassetid://304787933"
  1323. ZAWARUDO.Volume = 1
  1324. ZAWARUDO.Looped = false
  1325. ZAWARUDO:Play()
  1326. local TimeStop = Instance.new("Sound",char)
  1327. TimeStop.SoundId = "rbxassetid://520743795"
  1328. TimeStop.Looped = false
  1329. TimeStop.Volume = 1
  1330. local chrg = newPart(char, "Charge", 1, 1, 1, 30, 10, 30, "Negative")
  1331. chrg.Mesh.MeshType = 3
  1332. chrg.Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
  1333. chrg.Transparency = 0.5
  1334. local chrw = newWeld(tor, chrg, 0, 0, 0)
  1335. effect.Parent = game.Lighting
  1336.  
  1337. for i = 1,10 do
  1338. chrg.Mesh.Scale = scaleTween(chrg.Mesh.Scale, Vector3.new(99, 99, 99), 0.02)
  1339. runKF(hesp4)
  1340. runKF(tosp4)
  1341. runKF(lasp4)
  1342. runKF(rasp4)
  1343. runKF(llsp4)
  1344. runKF(rlsp4)
  1345. wait()
  1346. end
  1347. --TimeStop:Play()
  1348. wait(1.5)
  1349. for i = 1,50 do
  1350. effect.Saturation = -(i/10)
  1351. if i <= 20 then
  1352. --effect.Contrast = -(i/10)
  1353. end
  1354. chrg.Mesh.Scale = scaleTween(chrg.Mesh.Scale, Vector3.new(99, 99, 99), 0.2)
  1355. chrg.Transparency = chrg.Transparency + 0.114
  1356. wait(1/50)
  1357. end
  1358. stopParts(5555)
  1359. chrg:Destroy()
  1360. workspace.Gravity = 70
  1361. for i,v in pairs(char:children()) do
  1362. if v:IsA("Part") then
  1363. v.Anchored = false
  1364. end
  1365. if v:IsA("Hat") then
  1366. v.Handle.Anchored = false
  1367. end
  1368. end
  1369. for i,v in pairs(pchar:children()) do
  1370. if v:IsA("Part") then
  1371. v.Anchored = false
  1372. end
  1373. if v:IsA("Hat") then
  1374. v.Handle.Anchored = false
  1375. end
  1376. end
  1377. if WasOn == false then
  1378. StandOn = false
  1379. WasOn = true
  1380. end
  1381. hum.WalkSpeed = 16
  1382. noRig = false
  1383. Attacking = false
  1384. end
  1385. if Mode == "Time Start" then
  1386. local Toki = Instance.new("Sound",tor)
  1387. Toki.SoundId = "rbxassetid://290810519"
  1388. Toki.Volume = 0.5
  1389. Toki.Looped = false
  1390. Toki:Play()
  1391. local chrg = newPart(char, "Charge", 1, 1, 1, 30, 10, 30, "Negative")
  1392. chrg.Mesh.MeshType = 3
  1393. chrg.Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
  1394. chrg.Transparency = 0
  1395. local chrw = newWeld(tor, chrg, 0, 0, 0)
  1396. for i = 1,50 do
  1397. if effect.Saturation <= 0 then
  1398. effect.Saturation = effect.Saturation + i/50
  1399. end
  1400. chrg.Mesh.Scale = scaleTween(chrg.Mesh.Scale, Vector3.new(99, 99, 99), 0.2)
  1401. chrg.Transparency = chrg.Transparency + 0.114
  1402. wait(1/30)
  1403. end
  1404. freeParts()
  1405. chrg:Destroy()
  1406. effect.Saturation = 0
  1407. effect.Contrast = 0
  1408. effect.Parent = nil
  1409. TfwTimeStopped = false
  1410. TimeStopped = false
  1411. workspace.Gravity = 196.2
  1412. end
  1413. if Mode == "Wry" then
  1414. local WWRRRYYYYY = Instance.new("Sound",tor)
  1415. WWRRRYYYYY.SoundId = "rbxassetid://499932933"
  1416. WWRRRYYYYY.Volume = 1
  1417. WWRRRYYYYY.Looped = false
  1418. WWRRRYYYYY:Play()
  1419. end
  1420. if Mode == "Quick Stop" then
  1421. local TimeStop = Instance.new("Sound",char)
  1422. TimeStop.SoundId = "rbxassetid://520743795"
  1423. TimeStop.Looped = false
  1424. TimeStop.Volume = 1
  1425. TimeStop:Play()
  1426. effect.Parent = game.Lighting
  1427. for i = 1,50 do
  1428. effect.Saturation = -(i/10)
  1429. if i <= 20 then
  1430. --effect.Contrast = -(i/10)
  1431. end
  1432. wait()
  1433. end
  1434. stopParts(5555)
  1435. end
  1436. end
  1437.  
  1438. Rapid = false
  1439. TimeStopped = false
  1440. OneSecond = false
  1441. Cha = char
  1442. Character = char
  1443. it=Instance.new
  1444. vt=Vector3.new
  1445. cn=CFrame.new
  1446. euler=CFrame.fromEulerAnglesXYZ
  1447. angles=CFrame.Angles
  1448. RootPart = hrp
  1449. JoJo = Instance.new("ColorCorrectionEffect")
  1450. mouse.KeyDown:connect(function(key)
  1451. if key == "[" and JoJoEffect == false then
  1452. JoJoEffect = true
  1453. JoJo.Parent = game.Lighting
  1454. for i = 1,50 do
  1455. JoJo.Saturation = -(i/20)
  1456. end
  1457. end
  1458. if key == "]" and JoJoEffect == true then
  1459. JoJoEffect = false
  1460. JoJo.Saturation = 0
  1461. JoJo.Parent = nil
  1462. end
  1463. if key == "y" and TimeStopped == false then
  1464. TimeStopped = true
  1465. TfwTimeStopped = true
  1466. TheWorld("Quick Stop")
  1467. end
  1468. if key == "q" then
  1469. if TimeStopped == false and Attacking == false then
  1470. TimeStopped = true
  1471. TfwTimeStopped = true
  1472. TheWorld("Time Stop")
  1473. elseif TimeStopped == true and Attacking == false then
  1474. TheWorld("Time Start")
  1475. end
  1476. end
  1477. if key == "p" and TimeStopped == false and Attacking == false then
  1478. TimeStopped = true
  1479. TfwTimeStopped = true
  1480. TheWorld("World Time Stop")
  1481. end
  1482. if key == "g" then
  1483. throwKnife()
  1484. end
  1485. if key == "f" then
  1486. if StandOn == true then
  1487. StandOn = false
  1488. for i,v in pairs(pchar:children()) do
  1489. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  1490. v.Transparency = 1
  1491. end
  1492. end
  1493. elseif StandOn == false then
  1494. StandOn = true
  1495. TheWorld("Wry")
  1496. for i,v in pairs(pchar:children()) do
  1497. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  1498. v.Transparency = 0
  1499. end
  1500. end
  1501. end
  1502. end
  1503. if key == "t" and OneSecond == false and TimeStopped == false then
  1504. OneSecond = true
  1505. local TimeStop = Instance.new("Sound",char)
  1506. TimeStop.SoundId = "rbxassetid://520743795"
  1507. TimeStop.Looped = false
  1508. TimeStop.Volume = 1
  1509. TimeStop:Play()
  1510. stopParts(5555)
  1511. for i, v in pairs(Cha:GetChildren()) do
  1512. if v:IsA('Hat') then
  1513. v.Handle.Transparency=1
  1514. end
  1515. end
  1516. Cha.Head.Transparency = 0.2
  1517. Cha.Torso.Transparency = 0.2
  1518. Cha["Right Arm"].Transparency = 0.2
  1519. Cha["Left Arm"].Transparency = 0.2
  1520. Cha["Right Leg"].Transparency = 0.2
  1521. Cha["Left Leg"].Transparency = 0.2
  1522. wait()
  1523. Cha.Head.Transparency = 0.4
  1524. Cha.Torso.Transparency = 0.4
  1525. Cha["Right Arm"].Transparency = 0.4
  1526. Cha["Left Arm"].Transparency = 0.4
  1527. Cha["Right Leg"].Transparency = 0.4
  1528. Cha["Left Leg"].Transparency = 0.4
  1529. wait()
  1530. Cha.Head.Transparency = 0.6
  1531. Cha.Torso.Transparency = 0.6
  1532. Cha["Right Arm"].Transparency = 0.6
  1533. Cha["Left Arm"].Transparency = 0.6
  1534. Cha["Right Leg"].Transparency = 0.6
  1535. Cha["Left Leg"].Transparency = 0.6
  1536. wait()
  1537. Cha.Head.Transparency = 0.8
  1538. Cha.Torso.Transparency = 0.8
  1539. Cha["Right Arm"].Transparency = 0.8
  1540. Cha["Left Arm"].Transparency = 0.8
  1541. Cha["Right Leg"].Transparency = 0.8
  1542. Cha["Left Leg"].Transparency = 0.8
  1543. wait()
  1544. Cha.Head.Transparency = 1
  1545. Cha.Torso.Transparency = 1
  1546. Cha["Right Arm"].Transparency = 1
  1547. Cha["Left Arm"].Transparency = 1
  1548. Cha["Right Leg"].Transparency = 1
  1549. Cha["Left Leg"].Transparency = 1
  1550.  
  1551. Targ = CFrame.new(Vector3.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z))
  1552. print("ZA WARUDO!")
  1553.  
  1554. Player.Character.Torso.CFrame = Targ
  1555.  
  1556. wait()
  1557. for i, v in pairs(Cha:GetChildren()) do
  1558. if v:IsA('Hat') then
  1559. v.Handle.Transparency=0
  1560. end
  1561. end
  1562. Cha.Head.Transparency = 0.8
  1563. Cha.Torso.Transparency = 0.8
  1564. Cha["Right Arm"].Transparency = 0.8
  1565. Cha["Left Arm"].Transparency = 0.8
  1566. Cha["Right Leg"].Transparency = 0.8
  1567. Cha["Left Leg"].Transparency = 0.8
  1568. wait()
  1569. Cha.Head.Transparency = 0.6
  1570. Cha.Torso.Transparency = 0.6
  1571. Cha["Right Arm"].Transparency = 0.6
  1572. Cha["Left Arm"].Transparency = 0.6
  1573. Cha["Right Leg"].Transparency = 0.6
  1574. Cha["Left Leg"].Transparency = 0.6
  1575. wait()
  1576. Cha.Head.Transparency = 0.4
  1577. Cha.Torso.Transparency = 0.4
  1578. Cha["Right Arm"].Transparency = 0.4
  1579. Cha["Left Arm"].Transparency = 0.4
  1580. Cha["Right Leg"].Transparency = 0.4
  1581. Cha["Left Leg"].Transparency = 0.4
  1582. wait()
  1583. Cha.Head.Transparency = 0.2
  1584. Cha.Torso.Transparency = 0.2
  1585. Cha["Right Arm"].Transparency = 0.2
  1586. Cha["Left Arm"].Transparency = 0.2
  1587. Cha["Right Leg"].Transparency = 0.2
  1588. Cha["Left Leg"].Transparency = 0.2
  1589. wait()
  1590. Cha.Head.Transparency = 0
  1591. Cha.Torso.Transparency = 0
  1592. Cha["Right Arm"].Transparency = 0
  1593. Cha["Left Arm"].Transparency = 0
  1594. Cha["Right Leg"].Transparency = 0
  1595. Cha["Left Leg"].Transparency = 0
  1596. wait()
  1597. TimeStop:Stop()
  1598. freeParts()
  1599. OneSecond = false
  1600. end
  1601. if key == "v" then
  1602. Rapid = true
  1603. local ORA = Instance.new("Sound",char)
  1604. ORA.SoundId = "rbxassetid://601465752"
  1605. ORA.Volume = 1
  1606. ORA.Looped = true
  1607. ORA:Play()
  1608. Attacking = true
  1609. con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"Killer Queen",RootPart,.2,1) end)
  1610. con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"Killer Queen",RootPart,.2,1) end)
  1611. while Rapid == true do
  1612. for i = 1, 3 do
  1613. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
  1614. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
  1615. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1616. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1617. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1618. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1619. wait()
  1620. end
  1621. for i = 1, 3 do
  1622. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
  1623. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
  1624. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  1625. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  1626. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  1627. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  1628. wait()
  1629. end
  1630. for i = 1, 3 do
  1631. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
  1632. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7)
  1633. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1634. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1635. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1636. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1637. wait()
  1638. end
  1639. for i = 1, 3 do
  1640. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
  1641. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
  1642. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  1643. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  1644. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  1645. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  1646. wait()
  1647. end
  1648. end
  1649. con1:disconnect()
  1650. con2:disconnect()
  1651. local MIDORA = Instance.new("Sound",char)
  1652. MIDORA.SoundId = "rbxassetid://291088797"
  1653. MIDORA.Looped = false
  1654. MIDORA:Play()
  1655. ORA:Stop()
  1656. Attacking = false
  1657. end
  1658. if key == "e" then
  1659. Rapid = true
  1660. local ORA = Instance.new("Sound",char)
  1661. ORA.SoundId = "rbxassetid://601465752"
  1662. ORA.Volume = 1
  1663. ORA.Looped = true
  1664. ORA:Play()
  1665. Attacking = true
  1666. con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"MUDA",RootPart,.2,1) end)
  1667. con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"MUDA",RootPart,.2,1) end)
  1668. while Rapid == true do
  1669. for i = 1, 3 do
  1670. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
  1671. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
  1672. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1673. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1674. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1675. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1676. wait()
  1677. end
  1678. for i = 1, 3 do
  1679. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
  1680. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
  1681. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  1682. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  1683. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  1684. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  1685. wait()
  1686. end
  1687. for i = 1, 3 do
  1688. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
  1689. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7)
  1690. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1691. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1692. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1693. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1694. wait()
  1695. end
  1696. for i = 1, 3 do
  1697. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
  1698. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
  1699. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  1700. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  1701. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  1702. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  1703. wait()
  1704. end
  1705. end
  1706. con1:disconnect()
  1707. con2:disconnect()
  1708. ORA:Stop()
  1709. local MIDORA = Instance.new("Sound",char)
  1710. MIDORA.SoundId = "rbxassetid://291088797"
  1711. MIDORA.Looped = false
  1712. MIDORA:Play()
  1713. con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,20,25,math.random(100,100),"Knockdown",RootPart,.2,1) end)
  1714. for i = 1, 3 do
  1715. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
  1716. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
  1717. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1718. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1719. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1720. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1721. wait()
  1722. end
  1723. wait(1)
  1724. con1:disconnect()
  1725. Attacking = false
  1726. end
  1727. if key == "r" and Attacking == false then
  1728. con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,20,25,math.random(100,100),"Knockdown",RootPart,.2,1) end)
  1729. Attacking = true
  1730. if StandOn == false then
  1731. ram2.Transparency = 0.5
  1732. lam2.Transparency = 0.5
  1733. tor2.Transparency = 0.5
  1734. hed2.Transparency = 0.5
  1735. end
  1736. for i = 1, 3 do
  1737. raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
  1738. law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
  1739. hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1740. tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1741. llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1742. rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1743. wait()
  1744. end
  1745. local MIDORA = Instance.new("Sound",char)
  1746. MIDORA.SoundId = "rbxassetid://291088797"
  1747. MIDORA.Looped = false
  1748. MIDORA:Play()
  1749. wait(1)
  1750. if StandOn == false then
  1751. ram2.Transparency = 1
  1752. lam2.Transparency = 1
  1753. tor2.Transparency = 1
  1754. hed2.Transparency = 1
  1755. end
  1756. con1:disconnect()
  1757. Attacking = false
  1758. end
  1759. end)
  1760.  
  1761. mouse.KeyUp:connect(function(key)
  1762. if key == "e" and Rapid == true or key == "v" and Rapid == true then
  1763. Rapid = false
  1764. end
  1765. end)
  1766.  
  1767. for i, v in pairs(pchar:GetChildren()) do
  1768. if v:IsA('Hat') then
  1769. v.Handle.Transparency=1
  1770. end
  1771. if v:IsA("Part") then
  1772. v.BrickColor = BrickColor.new("Gold")
  1773. end
  1774. end
  1775.  
  1776. -------------------------------Sprint
  1777. mouse.KeyDown:connect(function(key)
  1778. if string.byte(key) == 48 then
  1779. hum.WalkSpeed = 48
  1780. end
  1781. end)
  1782. mouse.KeyUp:connect(function(key)
  1783. if string.byte(key) == 48 then
  1784. hum.WalkSpeed=16
  1785. end
  1786. end)
  1787. -------------------------------------
  1788. hum.FreeFalling:connect(function(f)
  1789. if f then
  1790. ffing=true
  1791. else
  1792. ffing=false
  1793. end
  1794. end)
  1795. StandOn = true
  1796. local hrprv=0
  1797. angle = 0
  1798. angle2 = 0
  1799. angle3 = 0
  1800. anglespeed = 2
  1801. anglespeed2 = 1
  1802. anglespeed3 = .4
  1803. MyHealth = hum.Health
  1804. hum.MaxHealth = 1000
  1805. hum.MaxHealth = 1000
  1806. hum.MaxHealth = 1000
  1807. wait()
  1808. hum.Health = 1000
  1809. hum.Health = 1000
  1810. hum.Health = 1000
  1811. print(hum.MaxHealth.."/"..hum.Health)
  1812. MyMaxHealth = hum.MaxHealth
  1813. MyMaxHealth = humane.Health
  1814. MyHealth = humane.Health
  1815.  
  1816. game:GetService("RunService").Stepped:connect(function()
  1817. for i,v in pairs(char:children()) do
  1818. if v:IsA("Part") then
  1819. v.Anchored = false
  1820. end
  1821. end
  1822. recurses2(workspace)
  1823. for i,v in pairs(pchar:children()) do
  1824. if v:IsA("Part") then
  1825. v.Anchored = false
  1826. end
  1827. end
  1828. for i, v in pairs(pchar:GetChildren()) do
  1829. if v:IsA('Hat') then
  1830. v.Handle.Transparency=1
  1831. end
  1832. if v:IsA("Part") then
  1833. v.BrickColor = BrickColor.new("Gold")
  1834. end
  1835. end
  1836. angle = ((angle % 100) + anglespeed/10)
  1837. angle2 = ((angle2 % 100) + anglespeed2/10)
  1838. angle3 = ((angle3 % 100) + anglespeed3/10)
  1839. hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4)
  1840. sine=sine+1
  1841. MyHealth = humane.Health
  1842. humane.Health = MyHealth
  1843. if hum.Sit==true then
  1844. animpose="Sitting"
  1845. elseif ffing==true then
  1846. animpose="Freefalling"
  1847. elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then
  1848. animpose="Idle"
  1849. elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then
  1850. animpose="Walking"
  1851. elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then
  1852. animpose="Sprinting"
  1853. end
  1854. if Attacking == false then
  1855. tor2.CFrame = hrp.CFrame*CFrame.new(0,0,2)
  1856. runKF(heid2)
  1857. runKF(toid2)
  1858. runKF(laid2)
  1859. runKF(raid2)
  1860. runKF(llid2)
  1861. runKF(rlid2)
  1862. end
  1863. if noRig==false then
  1864. if animpose=="Idle" then
  1865. runKF(heid)
  1866. runKF(toid)
  1867. runKF(laid)
  1868. runKF(raid)
  1869. runKF(llid)
  1870. runKF(rlid)
  1871. elseif animpose=="Walking" then
  1872. runKF(hewk)
  1873. runKF(towk)
  1874. runKF(lawk)
  1875. runKF(rawk)
  1876. runKF(llwk)
  1877. runKF(rlwk)
  1878. --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4)
  1879. --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4)
  1880. ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4)
  1881. elseif animpose=="Sprinting" then
  1882. runKF(hesp)
  1883. runKF(tosp)
  1884. runKF(lasp)
  1885. runKF(rasp)
  1886. runKF(llsp)
  1887. runKF(rlsp)
  1888. --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
  1889. --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4)
  1890. --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4)
  1891. elseif animpose=="Freefalling" then
  1892. runKF(heff)
  1893. runKF(toff)
  1894. runKF(laff)
  1895. runKF(raff)
  1896. runKF(llff)
  1897. runKF(rlff)
  1898. --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
  1899. end
  1900. end
  1901. end)
  1902.  
  1903. while wait() do
  1904. if TimeStopped == true then
  1905. for i, v in pairs(knives) do
  1906. if v ~= nil then
  1907. v.Anchored = true
  1908. end
  1909. end
  1910. else
  1911. for i, v in pairs(knives) do
  1912. if v ~= nil then
  1913. v.Anchored = false
  1914. end
  1915. end
  1916. end
  1917. end
Advertisement
Add Comment
Please, Sign In to add comment