Advertisement
quoc9x

Untitled

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