Advertisement
sneakydodge123

menacing

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