Advertisement
Abejaron23

Untitled

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