Advertisement
JRKPastesBins

Untitled

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