Advertisement
NextFlamePB

ROBLOX Yoshikage Kira Script

Oct 9th, 2017
4,957
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 53.15 KB | None | 0 0
  1. local asd = game:service'Players'.LocalPlayer
  2. repeat wait() until asd.Character
  3. local asdchar = asd.Character
  4. local transPoints = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(0.207, 0.594, 0.0187), NumberSequenceKeypoint.new(0.4, 0.55, 0.031), NumberSequenceKeypoint.new(0.57, 0.619, 0.05), NumberSequenceKeypoint.new(0.76, 0.8, 0.0375), NumberSequenceKeypoint.new(1, 1, 0)}
  5. local sizePoints = {NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 1.9, 0)}
  6. local Size = NumberSequence.new(sizePoints)
  7. local Transparency = NumberSequence.new(transPoints)
  8. efxBlock = Instance.new("Part", asdchar)
  9. efxBlock.CanCollide = false
  10. efxBlock.Material = "Neon"
  11. efxBlock.FormFactor = "Custom"
  12. efxBlock.Transparency = 1
  13. efxBlock.Size = Vector3.new(0.25, 0.25, 0.25)
  14. local mesh = Instance.new("SpecialMesh", efxBlock)
  15. mesh.MeshType = Enum.MeshType.Sphere
  16. mesh.Scale = Vector3.new(1, 1, 1)
  17. local particles = Instance.new("ParticleEmitter", efxBlock)
  18. particles.LightEmission = 0
  19. particles.Size = Size
  20. particles.Name = "Fire"
  21. particles.Transparency = Transparency
  22. particles.LockedToPart = false
  23. particles.VelocityInheritance = -0.5
  24. particles.LockedToPart = false
  25. particles.Rate = 3
  26. particles.Texture = "rbxassetid://262850915"
  27. particles.Lifetime = NumberRange.new(3, 3)
  28. particles.Speed = NumberRange.new(3, 3)
  29. particles.VelocitySpread = 25
  30. local offset = Vector3.new(-0.11, 0.23, -0.5)
  31. local weld = Instance.new("Weld", asdchar.Head)
  32. weld.Part0 = asdchar.Head
  33. weld.Part1 = efxBlock
  34. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40), math.rad(40), math.rad(40))
  35.  
  36. ---Declarations
  37. local Cn=CFrame.new
  38. local CA=CFrame.Angles
  39. local mr=math.rad
  40. local rn=math.random
  41. local mc=math.cos
  42. local Vn=Vector3.new
  43. local NR=NumberRange.new
  44. local NSeq=NumberSequence.new
  45. local plrs=game:service"Players"
  46. local wrk=game:service"Workspace"
  47. local deb=game:service"Debris"
  48. local IS=game:GetService("InsertService")
  49. local p=plrs.LocalPlayer
  50. local cam=wrk.CurrentCamera
  51. local char=p.Character
  52. local mouse=p:GetMouse()
  53. local lam=char["Left Arm"]
  54. local ram=char["Right Arm"]
  55. local llg=char["Left Leg"]
  56. local rlg=char["Right Leg"]
  57. local hed=char.Head
  58. local tor=char.Torso
  59. local larm = lam
  60. local rarm = ram
  61. local lleg = llg
  62. local rleg = rlg
  63. local torso = tor
  64. local hrp=char.HumanoidRootPart
  65. local PlayerSpeed = char.Humanoid.WalkSpeed
  66. local on=false
  67. local noRig=false
  68. local curws=16
  69. local sine=0
  70. local ift={}
  71. local ifxd=false
  72. local run=false
  73. local stance="Cane"
  74. local Speed = 16
  75. local Health = 9000
  76.  
  77. PlayerSpeed = 16
  78.  
  79. ypcall(function()
  80. char.Shirt:Destroy()
  81. char.Pants:Destroy()
  82. shirt = Instance.new("Shirt", char)
  83. shirt.Name = "Shirt"
  84. pants = Instance.new("Pants", char)
  85. pants.Name = "Pants"
  86. char.Shirt.ShirtTemplate = "rbxassetid://495761990"
  87. char.Pants.PantsTemplate = "rbxassetid://495762126"
  88. end)
  89.  
  90. Debounces = {
  91. CanAttack = true;
  92. NoIdl = false;
  93. Slashing = false;
  94. Slashed = false;
  95. RPunch = false;
  96. RPunched = false;
  97. LPunch = false;
  98. LPunched = false;
  99. }
  100.  
  101. local trappedTorsos = {}
  102. local trappedTorsoss = {}
  103. ---Functions
  104.  
  105. function FndHm(flnm)
  106. for i,v in pairs(flnm:GetChildren()) do
  107. if v:IsA("Humanoid") then
  108. return v
  109. end
  110. end
  111. end
  112. local hum=FndHm(char)
  113.  
  114.  
  115.  
  116. function chrDes(inst)
  117.         local ret=nil
  118.         for _,v in pairs(game.Players:GetChildren()) do
  119.                 if inst:IsDescendantOf(v) then
  120.                         ret=v
  121.                         break
  122.                 end
  123.         end
  124.         return ret
  125. end
  126.  
  127. --
  128. function get(a)
  129. local cont={}
  130. for i,v in pairs(a:GetChildren()) do
  131. if v==char then
  132. else
  133. table.insert(cont,v)
  134. pcall(function()
  135. for _,b in pairs(get(v)) do
  136. table.insert(cont,b)
  137. end
  138. end)
  139. end
  140. end
  141. return cont
  142. end
  143. for _,v in pairs(get(game.Workspace)) do
  144. if v:IsA("Sparkles") or v:IsA("Fire") then
  145. v:Destroy()
  146. end
  147. end
  148.  
  149. --
  150. function inT(qur,tbl)
  151. local a=false
  152. for i,v in pairs(tbl) do
  153. if v==qur then
  154. a=true
  155. break
  156. else
  157. a=false
  158. end
  159. end
  160. return a
  161. end
  162.  
  163. --
  164. function Tween(a,b,c)
  165. return a+(b-a)*c
  166. end
  167.  
  168. --
  169. function Avg(a,b)
  170. return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
  171. end
  172.  
  173. --
  174. function Lerp(c1,c2,tim)
  175.         local com1={c1.C0.X,c1.C0.Y,c1.C0.Z,c1.C0:toEulerAnglesXYZ()}
  176.         local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  177.         for i,v in pairs(com1) do
  178.                 com1[i]=v+(com2[i]-v)*tim
  179.         end
  180.         return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
  181. end
  182.  
  183. function RLerp(c1,c2,tim)
  184.         return c1:lerp(c2,tim)
  185. end
  186.  
  187. --
  188. function ALerp(c1,c2,tim)
  189.         local com1={c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  190.         local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  191.         for i,v in pairs(com1) do
  192.                 com1[i]=v+(com2[i]-v)*tim
  193.         end
  194.         return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
  195. end
  196.  
  197. --
  198. function Lerprs(ud,ud2,al)
  199. local a,b,c,d=ud.X.Scale,ud.X.Offset,ud.Y.Scale,ud.Y.Offset
  200. local a2,b2,c2,d2=ud2.X.Scale,ud2.X.Offset,ud2.Y.Scale,ud2.Y.Offset
  201. local x,y,z,w=(a+(a2-a)*al),(b+(b2-b)*al),(c+(c2-c)*al),(d+(d2-d)*al)
  202. return UDim2.new(x,y,z,w)
  203. end
  204.  
  205. --
  206. function newAnim(wld)
  207.         local asd={["Weld"]=wld;["Int"]=0;["Frame"]=1;}
  208.         asd.getFrames=function()
  209.                 local num=0
  210.                 for _,v in pairs(asd) do
  211.                         pcall(function()
  212.                                 num=num+v.Length
  213.                         end)
  214.                 end
  215.                 return num
  216.         end
  217.         return asd
  218. end
  219.  
  220. --
  221. function newKF(tab,c0,lng,off)
  222.         off=off or 1
  223.         table.insert(tab,{["C0"]=c0,["Length"]=lng,["Offset"]=off})
  224. end
  225.  
  226. --
  227. function runKF(tab)
  228.         tab.Int=tab.Int+1
  229.         if tab.Int>=tab[tab.Frame].Length then
  230.                 tab.Frame=tab.Frame+1
  231.                 tab.Int=0
  232.                 if tab.Frame>#tab then
  233.                         tab.Frame=1
  234.                 end
  235.         end
  236.         tab.Weld.C0=RLerp(tab.Weld.C0,tab[tab.Frame].C0,(tab[tab.Frame].Offset/tab[tab.Frame].Length)*tab.Int)
  237. end
  238.  
  239. --
  240. function nwPrt(prnt,siz,cf,col)
  241.         local prt=Instance.new("Part")
  242.         prt.Parent=prnt
  243.         prt.FormFactor=3
  244.         prt.Name="Part"
  245.         prt.Size=siz
  246.         prt.CanCollide=false
  247.         prt.Anchored=true
  248.         prt.Locked=true
  249.         prt.TopSurface=10
  250.         prt.BottomSurface=10
  251.         prt.FrontSurface=10
  252.         prt.BackSurface=10
  253.         prt.LeftSurface=10
  254.         prt.RightSurface=10
  255.         prt:BreakJoints()
  256.         prt.CFrame=cf or CFrame.new(30,10,30)
  257.         prt.Material="SmoothPlastic"
  258.         prt.BrickColor=BrickColor.new(col)
  259.         m=Instance.new("SpecialMesh",prt)
  260.         m.MeshType=6
  261.         return prt
  262. end
  263.  
  264. --
  265. function nwWdg(prnt,siz,cf,col)
  266.         local prt=Instance.new("WedgePart")
  267.         prt.Parent=prnt
  268.         prt.FormFactor=3
  269.         prt.Name="Part"
  270.         prt.Size=siz
  271.         prt.CanCollide=false
  272.         prt.Anchored=false
  273.         prt.Locked=true
  274.         prt.TopSurface=0
  275.         prt.BottomSurface=0
  276.         prt:BreakJoints()
  277.         prt.CFrame=cf or CFrame.new(30,10,30)
  278.         prt.Material="SmoothPlastic"
  279.         prt.BrickColor=BrickColor.new(col)
  280.         return prt
  281. end
  282.  
  283. --
  284. function newGui(prnt,clsnm,siz,pos,bsp,bc,bt)
  285.         local gui=Instance.new(clsnm,prnt)
  286.         gui.Size=siz or UDim2.new(0,100,0,100)
  287.         gui.Position=pos or UDim2.new(0,0,0,0)
  288.         gui.BorderSizePixel=bsp or 0
  289.         gui.BackgroundColor3=bc or Color3.new(0,0,0)
  290.         gui.BackgroundTransparency=bt or 1
  291.         return gui
  292. end
  293.  
  294. --
  295. function nwWld(wp0,wp1,wc0)
  296. wld = Instance.new("Weld",wp1)
  297. wld.Part0=wp0
  298. wld.Part1=wp1
  299. wld.C0=wc0 or Cn(0,0,0)
  300. return wld
  301. end
  302.  
  303. --
  304. function nwSnd(prnt,pch,vol,id)
  305.         local s=Instance.new("Sound",prnt)
  306.         s.Pitch=pch
  307.         s.Volume=vol
  308.         s.SoundId="rbxassetid://"..id
  309.         s.PlayOnRemove=true
  310.         return s
  311. end
  312.  
  313. --
  314. function newRay(start,face,range,wat)
  315.         local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  316.         hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  317.         return rey,hit,pos
  318. end
  319.  
  320. function nooutline(part)
  321.         part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  322. end
  323.  
  324. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  325.         local fp=it("Part")
  326.         fp.formFactor=formfactor
  327.         fp.Parent=parent
  328.         fp.Reflectance=reflectance
  329.         fp.Transparency=transparency
  330.         fp.CanCollide=false
  331.         fp.Locked=true
  332.         fp.BrickColor=BrickColor.new(tostring(brickcolor))
  333.         fp.Name=name
  334.         fp.Size=size
  335.         fp.Position=Character.Torso.Position
  336.         nooutline(fp)
  337.         fp.Material=material
  338.         fp:BreakJoints()
  339.         return fp
  340. end
  341.  
  342. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  343.         local mesh=it(Mesh)
  344.         mesh.Parent=part
  345.         if Mesh=="SpecialMesh" then
  346.                 mesh.MeshType=meshtype
  347.                 mesh.MeshId=meshid
  348.         end
  349.         mesh.Offset=offset
  350.         mesh.Scale=scale
  351.         return mesh
  352. end
  353.  
  354. function weld(parent,part0,part1,c0,c1)
  355.         local weld=it("Weld")
  356.         weld.Parent=parent
  357.         weld.Part0=part0
  358.         weld.Part1=part1
  359.         weld.C0=c0
  360.         weld.C1=c1
  361.         return weld
  362. end
  363. TfwTimeStopped = false
  364. function Damagefunc(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  365.         if hit.Parent==nil then
  366.                 return
  367.         end
  368.         h=hit.Parent:FindFirstChild("Humanoid")
  369.         for _,v in pairs(hit.Parent:children()) do
  370.                 if v:IsA("Humanoid") then
  371.                         h=v
  372.                 end
  373.         end
  374.         if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  375.                 h=hit.Parent.Parent:FindFirstChild("Humanoid")
  376.         end
  377.         if hit.Parent.className=="Hat" then
  378.                 hit=hit.Parent.Parent:findFirstChild("Head")
  379.         end
  380.         if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  381.                 if hit.Parent:findFirstChild("DebounceHit")~=nil then
  382.                         if hit.Parent.DebounceHit.Value==true then
  383.                                 return
  384.                         end
  385.                 end
  386.                 --[[if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  387.                         return
  388.                 end]]
  389.                 --hs(hit,1.2)
  390.                 c=Instance.new("ObjectValue")
  391.                 c.Name="creator"
  392.                 c.Value=game:service("Players").LocalPlayer
  393.                 c.Parent=h
  394.                 game:GetService("Debris"):AddItem(c,.5)
  395.                 Damage=math.random(minim,maxim)
  396.                 --h:TakeDamage(Damage)
  397.                 blocked=false
  398.                 block=hit.Parent:findFirstChild("Block")
  399.                 if block~=nil then
  400.                         print(block.className)
  401.                         if block.className=="NumberValue" then
  402.                                 if block.Value>0 then
  403.                                         blocked=true
  404.                                         if decreaseblock==nil then
  405.                                                 block.Value=block.Value-1
  406.                                         end
  407.                                 end
  408.                         end
  409.                         if block.className=="IntValue" then
  410.                                 if block.Value>0 then
  411.                                         blocked=true
  412.                                         if decreaseblock~=nil then
  413.                                                 block.Value=block.Value-1
  414.                                         end
  415.                                 end
  416.                         end
  417.                 end
  418.                 if blocked==false then
  419.                         --h:TakeDamage(Damage)
  420.                         if TfwTimeStopped == false then
  421.                             h.Health=h.Health-Damage
  422.                             ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "PUNCH", 1.5, Part.BrickColor.Color)
  423.                         elseif TfwTimeStopped == true then
  424.                             repeat wait() until TfwTimeStopped == false
  425.                             h.Health=h.Health-0.1
  426.                             ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  427.                         end
  428.                 else
  429.                         h.Health=h.Health-(Damage/2)
  430.                         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)
  431.                 end
  432.                 if Type=="Knockdown" then
  433.                         hum=hit.Parent.Humanoid
  434.                         hum.PlatformStand=true
  435.                         coroutine.resume(coroutine.create(function(HHumanoid)
  436.                                 swait(1)
  437.                                 HHumanoid.PlatformStand=false
  438.                         end),hum)
  439.                         local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  440.                         --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  441.                         local bodvol=Instance.new("BodyVelocity")
  442.                         bodvol.velocity=angle*knockback
  443.                         bodvol.P=500
  444.                         bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  445.                         bodvol.Parent=hit
  446.                         rl = Instance.new("BodyAngularVelocity")
  447.                         rl.P = 3000
  448.                         rl.maxTorque = Vector3.new(500000, 500000, 500000)
  449.                         rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  450.                         rl.Parent = hit
  451.                         game:GetService("Debris"):AddItem(bodvol,.5)
  452.                         game:GetService("Debris"):AddItem(rl,.5)
  453.                 elseif Type=="ORA" then
  454.                         hum=hit.Parent.Humanoid
  455.                         hum.PlatformStand=true
  456.                         coroutine.resume(coroutine.create(function(HHumanoid)
  457.                                 swait(1)
  458.                                 HHumanoid.PlatformStand=false
  459.                         end),hum)
  460.                         local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  461.                         --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  462.                         local bodvol=Instance.new("BodyVelocity")
  463.                         bodvol.velocity=angle*knockback
  464.                         bodvol.P=500
  465.                         bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  466.                         bodvol.Parent=hit
  467.                         rl = Instance.new("BodyAngularVelocity")
  468.                         rl.P = 3000
  469.                         rl.maxTorque = Vector3.new(500000, 500000, 500000)
  470.                         rl.angularvelocity = Vector3.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  471.                         rl.Parent = hit
  472.                         game:GetService("Debris"):AddItem(bodvol,.5)
  473.                         game:GetService("Debris"):AddItem(rl,.5)
  474.                 elseif Type == "Killer Queen" then
  475.                         hum=hit.Parent.Humanoid
  476.                         hum.PlatformStand=true
  477.                         coroutine.resume(coroutine.create(function(HHumanoid)
  478.                                 swait(1)
  479.                                 HHumanoid.PlatformStand=false
  480.                         end),hum)
  481.                         local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  482.                         --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  483.                         local bodvol=Instance.new("BodyVelocity")
  484.                         bodvol.velocity=angle*knockback
  485.                         bodvol.P=500
  486.                         bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  487.                         bodvol.Parent=hit
  488.                         rl = Instance.new("BodyAngularVelocity")
  489.                         rl.P = 3000
  490.                         rl.maxTorque = Vector3.new(500000, 500000, 500000)
  491.                         rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  492.                         rl.Parent = hit
  493.                         game:GetService("Debris"):AddItem(bodvol,.5)
  494.                         game:GetService("Debris"):AddItem(rl,.5)
  495.                         wait(3)
  496.                         KillerQueen = Instance.new("Explosion",hit)
  497.                         KillerQueen.Position = hit.Position
  498.                 elseif Type=="Normal" then
  499.                         vp=Instance.new("BodyVelocity")
  500.                         vp.P=500
  501.                         vp.maxForce=Vector3.new(math.huge,0,math.huge)
  502.                         --vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  503.                         if KnockbackType==1 then
  504.                                 vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  505.                         elseif KnockbackType==2 then
  506.                                 vp.velocity=Property.CFrame.lookVector*knockback
  507.                         end
  508.                         if knockback>0 then
  509.                                 vp.Parent=hit.Parent.Torso
  510.                         end
  511.                         game:GetService("Debris"):AddItem(vp,.5)
  512.                 elseif Type=="Up" then
  513.                         local bodyVelocity=Instance.new("BodyVelocity")
  514.                         bodyVelocity.velocity=vt(0,60,0)
  515.                         bodyVelocity.P=5000
  516.                         bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  517.                         bodyVelocity.Parent=hit
  518.                         game:GetService("Debris"):AddItem(bodyVelocity,1)
  519.                         rl=Instance.new("BodyAngularVelocity")
  520.                         rl.P=3000
  521.                         rl.maxTorque=Vector3.new(500000,500000,500000)
  522.                         rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  523.                         rl.Parent=hit
  524.                         game:GetService("Debris"):AddItem(rl,.5)
  525.                 elseif Type=="Snare" then
  526.                         bp=Instance.new("BodyPosition")
  527.                         bp.P=2000
  528.                         bp.D=100
  529.                         bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  530.                         bp.position=hit.Parent.Torso.Position
  531.                         bp.Parent=hit.Parent.Torso
  532.                         game:GetService("Debris"):AddItem(bp,1)
  533.                 elseif Type=="Target" then
  534.                         local Targetting = false
  535.                         if Targetting==false then
  536.                                 ZTarget=hit.Parent.Torso
  537.                                 coroutine.resume(coroutine.create(function(Part)
  538.                                         so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  539.                                         swait(5)
  540.                                         so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  541.                                 end),ZTarget)
  542.                                 local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  543.                                 local  targetgui=Instance.new("BillboardGui")
  544.                                 targetgui.Parent=ZTarget
  545.                                 targetgui.Size=UDim2.new(10,100,10,100)
  546.                                 local targ=Instance.new("ImageLabel")
  547.                                 targ.Parent=targetgui
  548.                                 targ.BackgroundTransparency=1
  549.                                 targ.Image="rbxassetid://4834067"
  550.                                 targ.Size=UDim2.new(1,0,1,0)
  551.                                 cam.CameraType="Scriptable"
  552.                                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  553.                                 local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  554.                                 workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  555.                                 Targetting=true
  556.                                 RocketTarget=ZTarget
  557.                                 for i=1,Property do
  558.                                         --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  559.                                         if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  560.                                                 swait()
  561.                                         end
  562.                                         --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  563.                                         cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  564.                                         dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  565.                                         cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  566.                                 end
  567.                                 Targetting=false
  568.                                 RocketTarget=nil
  569.                                 targetgui.Parent=nil
  570.                                 cam.CameraType="Custom"
  571.                         end
  572.                 end
  573.                 local debounce=Instance.new("BoolValue")
  574.                 debounce.Name="DebounceHit"
  575.                 debounce.Parent=hit.Parent
  576.                 debounce.Value=true
  577.                 game:GetService("Debris"):AddItem(debounce,Delay)
  578.                 c=Instance.new("ObjectValue")
  579.                 c.Name="creator"
  580.                 c.Value=Player
  581.                 c.Parent=h
  582.                 game:GetService("Debris"):AddItem(c,.5)
  583.         end
  584. end
  585.  
  586. function ShowDamage(Pos, Text, Time, Color)
  587.         local Rate = (1 / 30)
  588.         local Pos = (Pos or Vector3.new(0, 0, 0))
  589.         local Text = (Text or "")
  590.         local Time = (Time or 2)
  591.         local Color = (Color or Color3.new(1, 0, 0))
  592.         local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  593.         EffectPart.Anchored = true
  594.         local BillboardGui = Instance.new("BillboardGui")
  595.         BillboardGui.Size = UDim2.new(3, 3, 3, 3)
  596.         BillboardGui.Adornee = EffectPart
  597.         local TextLabel = Instance.new("TextLabel")
  598.         TextLabel.BackgroundTransparency = 1
  599.         TextLabel.Size = UDim2.new(3, 3, 3, 3)
  600.         TextLabel.Text = Text
  601.         TextLabel.TextColor3 = Color
  602.         TextLabel.TextStrokeColor3 = BrickColor.new("Really black").Color
  603.         TextLabel.TextScaled = true
  604.         TextLabel.TextStrokeTransparency = 0
  605.         TextLabel.Font = Enum.Font.SourceSansBold
  606.         TextLabel.Parent = BillboardGui
  607.         BillboardGui.Parent = EffectPart
  608.         game.Debris:AddItem(EffectPart, (Time + 0.1))
  609.         EffectPart.Parent = game:GetService("Workspace")
  610.         Delay(0, function()
  611.                 local Frames = (Time / Rate)
  612.                 for Frame = 1, Frames do
  613.                         wait(Rate)
  614.                         local Percent = (Frame / Frames)
  615.                         EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  616.                         TextLabel.TextTransparency = Percent
  617.                         TextLabel.TextStrokeTransparency = Percent
  618.                 end
  619.                 if EffectPart and EffectPart.Parent then
  620.                         EffectPart:Destroy()
  621.                 end
  622.         end)
  623. end
  624.  
  625. Player = p
  626. workspace[Player.Name].Archivable=true
  627. pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace})
  628. pchar.Parent=workspace[Player.Name]
  629. torso=pchar.Torso
  630. humane=pchar.Humanoid
  631. pchar.Name= "Killer Queen"
  632. pl=pchar
  633. humane.MaxHealth=Health
  634. wait()
  635. humane.Health=Health
  636. humane.WalkSpeed=Speed
  637.  
  638. pchar.Shirt.ShirtTemplate = "rbxassetid://497255957"
  639. pchar.Pants.PantsTemplate = "rbxassetid://497256087"
  640.  
  641. ---Weld
  642.  
  643. local law=nwWld(tor,lam,Cn(-1.5,0.5,0))
  644. law.C1=CFrame.new(0,0.5,0)
  645. local raw=nwWld(tor,ram,Cn(1.5,0.5,0))
  646. raw.C1=CFrame.new(0,0.5,0)
  647. local hew=nwWld(tor,hed,Cn(0,1.5,0))
  648. local llw=nwWld(tor,llg,Cn(-0.5,-1,0))
  649. llw.C1=CFrame.new(0,1,0)
  650. local rlw=nwWld(tor,rlg,Cn(0.5,-1,0))
  651. rlw.C1=CFrame.new(0,1,0)
  652. local tow=nwWld(hrp,tor,Cn(0,-1,0))
  653. tow.C1=CFrame.new(0,-1,0)
  654.  
  655. local hrp2 = pchar.HumanoidRootPart
  656. local tor2 = torso
  657. local hed2 = pchar.Head
  658. local lam2=pchar["Left Arm"]
  659. local ram2=pchar["Right Arm"]
  660. local llg2=pchar["Left Leg"]
  661. local rlg2=pchar["Right Leg"]
  662.  
  663. local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0))
  664. law2.C1=CFrame.new(0,0.5,0)
  665. local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0))
  666. raw2.C1=CFrame.new(0,0.5,0)
  667. local hew2=nwWld(torso,hed2,Cn(0,1.5,0))
  668. local llw2=nwWld(torso,llg2,Cn(-0.5,-1,0))
  669. llw2.C1=CFrame.new(0,1,0)
  670. local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0))
  671. rlw2.C1=CFrame.new(0,1,0)
  672. local tow2=nwWld(hrp2,tor2,Cn(0,-1,0))
  673. tow2.C1=CFrame.new(0,-1,0)
  674.  
  675.  
  676. local laD=CFrame.new(-1.5,0.5,0)
  677. local raD=CFrame.new(1.5,0.5,0)
  678. local hD=CFrame.new(0,1.5,0)
  679. local tD=CFrame.new(0,-1,0)
  680. local llD=CFrame.new(-0.5,-1,0)
  681. local rlD=CFrame.new(0.5,-1,0)
  682.  
  683. ---Build
  684.  
  685. ---Animations
  686.  
  687. --Idle
  688. local heid=newAnim(hew)
  689. newKF(heid,hD*CA(mr(-15.5),0,0),50,0.3)
  690. newKF(heid,hD*CA(mr(-14),0,0),40,0.3)
  691. local toid=newAnim(tow)
  692. newKF(toid,tD*Cn(0,-0.0125,0)*CA(mr(0),0,0),50,0.3)
  693. newKF(toid,tD*Cn(0,0.0125,0)*CA(mr(0),0,0),40,0.3)
  694. local laid=newAnim(law)
  695. newKF(laid,laD*Cn(1,0.0125,-0.764)*CA(mr(80),0,mr(85)),50,0.3)
  696. newKF(laid,laD*Cn(1,-0.0125,-0.764)*CA(mr(70),0,mr(85)),40,0.3)
  697. local raid=newAnim(raw)
  698. newKF(raid,raD*Cn(-1,-0.0125,-0.764)*CA(mr(80),0,mr(-85)),50,0.3)
  699. newKF(raid,raD*Cn(-1,0.0125,-0.764)*CA(mr(70),0,mr(-85)),40,0.3)
  700. local llid=newAnim(llw)
  701. newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
  702. newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
  703. local rlid=newAnim(rlw)
  704. newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
  705. newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
  706.  
  707. local heid2=newAnim(hew2)
  708. newKF(heid2,hD*CA(mr(0),0,0),40,0.3)
  709. newKF(heid2,hD*CA(mr(0),0,0),40,0.3)
  710. local toid2=newAnim(tow2)
  711. newKF(toid2,tD*Cn(0,0.5,3)*CA(mr(0),0,0),50,1)
  712. newKF(toid2,tD*Cn(0,1,3)*CA(mr(0),0,0),40,1)
  713. local laid2=newAnim(law2)
  714. newKF(laid2,laD*Cn(0,0.0125,0)*CA(mr(0),mr(0),mr(-20)),50,0.3)
  715. newKF(laid2,laD*Cn(0,-0.0125,0)*CA(mr(0),mr(0),mr(-20)),40,0.3)
  716. local raid2=newAnim(raw2)
  717. newKF(raid2,raD*Cn(0,-0.0125,0)*CA(mr(0),mr(0),mr(20)),50,0.3)
  718. newKF(raid2,raD*Cn(0,0.0125,0)*CA(mr(0),mr(0),mr(20)),40,0.3)
  719. local llid2=newAnim(llw2)
  720. newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
  721. newKF(llid2,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
  722. local rlid2=newAnim(rlw2)
  723. newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
  724. newKF(rlid2,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
  725.  
  726. --Walk
  727. local hewk=newAnim(hew)
  728. newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
  729. newKF(hewk,hD*CA(mr(-5),mr(-3),0),13,0.4)
  730. newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
  731. newKF(hewk,hD*CA(mr(-5),mr(3),0),13,0.4)
  732. local towk=newAnim(tow)
  733. newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
  734. newKF(towk,tD*CA(mr(15),mr(5),0),13,0.4)
  735. newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
  736. newKF(towk,tD*CA(mr(15),mr(-5),0),13,0.4)
  737. local lawk=newAnim(law)
  738. newKF(lawk,laD*CA(mr(30),0,0),25,0.4)
  739. newKF(lawk,laD*CA(mr(-30),0,0),25,0.4)
  740. local rawk=newAnim(raw)
  741. newKF(rawk,raD*CA(mr(-30),0,0),25,0.4)
  742. newKF(rawk,raD*CA(mr(30),0,0),25,0.4)
  743. local llwk=newAnim(llw)
  744. newKF(llwk,llD*CA(mr(-40),mr(-10),mr(-2)),25,0.4)
  745. newKF(llwk,llD*Cn(0,0.3,0)*CA(mr(-5),0,mr(-3)),12,0.4)
  746. newKF(llwk,llD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(10),mr(-3)),13,0.4)
  747. local rlwk=newAnim(rlw)
  748. newKF(rlwk,rlD*Cn(0,0.3,0)*CA(mr(-5),0,mr(3)),12,0.4)
  749. newKF(rlwk,rlD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(-10),mr(3)),13,0.4)
  750. newKF(rlwk,rlD*CA(mr(-40),mr(10),mr(2)),25,0.4)
  751.  
  752. --Sprint
  753. local hesp=newAnim(hew)
  754. newKF(hesp,hD*CA(mr(5),mr(-10),0),10,0.2)
  755. newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
  756. newKF(hesp,hD*CA(mr(5),mr(10),0),10,0.2)
  757. newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
  758. local tosp=newAnim(tow)
  759. newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(10),0),10,0.4)
  760. newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
  761. newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(-10),0),10,0.4)
  762. newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
  763. local lasp=newAnim(law)
  764. newKF(lasp,laD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
  765. newKF(lasp,laD*CA(mr(-40),0,0),20,0.4)
  766. local rasp=newAnim(raw)
  767. newKF(rasp,raD*CA(mr(-40),0,0),20,0.4)
  768. newKF(rasp,raD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
  769. local llsp=newAnim(llw)
  770. newKF(llsp,llD*CA(mr(-50),mr(-10),mr(-2)),20,0.4)
  771. newKF(llsp,llD*Cn(0,0.5,0)*CA(mr(15),0,mr(-3)),10,0.4)
  772. newKF(llsp,llD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(10),mr(-3)),10,0.4)
  773. local rlsp=newAnim(rlw)
  774. newKF(rlsp,rlD*Cn(0,0.3,0)*CA(mr(15),0,mr(3)),10,0.4)
  775. newKF(rlsp,rlD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(-10),mr(3)),10,0.4)
  776. newKF(rlsp,rlD*CA(mr(-50),mr(10),mr(2)),20,0.4)
  777.  
  778. --Freefall
  779. local heff=newAnim(hew)
  780. newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
  781. newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
  782. local toff=newAnim(tow)
  783. newKF(toff,tD*CA(mr(10),0,0),8,0.6)
  784. newKF(toff,tD*CA(mr(10),0,0),8,0.6)
  785. local laff=newAnim(law)
  786. newKF(laff,laD*CA(mr(140),0,0),16,0.4)
  787. newKF(laff,laD*CA(mr(140),0,0),16,0.4)
  788. local raff=newAnim(raw)
  789. newKF(raff,raD*CA(mr(140),0,0),16,0.4)
  790. newKF(raff,raD*CA(mr(140),0,0),16,0.4)
  791. local llff=newAnim(llw)
  792. newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
  793. newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
  794. local rlff=newAnim(rlw)
  795. newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
  796. newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
  797.  
  798. --Time Has Stopped
  799. local hesp2=newAnim(hew)
  800. newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5)
  801. local tosp2=newAnim(tow)
  802. newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5)
  803. local lasp2=newAnim(law)
  804. newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5)
  805. local rasp2=newAnim(raw)
  806. newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5)
  807. local llsp2=newAnim(llw)
  808. newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5)
  809. local rlsp2=newAnim(rlw)
  810. newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5)
  811.  
  812. local hesp3=newAnim(hew2)
  813. newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2)
  814. local tosp3=newAnim(tow2)
  815. newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4)
  816. local lasp3=newAnim(law2)
  817. newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4)
  818. newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4)
  819. local rasp3=newAnim(raw2)
  820. newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4)
  821. newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4)
  822. local llsp3=newAnim(llw2)
  823. newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4)
  824. local rlsp3=newAnim(rlw2)
  825. newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4)
  826.  
  827. local hesp4=newAnim(hew2)
  828. newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2)
  829. local tosp4=newAnim(tow2)
  830. newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4)
  831. local lasp4=newAnim(law2)
  832. newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4)
  833. local rasp4=newAnim(raw2)
  834. newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4)
  835. local llsp4=newAnim(llw2)
  836. newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4)
  837. local rlsp4=newAnim(rlw2)
  838. newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4)
  839.  
  840. --Let time flow again
  841. local hetoki=newAnim(hew)
  842. newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
  843. local totoki=newAnim(tow)
  844. newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
  845. local latoki=newAnim(law)
  846. newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4)
  847. local ratoki=newAnim(raw)
  848. newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
  849. local lltoki=newAnim(llw)
  850. newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
  851. local rltoki=newAnim(rlw)
  852. newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
  853. --//Example of Keyframe
  854. --[[
  855. local hesp2=newAnim(hew)
  856. newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
  857. local tosp2=newAnim(tow)
  858. newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4)
  859. local lasp2=newAnim(law)
  860. newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4)
  861. local rasp2=newAnim(raw)
  862. newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
  863. local llsp2=newAnim(llw)
  864. newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
  865. local rlsp2=newAnim(rlw)
  866. newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4)
  867. ]]
  868. function onDamage(Part)
  869.     if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then
  870.         Part.Anchored = true
  871.         if Part:findFirstChild("Mesh") ~= nil then
  872.             z = Part:findFirstChild("Mesh")
  873.             for i = 1,5 do
  874.                 z.Scale = z.Scale + Vector3.new(1,1,1)
  875.                 wait(0.05)
  876.             end
  877.         end
  878.     end
  879. end
  880.  
  881. function trappedTorsos:isTrapped(t)
  882.     for nildata, index in next,self do
  883.         if index==t then
  884.             return true
  885.         end
  886.     end
  887. return false
  888. end
  889.  
  890. function trappedTorsos:Capture(hit)
  891.    if hit:isA'BasePart' then
  892.     if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then
  893.         print(hit.Parent:GetFullName())
  894.         table.insert(trappedTorsos, hit.Parent)
  895.         Bitten = true
  896.         repeat wait() if hit.Parent == nil then Bitten = false end until Bitten == false
  897.         print("Find a new Target!")
  898.         --hit.Anchored = true --trapped!
  899.         --print'trapped!'
  900.     end
  901.    end
  902. end
  903.  
  904. function trappedTorsoss:isTrapped(t)
  905.     for nildata, index in next,self do
  906.         if index==t then
  907.             return true
  908.         end
  909.     end
  910. return false
  911. end
  912. Bitten2 = false
  913. function trappedTorsoss:Capture2(hit)
  914.     if not trappedTorsoss:isTrapped(hit) and not hit:IsDescendantOf(char) and hit:isA'BasePart' then
  915.         table.insert(trappedTorsoss, hit)
  916.         Bitten2 = true
  917.         repeat wait() until Bitten2 == false
  918.         KillerQueens = Instance.new("Explosion",Workspace)
  919.         KillerQueens.Position = hit.Position
  920.         KillerQueens.BlastPressure = 0
  921.         KillerQueens.BlastRadius = 10
  922.         hit:breakJoints()
  923.         hit:remove()
  924.         print("BITTEN!")
  925.         --hit.Anchored = true --trapped!
  926.         --print'trapped!'
  927.     end
  928. end
  929. function LetsBiteZaDusto(hit)
  930.     if not hit:IsDescendantOf(char) and hit:isA'BasePart' and hit.Name ~= "Terrain" and hit ~= workspace.Terrain then
  931.         KillerQueens = Instance.new("Explosion",Workspace)
  932.         KillerQueens.Position = hit.Position
  933.         KillerQueens.BlastPressure = 0
  934.         KillerQueens.BlastRadius = 10
  935.         pcall(function()
  936.             hit:breakJoints()
  937.             hit:remove()
  938.         end)
  939.     end
  940. end
  941.  
  942. function trappedTorsos:Release()
  943.     for i,v in next, self do
  944.         if type(v)=='userdata' then
  945.             if v:isA('BasePart') then
  946.                 v.Anchored = false
  947.                 self[i] = nil
  948.             end
  949.         end
  950.     end
  951. end
  952.  
  953. DUWANG = Instance.new("Sound",char)
  954. DUWANG.SoundId = "rbxassetid://583598537"
  955. DUWANG.Looped = true
  956. DUWANG:Play()
  957.  
  958. --Za Warudo
  959. Attacking = false
  960. WasOn = true
  961. Rapid = false
  962. TimeStopped = false
  963. OneSecond = false
  964. BubbleBomb = false
  965. TheTarget = nil
  966. Cha = char
  967. Character = char
  968. it=Instance.new
  969. vt=Vector3.new
  970. cn=CFrame.new
  971. euler=CFrame.fromEulerAnglesXYZ
  972. angles=CFrame.Angles
  973. RootPart = hrp
  974. mouse.KeyDown:connect(function(key)
  975.     if key == "q" and Attacking == false then
  976.         Attacking = true
  977.         con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,0,0,math.random(0,0),"Knockdown",RootPart,.2,1) trappedTorsoss:Capture2(hit) end)
  978.         for i = 1, 3 do
  979.             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)
  980.             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)
  981.             hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  982.             tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  983.             llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  984.             rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  985.             wait()
  986.         end
  987.         wait(1)
  988.         con1:disconnect()
  989.         Attacking = false
  990.     end
  991.     if key == "p" and Bitten2 == true then
  992.         Bitten2 = false
  993.     end
  994.     if key == "f" then
  995.         if StandOn then
  996.             StandOn = false
  997.         else
  998.             StandOn = true
  999.         end
  1000.     end
  1001.     if key == "v" and Rapid ~= true then
  1002.         Rapid = true
  1003.         Attacking = true
  1004.         con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"ORA",RootPart,.2,1) trappedTorsoss:Capture2(hit) end)
  1005.         con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"ORA",RootPart,.2,1) trappedTorsoss:Capture2(hit) end)
  1006.         while Rapid == true do
  1007.             for i = 1, 3 do
  1008.                 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)
  1009.                 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)
  1010.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1011.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1012.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1013.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1014.                 wait()
  1015.             end
  1016.             for i = 1, 3 do
  1017.                 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)
  1018.                 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)
  1019.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  1020.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  1021.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  1022.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  1023.                 wait()
  1024.             end
  1025.             for i = 1, 3 do
  1026.                 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)
  1027.                 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)
  1028.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1029.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1030.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1031.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1032.                 wait()
  1033.             end
  1034.             for i = 1, 3 do
  1035.                 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)
  1036.                 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)
  1037.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  1038.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  1039.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  1040.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  1041.                 wait()
  1042.             end
  1043.         end
  1044.         con1:disconnect()
  1045.         con2:disconnect()
  1046.         Attacking = false
  1047.     end
  1048.     if key == "e" and Rapid ~= true then
  1049.         Rapid = true
  1050.         Attacking = true
  1051.         con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"ORA",RootPart,.2,1) end)
  1052.         con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"ORA",RootPart,.2,1) end)
  1053.         while Rapid == true do
  1054.             for i = 1, 3 do
  1055.                 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)
  1056.                 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)
  1057.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1058.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1059.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1060.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1061.                 wait()
  1062.             end
  1063.             for i = 1, 3 do
  1064.                 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)
  1065.                 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)
  1066.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  1067.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  1068.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  1069.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  1070.                 wait()
  1071.             end
  1072.             for i = 1, 3 do
  1073.                 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)
  1074.                 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)
  1075.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1076.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1077.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1078.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1079.                 wait()
  1080.             end
  1081.             for i = 1, 3 do
  1082.                 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)
  1083.                 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)
  1084.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  1085.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  1086.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  1087.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  1088.                 wait()
  1089.             end
  1090.         end
  1091.         con1:disconnect()
  1092.         con2:disconnect()
  1093.         Attacking = false
  1094.     end
  1095.     if key == "r" and Attacking == false and Bitten2 == false then
  1096.         con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,5,15,math.random(100,100),"Knockdown",RootPart,.2,1) trappedTorsoss:Capture2(hit) end)
  1097.         Attacking = true
  1098.         for i = 1, 3 do
  1099.             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)
  1100.             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)
  1101.             hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1102.             tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1103.             llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1104.             rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1105.             wait()
  1106.         end
  1107.         wait(1)
  1108.         con1:disconnect()
  1109.         Attacking = false
  1110.     end
  1111.     if key == "g" and Attacking == false then
  1112.         con1 = ram2.Touched:connect(function(hit)
  1113.             Damagefunc(torso,hit,5,15,math.random(100,100),"Killer Queen",RootPart,.2,1)
  1114.         end)
  1115.         Attacking = true
  1116.         for i = 1, 3 do
  1117.             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)
  1118.             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)
  1119.             hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  1120.             tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1121.             llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1122.             rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1123.             wait()
  1124.         end
  1125.         wait(1)
  1126.         con1:disconnect()
  1127.         Attacking = false
  1128.     end
  1129.     if key == "t" and Attacking == false then
  1130.         Attacking = true
  1131.         BubbleBomb = true
  1132.         for i = 1, 3 do
  1133.             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)
  1134.             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)
  1135.             hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(-50),0), 1.3)
  1136.             tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  1137.             llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  1138.             rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  1139.             wait()
  1140.         end
  1141.         ContactBubble = Instance.new("Part",char)
  1142.         ContactBubble.Material = "Neon"
  1143.         ContactBubble.Transparency = 0.85
  1144.         ContactBubble.Shape = "Ball"
  1145.         ContactBubble.CFrame = hed2.CFrame + hed2.CFrame.lookVector*10
  1146.         Shooter = Instance.new('BodyVelocity',ContactBubble)  
  1147.         Shooter.maxForce = Vector3.new(1,1,1)*math.huge
  1148.         Shooter.velocity = tor.CFrame.lookVector*10
  1149.         Attacking = false
  1150.         wait(0.5)
  1151.         ContactBubble.Touched:connect(function(hit)
  1152.             if hit:IsA"BasePart" then
  1153.                 local KillerQueenEx = Instance.new("Explosion",hit)
  1154.                 KillerQueenEx.Position = hit.Position
  1155.                 ContactBubble:Destroy()
  1156.                 hit:breakJoints()
  1157.                 hit:Remove()
  1158.             end
  1159.         end)
  1160.     end
  1161.     if key == "[" and hum.Health > 25 and Daisobakuden == false then
  1162.         Daisobakuden = true
  1163.     end
  1164.     if key == "]" and hum.Health > 25 and Daisobakuden == true then
  1165.         Daisobakuden = false
  1166.     end
  1167. end)
  1168.  
  1169. mouse.KeyUp:connect(function(key)
  1170.     if key == "e" and Rapid == true or key == "v" and Rapid == true then
  1171.         Rapid = false
  1172.     end
  1173. end)
  1174. function getAllParts()
  1175.     local rtn = {}
  1176.    
  1177.     local function recurse(object)
  1178.         for q,e in next, object:children() do
  1179.             if e:isA'BasePart' then
  1180.                 table.insert(rtn, e)
  1181.             end
  1182.             recurse(e)
  1183.         end
  1184.     end
  1185.  
  1186.     recurse(workspace)
  1187.     return rtn
  1188. end
  1189. Bitten = false
  1190.  
  1191. for i, v in pairs(pchar:GetChildren()) do
  1192.     if v:IsA('Hat') then
  1193.         v.Handle.Transparency=1
  1194.     end
  1195.     if v:IsA("Part") then
  1196.         v.BrickColor = BrickColor.new("Hot pink")
  1197.     end
  1198. end
  1199.  
  1200. -------------------------------Sprint
  1201. mouse.KeyDown:connect(function(key)
  1202.     if string.byte(key) == 48 then
  1203.         hum.WalkSpeed = 48
  1204.     end
  1205. end)
  1206. mouse.KeyUp:connect(function(key)
  1207.     if string.byte(key) == 48 then
  1208.         hum.WalkSpeed=16
  1209.     end
  1210. end)
  1211. -------------------------------------
  1212. hum.FreeFalling:connect(function(f)
  1213.     if f then
  1214.         ffing=true
  1215.     else
  1216.         ffing=false
  1217.     end
  1218. end)
  1219. StandOn = true
  1220. local hrprv=0
  1221. angle = 0
  1222. angle2 = 0
  1223. angle3 = 0
  1224. anglespeed = 2
  1225. anglespeed2 = 1
  1226. anglespeed3 = .4
  1227. MyHealth = hum.Health
  1228. MyMaxHealth = hum.MaxHealth
  1229. MyMaxHealth = humane.Health
  1230. MyHealth = humane.Health
  1231. humane.Name = "Killer Queen"
  1232.  
  1233. game:GetService("RunService").Stepped:connect(function()
  1234.     for i, v in pairs(pchar:GetChildren()) do
  1235.         if v:IsA('Hat') then
  1236.             v.Handle.Transparency=1
  1237.         end
  1238.         if v:IsA("Part") then
  1239.             v.BrickColor = BrickColor.new("Hot pink")
  1240.         end
  1241.     end
  1242.     if hum.Health < 25 then
  1243.         Daisobakuden = true
  1244.     end
  1245.     angle = ((angle % 100) + anglespeed/10)
  1246.     angle2 = ((angle2 % 100) + anglespeed2/10)
  1247.     angle3 = ((angle3 % 100) + anglespeed3/10)
  1248.         hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4)
  1249.         sine=sine+1
  1250.         if StandOn == false then
  1251.             for i,v in pairs(pchar:children()) do
  1252.                 if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  1253.                     v.Transparency = 1
  1254.                 end
  1255.             end
  1256.         elseif StandOn == true then
  1257.             for i,v in pairs(pchar:children()) do
  1258.                 if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  1259.                     v.Transparency = 0
  1260.                 end
  1261.             end
  1262.         end
  1263.         MyHealth = humane.Health
  1264.         humane.Health = MyHealth
  1265.         if hum.Sit==true then
  1266.                 animpose="Sitting"
  1267.         elseif ffing==true then
  1268.                 animpose="Freefalling"
  1269.         elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then
  1270.                 animpose="Idle"
  1271.         elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then
  1272.                 animpose="Walking"
  1273.         elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then
  1274.                 animpose="Sprinting"
  1275.         end
  1276.         if Attacking == false then
  1277.             torso.CFrame = hrp.CFrame*CFrame.new(0,0,2)
  1278.             runKF(heid2)
  1279.             runKF(toid2)
  1280.             runKF(laid2)
  1281.             runKF(raid2)
  1282.             runKF(llid2)
  1283.             runKF(rlid2)
  1284.         end
  1285.         if noRig==false then
  1286.                 if animpose=="Idle" then
  1287.                     runKF(heid)
  1288.                     runKF(toid)
  1289.                     runKF(laid)
  1290.                     runKF(raid)
  1291.                     runKF(llid)
  1292.                     runKF(rlid)
  1293.                 elseif animpose=="Walking" then
  1294.                                 runKF(hewk)
  1295.                                 runKF(towk)
  1296.                                 runKF(lawk)
  1297.                                 runKF(rawk)
  1298.                                 runKF(llwk)
  1299.                                 runKF(rlwk)
  1300.                                 --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4)
  1301.                                 --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4)
  1302.                                 ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4)
  1303.                 elseif animpose=="Sprinting" then
  1304.                                 runKF(hesp)
  1305.                                 runKF(tosp)
  1306.                                 runKF(lasp)
  1307.                                 runKF(rasp)
  1308.                                 runKF(llsp)
  1309.                                 runKF(rlsp)
  1310.                                 --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
  1311.                                 --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4)
  1312.                                 --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4)
  1313.                 elseif animpose=="Freefalling" then
  1314.                         runKF(heff)
  1315.                         runKF(toff)
  1316.                         runKF(laff)
  1317.                         runKF(raff)
  1318.                         runKF(llff)
  1319.                         runKF(rlff)
  1320.                         --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
  1321.                 end
  1322.         end
  1323. end)
  1324.  
  1325. AnotherOneBitesZaDusto = 500
  1326. hum.MaxHealth = 500
  1327. wait()
  1328. hum.Health = 500
  1329. while wait(100) do
  1330.     AnotherOneBitesZaDusto = hum.Health
  1331.     print'Changed'
  1332. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement