Advertisement
wanTH092

Time stop key

Mar 14th, 2018
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 42.31 KB | None | 0 0
  1. Player = p
  2. workspace[Player.Name].Archivable=true
  3. pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace})
  4. pchar.Parent=workspace[Player.Name]
  5. torso=pchar.Torso
  6. humane=pchar.Humanoid
  7. pchar.Name= "Za Warudo"
  8. pl=pchar
  9. humane.MaxHealth=Health
  10. wait()
  11. humane.Health=Health
  12. humane.WalkSpeed=Speed
  13.  
  14. ---Weld
  15.  
  16. local law=nwWld(tor,lam,Cn(-1.5,0.5,0))
  17. law.C1=CFrame.new(0,0.5,0)
  18. local raw=nwWld(tor,ram,Cn(1.5,0.5,0))
  19. raw.C1=CFrame.new(0,0.5,0)
  20. local hew=nwWld(tor,hed,Cn(0,1.5,0))
  21. local llw=nwWld(tor,llg,Cn(-0.5,-1,0))
  22. llw.C1=CFrame.new(0,1,0)
  23. local rlw=nwWld(tor,rlg,Cn(0.5,-1,0))
  24. rlw.C1=CFrame.new(0,1,0)
  25. local tow=nwWld(hrp,tor,Cn(0,-1,0))
  26. tow.C1=CFrame.new(0,-1,0)
  27.  
  28. local hrp2 = pchar.HumanoidRootPart
  29. local tor2 = torso
  30. local hed2 = pchar.Head
  31. local lam2=pchar["Left Arm"]
  32. local ram2=pchar["Right Arm"]
  33. local llg2=pchar["Left Leg"]
  34. local rlg2=pchar["Right Leg"]
  35.  
  36. local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0))
  37. law2.C1=CFrame.new(0,0.5,0)
  38. local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0))
  39. raw2.C1=CFrame.new(0,0.5,0)
  40. local hew2=nwWld(torso,hed2,Cn(0,1.5,0))
  41. local llw2=nwWld(torso,llg2,Cn(-0.5,-1,0))
  42. llw2.C1=CFrame.new(0,1,0)
  43. local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0))
  44. rlw2.C1=CFrame.new(0,1,0)
  45. local tow2=nwWld(hrp2,tor2,Cn(0,-1,0))
  46. tow2.C1=CFrame.new(0,-1,0)
  47.  
  48.  
  49. local laD=CFrame.new(-1.5,0.5,0)
  50. local raD=CFrame.new(1.5,0.5,0)
  51. local hD=CFrame.new(0,1.5,0)
  52. local tD=CFrame.new(0,-1,0)
  53. local llD=CFrame.new(-0.5,-1,0)
  54. local rlD=CFrame.new(0.5,-1,0)
  55.  
  56. ---Build
  57.  
  58. ---Animations
  59.  
  60. --Idle
  61. local heid=newAnim(hew)
  62. newKF(heid,hD*CA(mr(-15.5),0,0),50,0.3)
  63. newKF(heid,hD*CA(mr(-14),0,0),40,0.3)
  64. local toid=newAnim(tow)
  65. newKF(toid,tD*Cn(0,-0.0125,0)*CA(mr(16),0,0),50,0.3)
  66. newKF(toid,tD*Cn(0,0.0125,0)*CA(mr(15),0,0),40,0.3)
  67. local laid=newAnim(law)
  68. newKF(laid,laD*Cn(1,0.0125,-0.764)*CA(mr(80),0,mr(85)),50,0.3)
  69. newKF(laid,laD*Cn(1,-0.0125,-0.764)*CA(mr(70),0,mr(85)),40,0.3)
  70. local raid=newAnim(raw)
  71. newKF(raid,raD*Cn(-1,-0.0125,-0.764)*CA(mr(80),0,mr(-85)),50,0.3)
  72. newKF(raid,raD*Cn(-1,0.0125,-0.764)*CA(mr(70),0,mr(-85)),40,0.3)
  73. local llid=newAnim(llw)
  74. newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3)
  75. newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3)
  76. local rlid=newAnim(rlw)
  77. newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3)
  78. newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3)
  79.  
  80. local heid2=newAnim(hew2)
  81. newKF(heid2,hD*CA(mr(16),0,0),40,0.3)
  82. newKF(heid2,hD*CA(mr(14),0,0),40,0.3)
  83. local toid2=newAnim(tow2)
  84. newKF(toid2,tD*Cn(0,0.5,3)*CA(mr(0),0,0),50,1)
  85. newKF(toid2,tD*Cn(0,1,3)*CA(mr(0),0,0),40,1)
  86. local laid2=newAnim(law2)
  87. newKF(laid2,laD*Cn(0.5,0.0125,-1)*CA(mr(20),mr(50),mr(20)),50,0.3)
  88. newKF(laid2,laD*Cn(0.5,-0.0125,-1)*CA(mr(20),mr(50),mr(20)),40,0.3)
  89. local raid2=newAnim(raw2)
  90. newKF(raid2,raD*Cn(-0.5,-0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),50,0.3)
  91. newKF(raid2,raD*Cn(-0.5,0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),40,0.3)
  92. local llid2=newAnim(llw2)
  93. newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
  94. newKF(llid2,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
  95. local rlid2=newAnim(rlw2)
  96. newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
  97. newKF(rlid2,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
  98.  
  99. --Walk
  100. local hewk=newAnim(hew)
  101. newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
  102. newKF(hewk,hD*CA(mr(-5),mr(-3),0),13,0.4)
  103. newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
  104. newKF(hewk,hD*CA(mr(-5),mr(3),0),13,0.4)
  105. local towk=newAnim(tow)
  106. newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
  107. newKF(towk,tD*CA(mr(15),mr(5),0),13,0.4)
  108. newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
  109. newKF(towk,tD*CA(mr(15),mr(-5),0),13,0.4)
  110. local lawk=newAnim(law)
  111. newKF(lawk,laD*CA(mr(30),0,0),25,0.4)
  112. newKF(lawk,laD*CA(mr(-30),0,0),25,0.4)
  113. local rawk=newAnim(raw)
  114. newKF(rawk,raD*CA(mr(-30),0,0),25,0.4)
  115. newKF(rawk,raD*CA(mr(30),0,0),25,0.4)
  116. local llwk=newAnim(llw)
  117. newKF(llwk,llD*CA(mr(-40),mr(-10),mr(-2)),25,0.4)
  118. newKF(llwk,llD*Cn(0,0.3,0)*CA(mr(-5),0,mr(-3)),12,0.4)
  119. newKF(llwk,llD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(10),mr(-3)),13,0.4)
  120. local rlwk=newAnim(rlw)
  121. newKF(rlwk,rlD*Cn(0,0.3,0)*CA(mr(-5),0,mr(3)),12,0.4)
  122. newKF(rlwk,rlD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(-10),mr(3)),13,0.4)
  123. newKF(rlwk,rlD*CA(mr(-40),mr(10),mr(2)),25,0.4)
  124.  
  125. --Sprint
  126. local hesp=newAnim(hew)
  127. newKF(hesp,hD*CA(mr(5),mr(-10),0),10,0.2)
  128. newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
  129. newKF(hesp,hD*CA(mr(5),mr(10),0),10,0.2)
  130. newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
  131. local tosp=newAnim(tow)
  132. newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(10),0),10,0.4)
  133. newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
  134. newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(-10),0),10,0.4)
  135. newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
  136. local lasp=newAnim(law)
  137. newKF(lasp,laD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
  138. newKF(lasp,laD*CA(mr(-40),0,0),20,0.4)
  139. local rasp=newAnim(raw)
  140. newKF(rasp,raD*CA(mr(-40),0,0),20,0.4)
  141. newKF(rasp,raD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
  142. local llsp=newAnim(llw)
  143. newKF(llsp,llD*CA(mr(-50),mr(-10),mr(-2)),20,0.4)
  144. newKF(llsp,llD*Cn(0,0.5,0)*CA(mr(15),0,mr(-3)),10,0.4)
  145. newKF(llsp,llD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(10),mr(-3)),10,0.4)
  146. local rlsp=newAnim(rlw)
  147. newKF(rlsp,rlD*Cn(0,0.3,0)*CA(mr(15),0,mr(3)),10,0.4)
  148. newKF(rlsp,rlD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(-10),mr(3)),10,0.4)
  149. newKF(rlsp,rlD*CA(mr(-50),mr(10),mr(2)),20,0.4)
  150.  
  151. --Freefall
  152. local heff=newAnim(hew)
  153. newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
  154. newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
  155. local toff=newAnim(tow)
  156. newKF(toff,tD*CA(mr(10),0,0),8,0.6)
  157. newKF(toff,tD*CA(mr(10),0,0),8,0.6)
  158. local laff=newAnim(law)
  159. newKF(laff,laD*CA(mr(140),0,0),16,0.4)
  160. newKF(laff,laD*CA(mr(140),0,0),16,0.4)
  161. local raff=newAnim(raw)
  162. newKF(raff,raD*CA(mr(140),0,0),16,0.4)
  163. newKF(raff,raD*CA(mr(140),0,0),16,0.4)
  164. local llff=newAnim(llw)
  165. newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
  166. newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
  167. local rlff=newAnim(rlw)
  168. newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
  169. newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
  170.  
  171. --Time Has Stopped
  172. local hesp2=newAnim(hew)
  173. newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5)
  174. local tosp2=newAnim(tow)
  175. newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5)
  176. local lasp2=newAnim(law)
  177. newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5)
  178. local rasp2=newAnim(raw)
  179. newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5)
  180. local llsp2=newAnim(llw)
  181. newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5)
  182. local rlsp2=newAnim(rlw)
  183. newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5)
  184.  
  185. local hesp3=newAnim(hew2)
  186. newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2)
  187. local tosp3=newAnim(tow2)
  188. newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4)
  189. local lasp3=newAnim(law2)
  190. newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4)
  191. newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4)
  192. local rasp3=newAnim(raw2)
  193. newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4)
  194. newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4)
  195. local llsp3=newAnim(llw2)
  196. newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4)
  197. local rlsp3=newAnim(rlw2)
  198. newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4)
  199.  
  200. local hesp4=newAnim(hew2)
  201. newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2)
  202. local tosp4=newAnim(tow2)
  203. newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4)
  204. local lasp4=newAnim(law2)
  205. newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4)
  206. local rasp4=newAnim(raw2)
  207. newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4)
  208. local llsp4=newAnim(llw2)
  209. newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4)
  210. local rlsp4=newAnim(rlw2)
  211. newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4)
  212.  
  213. --Let time flow again
  214. local hetoki=newAnim(hew)
  215. newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
  216. local totoki=newAnim(tow)
  217. newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
  218. local latoki=newAnim(law)
  219. newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4)
  220. local ratoki=newAnim(raw)
  221. newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
  222. local lltoki=newAnim(llw)
  223. newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
  224. local rltoki=newAnim(rlw)
  225. newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
  226. --//Example of Keyframe
  227. --[[
  228. local hesp2=newAnim(hew)
  229. newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
  230. local tosp2=newAnim(tow)
  231. newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4)
  232. local lasp2=newAnim(law)
  233. newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4)
  234. local rasp2=newAnim(raw)
  235. newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
  236. local llsp2=newAnim(llw)
  237. newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
  238. local rlsp2=newAnim(rlw)
  239. newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4)
  240. ]]
  241. function onDamage(Part)
  242.     if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then
  243.         Part.Anchored = true
  244.         if Part:findFirstChild("Mesh") ~= nil then
  245.             z = Part:findFirstChild("Mesh")
  246.             for i = 1,5 do
  247.                 z.Scale = z.Scale + Vector3.new(1,1,1)
  248.                 wait(0.05)
  249.             end
  250.         end
  251.     end
  252. end
  253.  
  254. function trappedTorsos:isTrapped(t)
  255.     for nildata, index in next,self do
  256.         if index==t then
  257.             return true
  258.         end
  259.     end
  260. return false
  261. end
  262.  
  263. function trappedTorsos:Capture(hit)
  264.    if hit:isA'BasePart' then
  265.     if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then
  266.         table.insert(trappedTorsos, hit)
  267.         hit.Anchored = true --trapped!
  268.         --print'trapped!'
  269.     end
  270.    end
  271. end
  272.  
  273. function trappedTorsos:Release()
  274.     for i,v in next, self do
  275.         if type(v)=='userdata' then
  276.             if v:isA('BasePart') then
  277.                 v.Anchored = false
  278.                 self[i] = nil
  279.             end
  280.         end
  281.     end
  282. end
  283.  
  284. --Za Warudo
  285. Attacking = false
  286. WasOn = true
  287. function TheWorld(Mode)
  288.     if Mode == "Time Stop" then
  289.         noRig = true
  290.         Attacking = true
  291.         if WasOn == true and StandOn == false then
  292.             StandOn = true
  293.             WasOn = false
  294.         end
  295.         hum.WalkSpeed = 0
  296.         for i = 1,30 do
  297.             runKF(hesp2)
  298.             runKF(tosp2)
  299.             runKF(lasp2)
  300.             runKF(rasp2)
  301.             runKF(llsp2)
  302.             runKF(rlsp2)
  303.             runKF(hesp3)
  304.             runKF(tosp3)
  305.             runKF(lasp3)
  306.             runKF(rasp3)
  307.             runKF(llsp3)
  308.             runKF(rlsp3)
  309.             wait()
  310.         end
  311.         wait()
  312.         local ZAWARUDO = Instance.new("Sound",tor)
  313.         ZAWARUDO.SoundId = "rbxassetid://290807377"
  314.         ZAWARUDO.Volume = 1
  315.         ZAWARUDO.Looped = false
  316.         ZAWARUDO:Play()
  317.         local TimeStop = Instance.new("Sound",tor)
  318.         TimeStop.SoundId = "rbxassetid://520743795"
  319.         TimeStop.Looped = false
  320.         TimeStop.Volume = 1
  321.         local AreaOfEffect = Instance.new("Part",char)
  322.         AreaOfEffect.Position = tor.Position
  323.         AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01)
  324.         AreaOfEffect.Anchored = true
  325.         AreaOfEffect.CanCollide = false
  326.         AreaOfEffect.BrickColor = BrickColor.new("Institutional white")
  327.         AreaOfEffect.Transparency = 0.9
  328.         AreaOfEffect.Shape = "Ball"
  329.         AreaOfEffect.Material = "Neon"  
  330.        
  331.         for i = 1,10 do
  332.             runKF(hesp4)
  333.             runKF(tosp4)
  334.             runKF(lasp4)
  335.             runKF(rasp4)
  336.             runKF(llsp4)
  337.             runKF(rlsp4)
  338.             wait()
  339.         end
  340.         TimeStop:Play()
  341.         for i = 1,10 do
  342.             AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1)
  343.             AreaOfEffect.CFrame = char.Torso.CFrame
  344.             wait()
  345.         end
  346.         coroutine.wrap(function()
  347.             do local me={}
  348.                
  349.                 me.plrs = game:service'Workspace':children''
  350.                
  351.                 function me:getNear(mag)
  352.                     local rtn = {}
  353.                        
  354.                     for k,v in next,me.plrs do
  355.                         local chxr = v
  356.                        
  357.                         if chxr then
  358.                             if chxr:findFirstChild'Torso' then
  359.                                 local pos = (chxr.Torso.Position-tor.Position).magnitude
  360.                                
  361.                                 if pos<=mag then
  362.                                     for a,b in pairs(chxr:children()) do
  363.                                         if b:IsA("BasePart") then
  364.                                             table.insert(rtn, b)
  365.                                         end
  366.                                     end
  367.                                 end
  368.                             end
  369.                         end
  370.                     end
  371.                     return rtn
  372.                 end
  373.            
  374.                 for no, torso in ipairs(me:getNear(25)) do
  375.                     --print(torso:GetFullName())
  376.                     --print(torso:GetFullName())
  377.                     trappedTorsos:Capture(torso)
  378.                 end
  379.            
  380.                
  381.             end
  382.         end)()
  383.         AreaOfEffect:Destroy()
  384.         local TimeHasStopped = Instance.new("Sound",tor)
  385.         TimeHasStopped.SoundId = "rbxassetid://"
  386.         TimeHasStopped.Looped = false
  387.         TimeHasStopped.Volume = 1
  388.         wait(1.3)
  389.         TimeHasStopped:Play()
  390.         workspace.Gravity = 70
  391.         for i,v in pairs(char:children()) do
  392.             if v:IsA("Part") then
  393.                 v.Anchored = false
  394.             end
  395.             if v:IsA("Hat") then
  396.                 v.Handle.Anchored = false
  397.             end
  398.         end
  399.         for i,v in pairs(pchar:children()) do
  400.             if v:IsA("Part") then
  401.                 v.Anchored = false
  402.             end
  403.             if v:IsA("Hat") then
  404.                 v.Handle.Anchored = false
  405.             end
  406.         end
  407.         if WasOn == false then
  408.             StandOn = false
  409.             WasOn = true
  410.         end
  411.         hum.WalkSpeed = 16
  412.         noRig = false
  413.         Attacking = false
  414.      end
  415.      if Mode == "World Time Stop" then
  416.         noRig = true
  417.         Attacking = true
  418.         if WasOn == true and StandOn == false then
  419.             StandOn = true
  420.             WasOn = false
  421.         end
  422.         hum.WalkSpeed = 0
  423.         for i = 1,30 do
  424.             runKF(hesp2)
  425.             runKF(tosp2)
  426.             runKF(lasp2)
  427.             runKF(rasp2)
  428.             runKF(llsp2)
  429.             runKF(rlsp2)
  430.             runKF(hesp3)
  431.             runKF(tosp3)
  432.             runKF(lasp3)
  433.             runKF(rasp3)
  434.             runKF(llsp3)
  435.             runKF(rlsp3)
  436.             wait()
  437.         end
  438.         wait()
  439.         local ZAWARUDO = Instance.new("Sound",tor)
  440.         ZAWARUDO.SoundId = "rbxassetid://290807377"
  441.         ZAWARUDO.Volume = 1
  442.         ZAWARUDO.Looped = false
  443.         ZAWARUDO:Play()
  444.         local TimeStop = Instance.new("Sound",tor)
  445.         TimeStop.SoundId = "rbxassetid://520743795"
  446.         TimeStop.Looped = false
  447.         TimeStop.Volume = 1
  448.         local AreaOfEffect = Instance.new("Part",char)
  449.         AreaOfEffect.Position = tor.Position
  450.         AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01)
  451.         AreaOfEffect.Anchored = true
  452.         AreaOfEffect.CanCollide = false
  453.         AreaOfEffect.BrickColor = BrickColor.new("Institutional white")
  454.         AreaOfEffect.Transparency = 0.9
  455.         AreaOfEffect.Shape = "Ball"
  456.         AreaOfEffect.Material = "Neon"  
  457.        
  458.         for i = 1,10 do
  459.             runKF(hesp4)
  460.             runKF(tosp4)
  461.             runKF(lasp4)
  462.             runKF(rasp4)
  463.             runKF(llsp4)
  464.             runKF(rlsp4)
  465.             wait()
  466.         end
  467.         TimeStop:Play()
  468.         for i = 1,10 do
  469.             AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1)
  470.             AreaOfEffect.CFrame = char.Torso.CFrame
  471.             wait()
  472.         end
  473.         coroutine.wrap(function()
  474.             do local me={}
  475.                
  476.                 me.plrs = game:service'Workspace':children''
  477.                
  478.                 function me:getNear(mag)
  479.                     local rtn = {}
  480.                        
  481.                     for k,v in next,me.plrs do
  482.                         local chxr = v
  483.                        
  484.                         if chxr then
  485.                             if chxr:findFirstChild'Torso' then
  486.                                 local pos = (chxr.Torso.Position-tor.Position).magnitude
  487.                                
  488.                                 if pos<=mag then
  489.                                     for a,b in pairs(chxr:children()) do
  490.                                         if b:IsA("BasePart") then
  491.                                             table.insert(rtn, b)
  492.                                         end
  493.                                     end
  494.                                 end
  495.                             end
  496.                         end
  497.                     end
  498.                     return rtn
  499.                 end
  500.            
  501.                 for no, torso in ipairs(me:getNear(5555)) do
  502.                     --print(torso:GetFullName())
  503.                     --print(torso:GetFullName())
  504.                     trappedTorsos:Capture(torso)
  505.                 end
  506.            
  507.                
  508.             end
  509.         end)()
  510.         AreaOfEffect:Destroy()
  511.         local TimeHasStopped = Instance.new("Sound",tor)
  512.         TimeHasStopped.SoundId = "rbxassetid://290807397"
  513.         TimeHasStopped.Looped = false
  514.         TimeHasStopped.Volume = 1
  515.         wait(1.3)
  516.         TimeHasStopped:Play()
  517.         workspace.Gravity = 70
  518.         for i,v in pairs(char:children()) do
  519.             if v:IsA("Part") then
  520.                 v.Anchored = false
  521.             end
  522.             if v:IsA("Hat") then
  523.                 v.Handle.Anchored = false
  524.             end
  525.         end
  526.         for i,v in pairs(pchar:children()) do
  527.             if v:IsA("Part") then
  528.                 v.Anchored = false
  529.             end
  530.             if v:IsA("Hat") then
  531.                 v.Handle.Anchored = false
  532.             end
  533.         end
  534.         if WasOn == false then
  535.             StandOn = false
  536.             WasOn = true
  537.         end
  538.         hum.WalkSpeed = 16
  539.         noRig = false
  540.         Attacking = false
  541.      end
  542.      if Mode == "Time Start" then
  543.         local Toki = Instance.new("Sound",tor)
  544.         Toki.SoundId = "rbxassetid://290810519"
  545.         Toki.Volume = 1
  546.         Toki.Looped = false
  547.         Toki:Play()
  548.         local AreaOfEffect2 = Instance.new("Part",tor)
  549.         AreaOfEffect2.Position = tor.Position
  550.         AreaOfEffect2.Size = Vector3.new(0.01,0.01,0.01)
  551.         AreaOfEffect2.Anchored = true
  552.         AreaOfEffect2.CanCollide = false
  553.         AreaOfEffect2.Transparency = 1
  554.         AreaOfEffect2.BrickColor = BrickColor.new("Institutional white")
  555.         AreaOfEffect2.Transparency = 0.99
  556.         AreaOfEffect2.Shape = "Ball"
  557.         AreaOfEffect2.Material = "Neon"
  558.         AreaOfEffect2.Touched:connect(function(hit)
  559.             if hit ~= "Base" then
  560.                 --hit.Anchored = false
  561.             end
  562.         end)
  563.         for i = 1,10 do
  564.             AreaOfEffect2.Size = AreaOfEffect2.Size + Vector3.new(4.1,4.1,4.1)
  565.             AreaOfEffect2.CFrame = char.Torso.CFrame
  566.             wait()
  567.         end
  568.         trappedTorsos:Release()
  569.         AreaOfEffect2:Destroy()
  570.         TfwTimeStopped = false
  571.         workspace.Gravity = 196.2
  572.     end
  573.     if Mode == "Wry" then
  574.         local WWRRRYYYYY = Instance.new("Sound",tor)
  575.         WWRRRYYYYY.SoundId = "rbxassetid://499932933"
  576.         WWRRRYYYYY.Volume = 1
  577.         WWRRRYYYYY.Looped = false
  578.         WWRRRYYYYY:Play()
  579.     end
  580. end
  581.  
  582. Rapid = false
  583. TimeStopped = false
  584. OneSecond = false
  585. Cha = char
  586. Character = char
  587. it=Instance.new
  588. vt=Vector3.new
  589. cn=CFrame.new
  590. euler=CFrame.fromEulerAnglesXYZ
  591. angles=CFrame.Angles
  592. RootPart = hrp
  593. mouse.KeyDown:connect(function(key)
  594.     if key == "q" then
  595.         if TimeStopped == false and Attacking == false then
  596.             TheWorld("Time Stop")
  597.             TimeStopped = true
  598.             TfwTimeStopped = true
  599.             --[[wait(10)
  600.             if TimeStopped == true then
  601.                 TheWorld("Time Start")
  602.                 TimeStopped = false
  603.             end]]
  604.         elseif TimeStopped == true and Attacking == false then
  605.             TheWorld("Time Start")
  606.             TimeStopped = false
  607.         end
  608.     end
  609.     if key == "p" and TimeStopped == false and Attacking == false then
  610.         TheWorld("World Time Stop")
  611.         TimeStopped = true
  612.         TfwTimeStopped = true
  613.     end
  614.     if key == "f" then
  615.         if StandOn then
  616.             StandOn = false
  617.         else
  618.             StandOn = true
  619.             TheWorld("Wry")
  620.         end
  621.     end
  622.     if key == "t" and OneSecond == false then
  623.         OneSecond = true
  624.         for i, v in pairs(Cha:GetChildren()) do
  625.             if v:IsA('Hat') then
  626.                 v.Handle.Transparency=1
  627.             end
  628.         end
  629.         Cha.Head.Transparency = 0.2
  630.         Cha.Torso.Transparency = 0.2
  631.         Cha["Right Arm"].Transparency = 0.2
  632.         Cha["Left Arm"].Transparency = 0.2
  633.         Cha["Right Leg"].Transparency = 0.2
  634.         Cha["Left Leg"].Transparency = 0.2
  635.         wait()
  636.         Cha.Head.Transparency = 0.4
  637.         Cha.Torso.Transparency = 0.4
  638.         Cha["Right Arm"].Transparency = 0.4
  639.         Cha["Left Arm"].Transparency = 0.4
  640.         Cha["Right Leg"].Transparency = 0.4
  641.         Cha["Left Leg"].Transparency = 0.4
  642.         wait()
  643.         Cha.Head.Transparency = 0.6
  644.         Cha.Torso.Transparency = 0.6
  645.         Cha["Right Arm"].Transparency = 0.6
  646.         Cha["Left Arm"].Transparency = 0.6
  647.         Cha["Right Leg"].Transparency = 0.6
  648.         Cha["Left Leg"].Transparency = 0.6
  649.         wait()
  650.         Cha.Head.Transparency = 0.8
  651.         Cha.Torso.Transparency = 0.8
  652.         Cha["Right Arm"].Transparency = 0.8
  653.         Cha["Left Arm"].Transparency = 0.8
  654.         Cha["Right Leg"].Transparency = 0.8
  655.         Cha["Left Leg"].Transparency = 0.8
  656.         wait()
  657.         Cha.Head.Transparency = 1
  658.         Cha.Torso.Transparency = 1
  659.         Cha["Right Arm"].Transparency = 1
  660.         Cha["Left Arm"].Transparency = 1
  661.         Cha["Right Leg"].Transparency = 1
  662.         Cha["Left Leg"].Transparency = 1
  663.        
  664.         Targ = CFrame.new(Vector3.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z))
  665.         print("ZA WARUDO!")
  666.  
  667.         Player.Character.Torso.CFrame = Targ
  668.  
  669.         wait()
  670.         for i, v in pairs(Cha:GetChildren()) do
  671.             if v:IsA('Hat') then
  672.                 v.Handle.Transparency=0
  673.             end
  674.         end
  675.         Cha.Head.Transparency = 0.8
  676.         Cha.Torso.Transparency = 0.8
  677.         Cha["Right Arm"].Transparency = 0.8
  678.         Cha["Left Arm"].Transparency = 0.8
  679.         Cha["Right Leg"].Transparency = 0.8
  680.         Cha["Left Leg"].Transparency = 0.8
  681.         wait()
  682.         Cha.Head.Transparency = 0.6
  683.         Cha.Torso.Transparency = 0.6
  684.         Cha["Right Arm"].Transparency = 0.6
  685.         Cha["Left Arm"].Transparency = 0.6
  686.         Cha["Right Leg"].Transparency = 0.6
  687.         Cha["Left Leg"].Transparency = 0.6
  688.         wait()
  689.         Cha.Head.Transparency = 0.4
  690.         Cha.Torso.Transparency = 0.4
  691.         Cha["Right Arm"].Transparency = 0.4
  692.         Cha["Left Arm"].Transparency = 0.4
  693.         Cha["Right Leg"].Transparency = 0.4
  694.         Cha["Left Leg"].Transparency = 0.4
  695.         wait()
  696.         Cha.Head.Transparency = 0.2
  697.         Cha.Torso.Transparency = 0.2
  698.         Cha["Right Arm"].Transparency = 0.2
  699.         Cha["Left Arm"].Transparency = 0.2
  700.         Cha["Right Leg"].Transparency = 0.2
  701.         Cha["Left Leg"].Transparency = 0.2
  702.         wait()
  703.         Cha.Head.Transparency = 0
  704.         Cha.Torso.Transparency = 0
  705.         Cha["Right Arm"].Transparency = 0
  706.         Cha["Left Arm"].Transparency = 0
  707.         Cha["Right Leg"].Transparency = 0
  708.         Cha["Left Leg"].Transparency = 0
  709.  
  710.         wait()
  711.         OneSecond = false
  712.     end
  713.     if key == "v" then
  714.         Rapid = true
  715.         local ORA = Instance.new("Sound",char)
  716.         ORA.SoundId = "rbxassetid://291088692"
  717.         ORA.Volume = 1
  718.         ORA.Looped = false
  719.         ORA:Play()
  720.         Attacking = true
  721.         con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,4,math.random(0,0),"Killer Queen",RootPart,.2,1) end)
  722.         con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,4,2,math.random(0,0),"Killer Queen",RootPart,.2,1) end)
  723.         while Rapid == true do
  724.             for i = 1, 3 do
  725.                 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)
  726.                 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)
  727.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  728.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  729.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  730.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  731.                 wait()
  732.             end
  733.             for i = 1, 3 do
  734.                 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)
  735.                 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)
  736.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  737.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  738.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  739.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  740.                 wait()
  741.             end
  742.             for i = 1, 3 do
  743.                 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)
  744.                 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)
  745.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  746.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  747.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  748.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  749.                 wait()
  750.             end
  751.             for i = 1, 3 do
  752.                 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)
  753.                 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)
  754.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  755.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  756.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  757.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  758.                 wait()
  759.             end
  760.         end
  761.         con1:disconnect()
  762.         con2:disconnect()
  763.         local MIDORA = Instance.new("Sound",char)
  764.         MIDORA.SoundId = "rbxassetid://291088797"
  765.         MIDORA.Looped = false
  766.         MIDORA:Play()
  767.         ORA:Stop()
  768.         Attacking = false
  769.     end
  770.     if key == "e" then
  771.         if StandOn == true then
  772.         Rapid = true
  773.         local ORA = Instance.new("Sound",char)
  774.         ORA.SoundId = "rbxassetid://291088692"
  775.         ORA.Volume = 1
  776.         ORA.Looped = false
  777.         ORA:Play()
  778.         Attacking = true
  779.         con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,3,1,math.random(0,0),"Normal",RootPart,.2,1) end)
  780.         con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,3,math.random(0,0),"Normal",RootPart,.2,1) end)
  781.         while Rapid == true do
  782.             for i = 1, 3 do
  783.                 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)
  784.                 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)
  785.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  786.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  787.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  788.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  789.                 wait()
  790.             end
  791.             for i = 1, 3 do
  792.                 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)
  793.                 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)
  794.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  795.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  796.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  797.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  798.                 wait()
  799.             end
  800.             for i = 1, 3 do
  801.                 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)
  802.                 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)
  803.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  804.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  805.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  806.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  807.                 wait()
  808.             end
  809.             for i = 1, 3 do
  810.                 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)
  811.                 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)
  812.                 hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  813.                 tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  814.                 llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  815.                 rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  816.                 wait()
  817.             end
  818.         end
  819.         con1:disconnect()
  820.         con2:disconnect()
  821.         local MIDORA = Instance.new("Sound",char)
  822.         MIDORA.SoundId = "rbxassetid://291088797"
  823.         MIDORA.Looped = false
  824.         MIDORA:Play()
  825.         ORA:Stop()
  826.         Attacking = false
  827.         elseif StandOn == false then
  828.         Rapid = true
  829.         local ORA = Instance.new("Sound",char)
  830.         ORA.SoundId = "rbxassetid://291088692"
  831.         ORA.Volume = 1
  832.         ORA.Looped = false
  833.         ORA:Play()
  834.         con1 = ram.Touched:connect(function(hit) Damagefunc(torso,hit,4,1,math.random(0,0),"Normal",RootPart,.2,1) end)
  835.         con2 = lam.Touched:connect(function(hit) Damagefunc(torso,hit,1,5,math.random(0,0),"Normal",RootPart,.2,1) end)
  836.         while Rapid == true do
  837.             for i = 1, 3 do
  838.                 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)
  839.                 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)
  840.                 hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  841.                 tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  842.                 llw.C0 = RLerp(llw.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  843.                 rlw.C0 = RLerp(rlw.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  844.                 wait()
  845.             end
  846.             for i = 1, 3 do
  847.                 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)
  848.                 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)
  849.                 hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  850.                 tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  851.                 llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  852.                 rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  853.                 wait()
  854.             end
  855.             for i = 1, 3 do
  856.                 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)
  857.                 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)
  858.                 hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  859.                 tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  860.                 llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  861.                 rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  862.                 wait()
  863.             end
  864.             for i = 1, 3 do
  865.                 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)
  866.                 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)
  867.                 hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
  868.                 tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
  869.                 llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
  870.                 rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
  871.                 wait()
  872.             end
  873.         end
  874.         con1:disconnect()
  875.         con2:disconnect()
  876.         local MIDORA = Instance.new("Sound",char)
  877.         MIDORA.SoundId = "rbxassetid://291088797"
  878.         MIDORA.Looped = false
  879.         MIDORA:Play()
  880.         ORA:Stop()
  881.         end
  882.     end
  883.     if key == "r" and Attacking == false then
  884.         con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,4,2,math.random(100,100),"Knockdown",RootPart,.2,1) end)
  885.         Attacking = true
  886.         for i = 1, 3 do
  887.             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)
  888.             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)
  889.             hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  890.             tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  891.             llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  892.             rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  893.             wait()
  894.         end
  895.         local MIDORA = Instance.new("Sound",char)
  896.         MIDORA.SoundId = "rbxassetid://291088797"
  897.         MIDORA.Looped = false
  898.         MIDORA:Play()
  899.         wait(1)
  900.         con1:disconnect()
  901.         Attacking = false
  902.     end
  903.     if key == "g" and Attacking == false then
  904.         con1 = ram2.Touched:connect(function(hit)
  905.             Damagefunc(torso,hit,5,15,math.random(100,100),"Killer Queen",RootPart,.2,1)
  906.         end)
  907.         Attacking = true
  908.         for i = 1, 3 do
  909.             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)
  910.             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)
  911.             hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
  912.             tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
  913.             llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
  914.             rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
  915.             wait()
  916.         end
  917.         local MIDORA = Instance.new("Sound",char)
  918.         MIDORA.SoundId = "rbxassetid://291088797"
  919.         MIDORA.Looped = false
  920.         MIDORA:Play()
  921.         wait(1)
  922.         con1:disconnect()
  923.         Attacking = false
  924.     end
  925. end)
  926.  
  927. mouse.KeyUp:connect(function(key)
  928.     if key == "e" and Rapid == true or key == "v" and Rapid == true then
  929.         Rapid = false
  930.     end
  931. end)
  932.  
  933. for i, v in pairs(pchar:GetChildren()) do
  934.     if v:IsA('Hat') then
  935.         v.Handle.Transparency=1
  936.     end
  937.     if v:IsA("Part") then
  938.         v.BrickColor = BrickColor.new("Pearl")
  939.     end
  940. end
  941.  
  942. -------------------------------Sprint
  943. mouse.KeyDown:connect(function(key)
  944.     if string.byte(key) == 48 then
  945.         hum.WalkSpeed = 48
  946.     end
  947. end)
  948. mouse.KeyUp:connect(function(key)
  949.     if string.byte(key) == 48 then
  950.         hum.WalkSpeed=16
  951.     end
  952. end)
  953. -------------------------------------
  954. hum.FreeFalling:connect(function(f)
  955.     if f then
  956.         ffing=true
  957.     else
  958.         ffing=false
  959.     end
  960. end)
  961. StandOn = true
  962. local hrprv=0
  963. angle = 0
  964. angle2 = 0
  965. angle3 = 0
  966. anglespeed = 2
  967. anglespeed2 = 1
  968. anglespeed3 = .4
  969. MyHealth = hum.Health
  970. MyMaxHealth = hum.MaxHealth
  971. MyMaxHealth = humane.Health
  972. MyHealth = humane.Health
  973. humane.Name = "The Worldo"
  974. game:GetService("RunService").Stepped:connect(function()
  975.     angle = ((angle % 100) + anglespeed/10)
  976.     angle2 = ((angle2 % 100) + anglespeed2/10)
  977.     angle3 = ((angle3 % 100) + anglespeed3/10)
  978.         hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4)
  979.         sine=sine+1
  980.         if StandOn == false then
  981.             for i,v in pairs(pchar:children()) do
  982.                 if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  983.                     v.Transparency = 1
  984.                 end
  985.             end
  986.         elseif StandOn == true then
  987.             for i,v in pairs(pchar:children()) do
  988.                 if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  989.                     v.Transparency = 0
  990.                 end
  991.             end
  992.         end
  993.         MyHealth = humane.Health
  994.         humane.Health = MyHealth
  995.         if hum.Sit==true then
  996.                 animpose="Sitting"
  997.         elseif ffing==true then
  998.                 animpose="Freefalling"
  999.         elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then
  1000.                 animpose="Idle"
  1001.         elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then
  1002.                 animpose="Walking"
  1003.         elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then
  1004.                 animpose="Sprinting"
  1005.         end
  1006.         if Attacking == false then
  1007.             torso.CFrame = hrp.CFrame*CFrame.new(0,0,2)
  1008.             runKF(heid2)
  1009.             runKF(toid2)
  1010.             runKF(laid2)
  1011.             runKF(raid2)
  1012.             runKF(llid2)
  1013.             runKF(rlid2)
  1014.         end
  1015.         if noRig==false then
  1016.                 if animpose=="Idle" then
  1017.                     runKF(heid)
  1018.                     runKF(toid)
  1019.                     runKF(laid)
  1020.                     runKF(raid)
  1021.                     runKF(llid)
  1022.                     runKF(rlid)
  1023.                 elseif animpose=="Walking" then
  1024.                                 runKF(hewk)
  1025.                                 runKF(towk)
  1026.                                 runKF(lawk)
  1027.                                 runKF(rawk)
  1028.                                 runKF(llwk)
  1029.                                 runKF(rlwk)
  1030.                                 --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4)
  1031.                                 --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4)
  1032.                                 ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4)
  1033.                 elseif animpose=="Sprinting" then
  1034.                                 runKF(hesp)
  1035.                                 runKF(tosp)
  1036.                                 runKF(lasp)
  1037.                                 runKF(rasp)
  1038.                                 runKF(llsp)
  1039.                                 runKF(rlsp)
  1040.                                 --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
  1041.                                 --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4)
  1042.                                 --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4)
  1043.                 elseif animpose=="Freefalling" then
  1044.                         runKF(heff)
  1045.                         runKF(toff)
  1046.                         runKF(laff)
  1047.                         runKF(raff)
  1048.                         runKF(llff)
  1049.                         runKF(rlff)
  1050.                         --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
  1051.                 end
  1052.         end
  1053. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement