Advertisement
yoinkydoodlewastaken

probablywillbreak

Jul 29th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.79 KB | None | 0 0
  1. -->Made By XDavodioX<--
  2.  
  3. --=(Category = Fun, Fair(Kinda), Action, Quick)=--
  4.  
  5. --:Killer Queen:--
  6.  
  7. --//Unknown\\--
  8.  
  9. script:WaitForChild("Stand")
  10. script:WaitForChild("MoveList")
  11. script:WaitForChild("SheerHeartAttack")
  12. script:WaitForChild("TouchIndexer")
  13. script:WaitForChild("FeModule")
  14. local OriginalStand = script["Stand"]:Clone()
  15. local OriginalSHA = script["SheerHeartAttack"]:Clone()
  16. local OriginalTouchScript = script["TouchIndexer"]:Clone()
  17. wait(0.25)
  18. script["Stand"]:Destroy()
  19. script["SheerHeartAttack"]:Destroy()
  20.  
  21. require(script.FeModule)()
  22.  
  23. local StandName = "Killer Queen"
  24. local ModelCreator = "jojoFMer"
  25.  
  26. local Player = game:GetService("Players").LocalPlayer
  27. local Mouse = Player:GetMouse()
  28. local Character = Player.Character
  29. local Root = Character.HumanoidRootPart
  30. local LArm = Character:FindFirstChild("Left Arm") or Character:FindFirstChild("LeftUpperArm")
  31. local LLeg = Character:FindFirstChild("Left Leg") or Character:FindFirstChild("LeftUpperLeg")
  32. local RArm = Character:FindFirstChild("Right Arm") or Character:FindFirstChild("RightUpperArm")
  33. local RLeg = Character:FindFirstChild("Right Leg") or Character:FindFirstChild("RightUpperLeg")
  34. local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  35. local Head = Character.Head
  36. local Hum = Character:FindFirstChildOfClass("Humanoid")
  37. local RJ = Root:FindFirstChild("RootJoint") or Torso:FindFirstChild("Waist")
  38. local LAJ = Torso:FindFirstChild("Left Shoulder") or LArm:FindFirstChild("LeftShoulder")
  39. local LLJ = Torso:FindFirstChild("Left Hip") or LLeg:FindFirstChild("LeftHip")
  40. local RAJ = Torso:FindFirstChild("Right Shoulder") or RArm:FindFirstChild("RightShoulder")
  41. local RLJ = Torso:FindFirstChild("Right Hip") or RLeg:FindFirstChild("RightHip")
  42. local Neck = Torso:FindFirstChild("Neck") or Head:FindFirstChild("Neck")
  43.  
  44. script.Name = Player.Name.."'s "..StandName
  45.  
  46. local MoveList = script["MoveList"]
  47. MoveList.Parent = Player:FindFirstChildOfClass("PlayerGui")
  48. MoveList.Enabled = true
  49.  
  50. warn("Huge Credit to "..ModelCreator.." for the "..StandName.." Model! \nGo check them out!")
  51.  
  52. local AttackSpeed = 1
  53. local Sine = 0
  54.  
  55. local CurrentStand = nil
  56. local Move = false
  57. local BarrageDown = false
  58. local Anim = "Idle"
  59. local StrongPunching = false
  60. local NormalPunch = false
  61. local PunchAfterBarrage = false
  62. local ExplodeTarget = nil
  63. local CurrentTouchConnection = nil
  64. local TouchedPart = nil
  65. local StandUsers = {
  66. Player
  67. }
  68.  
  69. local AnimDefaults = {
  70. ["head"] = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  71. ["head1"] = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  72. ["tors"] = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  73. ["tors0"] = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  74. ["rarm"] = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  75. ["rarm1"] = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  76. ["larm"] = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  77. ["larm1"] = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  78. ["rleg"] = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  79. ["rleg1"] = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  80. ["lleg"] = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  81. ["lleg1"] = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  82. }
  83.  
  84. Hum.WalkSpeed = 22
  85. Hum.MaxHealth = 375
  86. Hum.Health = Hum.MaxHealth
  87.  
  88. function CreateSound(ID, Parent, Volume, Pitch, TimePos, Loop, StayForever, CustomName)
  89. local New = nil
  90. coroutine.resume(coroutine.create(function()
  91. New = Instance.new("Sound")
  92. New.Name = CustomName
  93. New.Parent = Parent
  94. New.Volume = Volume
  95. New.SoundId = "rbxassetid://"..ID
  96. New.Pitch = Pitch
  97. New.TimePosition = TimePos
  98. New.Looped = Loop
  99. if StayForever == false then
  100. New.Ended:Connect(function()
  101. New:Destroy()
  102. end)
  103. end
  104. New:Play()
  105. end))
  106. return New
  107. end
  108.  
  109. function CreateClientSound(ID, Parent, Volume, TimePosition, Pitch, DebrisTime)
  110. local NEWCLIENTSOUND = nil
  111. local NEWCLIENTSOUNDDATA = nil
  112. coroutine.resume(coroutine.create(function()
  113. NEWCLIENTSOUNDDATA = script["ClientSound"]
  114. local pt = NEWCLIENTSOUNDDATA:WaitForChild("SoundParent")
  115. local si = NEWCLIENTSOUNDDATA:WaitForChild("SoundID")
  116. local vo = NEWCLIENTSOUNDDATA:WaitForChild("SoundVolume")
  117. local pi = NEWCLIENTSOUNDDATA:WaitForChild("SoundPitch")
  118. local dt = NEWCLIENTSOUNDDATA:WaitForChild("DestroyTime")
  119. local tpo = NEWCLIENTSOUNDDATA:WaitForChild("TimePos")
  120. pt.Value = Parent
  121. si.Value = tonumber(ID)
  122. vo.Value = tonumber(Volume)
  123. pi.Value = tonumber(Pitch)
  124. dt.Value = tonumber(DebrisTime)
  125. tpo.Value = tonumber(TimePosition)
  126. NEWCLIENTSOUND = script["ClientSound"]:Clone()
  127. NEWCLIENTSOUND.Parent = Player:FindFirstChildOfClass("PlayerGui")
  128. NEWCLIENTSOUND.Disabled = false
  129. end))
  130. end
  131.  
  132. function Glue(a, b)
  133. local weldd = Instance.new("ManualWeld")
  134. weldd.Part0 = a
  135. weldd.Part1 = b
  136. weldd.C0 = CFrame.new()
  137. weldd.C1 = b.CFrame:inverse() * a.CFrame
  138. weldd.Parent = a
  139. return weldd
  140. end
  141.  
  142. function CheckTable(Table, Value, ValueIndex, Return)
  143. for Index,Val in pairs(Table) do
  144. if Val == Value then
  145. if Return == "Index" then
  146. return Index
  147. else
  148. if ValueIndex == 0 or ValueIndex == nil then
  149. return Val
  150. else
  151. return Val[ValueIndex]
  152. end
  153. end
  154. end
  155. end
  156. return nil
  157. end
  158.  
  159. function CheckTableWithValueIndex(Table, Value, ValueIndex, Return)
  160. for Index,Val in pairs(Table) do
  161. if Val[ValueIndex] == Value then
  162. if Return == "Index" then
  163. return Index
  164. else
  165. return Val[ValueIndex]
  166. end
  167. end
  168. end
  169. return nil
  170. end
  171.  
  172. function IsAHumanoid(Part)
  173. if Part:FindFirstAncestorWhichIsA("Model") then
  174. if Part:FindFirstAncestorWhichIsA("Model").Name == "Stand" then
  175. if Part:FindFirstAncestorWhichIsA("Model"):FindFirstAncestorWhichIsA("Model"):FindFirstChildOfClass("Humanoid") then
  176. return Part:FindFirstAncestorWhichIsA("Model"):FindFirstAncestorWhichIsA("Model")
  177. else
  178. return nil
  179. end
  180. end
  181. if Part:FindFirstAncestorWhichIsA("Model"):FindFirstChildOfClass("Humanoid") then
  182. return Part:FindFirstAncestorWhichIsA("Model")
  183. else
  184. return nil
  185. end
  186. else
  187. return nil
  188. end
  189. end
  190.  
  191. function IsAStand(Part)
  192. if Part:FindFirstAncestorWhichIsA("Model") then
  193. if Part:FindFirstAncestorWhichIsA("Model"):FindFirstChild("IsAStand") then
  194. if Part:FindFirstAncestorWhichIsA("Model").IsAStand.Value == true then
  195. return Part:FindFirstAncestorWhichIsA("Model")
  196. else
  197. return nil
  198. end
  199. else
  200. return nil
  201. end
  202. else
  203. return nil
  204. end
  205. end
  206.  
  207. function Lock(Character)
  208. for Index,Child in next, Character:GetChildren() do
  209. if Child:IsA("BasePart") then
  210. Child.Anchored = true
  211. end
  212. end
  213. end
  214.  
  215. function Unlock(Character)
  216. for Index,Child in next, Character:GetChildren() do
  217. if Child:IsA("BasePart") then
  218. Child.Anchored = false
  219. end
  220. end
  221. end
  222.  
  223. function CreateEffect(Parent, EffectType, EffectColor)
  224. if EffectType == "Ball" then
  225. local Ball = Instance.new("Part")
  226. Ball.Shape = Enum.PartType.Ball
  227. Ball.Name = StandName.."'s Effect"
  228. Ball.Color = EffectColor
  229. Ball.Material = Enum.Material.Neon
  230. Ball.Anchored = true
  231. Ball.CanCollide = false
  232. Ball.Transparency = 0
  233. Ball.Parent = Parent
  234. Ball.Size = Vector3.new(0.1,0.1,0.1)
  235. Ball.CFrame = Parent.CFrame * CFrame.new(math.random(-7,7)/10,math.random(-7,7)/10,math.random(-7,7)/10)
  236. coroutine.resume(coroutine.create(function()
  237. for i = 1, 50 do
  238. game:GetService("RunService").RenderStepped:Wait()
  239. Ball.Size = Ball.Size + Vector3.new(0.05,0.05,0.05)
  240. Ball.Transparency = Ball.Transparency + 0.02
  241. end
  242. Ball:Destroy()
  243. end))
  244. elseif EffectType == "Slice" then
  245. coroutine.resume(coroutine.create(function()
  246. for i = 1, 2 do
  247. local ZC = Instance.new("Part")
  248. ZC.Parent = Parent
  249. ZC.Size = Vector3.new(1,1,1)
  250. ZC.CanCollide = false
  251. ZC.Anchored = true
  252. ZC.Name = StandName.."'s Effect"
  253. ZC.CFrame = Parent.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.random(-4,4),math.random(-4,4),math.random(-4,4))
  254. ZC.Shape = Enum.PartType.Ball
  255. ZC.Material = Enum.Material.Neon
  256. ZC.Color = EffectColor
  257. local ZC2 = Instance.new("SpecialMesh",ZC)
  258. ZC2.MeshType = Enum.MeshType.Sphere
  259. ZC2.Scale = Vector3.new(2,0.7,0.3)
  260. coroutine.resume(coroutine.create(function()
  261. for i = 1,35 do
  262. game:GetService("RunService").RenderStepped:Wait()
  263. ZC2.Scale = ZC2.Scale + Vector3.new(0,0,0.4)
  264. ZC.Transparency = ZC.Transparency + 0.03
  265. end
  266. ZC:Destroy()
  267. end))
  268. end
  269. end))
  270. elseif EffectType == "BarrageArm" then
  271. local FadeArm = Parent:Clone()
  272. FadeArm.Anchored = true
  273. FadeArm.Color = EffectColor
  274. FadeArm.CFrame = FadeArm.CFrame * CFrame.new(math.random(-1,1), 0, math.random(-1.5,1.5))
  275. FadeArm.Name = StandName.."'s Barrage Arm"
  276. FadeArm:ClearAllChildren()
  277. FadeArm.Parent = CurrentStand
  278. coroutine.resume(coroutine.create(function()
  279. for i = 1,27 do
  280. game:GetService("RunService").RenderStepped:Wait()
  281. FadeArm.Transparency = FadeArm.Transparency + 0.06
  282. end
  283. FadeArm:Destroy()
  284. end))
  285. elseif EffectType == "PunchWave" then
  286. local WavePart = Instance.new("Part")
  287. WavePart.Anchored = true
  288. WavePart.CanCollide = false
  289. WavePart.Transparency = 0
  290. WavePart.Size = Vector3.new(0.5,0.5,0.5)
  291. WavePart.CFrame = Parent.CFrame * CFrame.new(math.random(-1,1), 0, math.random(-1.5,1.5))
  292. WavePart.Orientation = Vector3.new(90, CurrentStand.StandTorso.Orientation.Y, CurrentStand.StandTorso.Orientation.Z)
  293. WavePart.Name = StandName.."'s Wave Effect"
  294. WavePart.Parent = Parent
  295. WavePart.Color = EffectColor
  296. local Wave = Instance.new("SpecialMesh")
  297. Wave.Parent = WavePart
  298. Wave.MeshId = "rbxassetid://989468093"
  299. Wave.Scale = Vector3.new(0.35,0.05,0.35)
  300. coroutine.resume(coroutine.create(function()
  301. for i = 1,15 do
  302. game:GetService("RunService").RenderStepped:Wait()
  303. Wave.Scale = Wave.Scale + Vector3.new(0.25, 0, 0.25)
  304. end
  305. for i = 1,20 do
  306. game:GetService("RunService").RenderStepped:Wait()
  307. Wave.Scale = Wave.Scale + Vector3.new(0.17, 0, 0.17)
  308. WavePart.Transparency = WavePart.Transparency + 0.05
  309. end
  310. WavePart:Destroy()
  311. end))
  312. elseif EffectType == "Heal" then
  313. for i = 1, 2 do
  314. local Ball = Instance.new("Part")
  315. Ball.Shape = Enum.PartType.Ball
  316. Ball.Name = StandName.."'s Effect"
  317. Ball.Color = EffectColor
  318. Ball.Material = Enum.Material.ForceField
  319. Ball.Anchored = true
  320. Ball.CanCollide = false
  321. Ball.Transparency = 0
  322. Ball.Parent = Parent
  323. Ball.Size = Vector3.new(0.3,0.3,0.3)
  324. Ball.CFrame = Parent.CFrame
  325. coroutine.resume(coroutine.create(function()
  326. for i = 1, 68 do
  327. game:GetService("RunService").RenderStepped:Wait()
  328. Ball.Size = Ball.Size + Vector3.new(0.09,0.09,0.09)
  329. Ball.Transparency = Ball.Transparency + 0.017
  330. end
  331. Ball:Destroy()
  332. end))
  333. wait(0.17)
  334. end
  335. end
  336. end
  337.  
  338. function HitEffect(OriginalHit, Character, RootFrame, HitType)
  339. local Humanoid = Character:FindFirstChildOfClass("Humanoid")
  340. local HitTorso = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  341. CreateEffect(OriginalHit, "PunchWave", Color3.fromRGB(255, 255, 255))
  342. if HitType == "Barrage" then
  343. Humanoid.WalkSpeed = 3.5
  344. coroutine.resume(coroutine.create(function()
  345. wait(1.5)
  346. Humanoid.WalkSpeed = 16
  347. end))
  348. if Humanoid.Health < 12 and Humanoid.Health > 0 then
  349. Humanoid.Health = Humanoid.Health + 7.5
  350. PunchAfterBarrage = true
  351. Lock(Humanoid.Parent)
  352. end
  353. elseif HitType == "Strong" then
  354. Unlock(Humanoid.Parent)
  355. local Velo = Instance.new("BodyVelocity")
  356. Velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  357. Velo.P = 3000
  358. Velo.Velocity = RootFrame * CFrame.new(0,0,-195).p
  359. Velo.Parent = HitTorso
  360. coroutine.resume(coroutine.create(function()
  361. wait(0.1275)
  362. Velo:Destroy()
  363. end))
  364. elseif HitType == "Punch" then
  365. local Velo = Instance.new("BodyVelocity")
  366. Velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  367. Velo.P = 2500
  368. Velo.Velocity = RootFrame * CFrame.new(0,0,-65).p
  369. Velo.Parent = HitTorso
  370. coroutine.resume(coroutine.create(function()
  371. wait(0.11)
  372. Velo:Destroy()
  373. end))
  374. end
  375. end
  376.  
  377. function CreatePopUpGui(Parent, AnimationType, Text, TextColor)
  378. if AnimationType == "FadeOut" then
  379. local txt = Instance.new("BillboardGui")
  380. txt.Parent = Parent
  381. txt.Adornee = Parent
  382. txt.Name = StandName.."'s PopUp"
  383. txt.Size = UDim2.new(2, 0, 1.2, 0)
  384. txt.StudsOffset = Vector3.new(math.random(-5,-1) , math.random(0,2), math.random(-2,2))
  385. local text = Instance.new("TextLabel", txt)
  386. text.Size = UDim2.new(4, 0, 1.25, 0)
  387. text.TextScaled = true
  388. text.FontSize = Enum.FontSize.Size24
  389. text.TextSize = 26
  390. text.TextTransparency = 0
  391. text.BackgroundTransparency = 1
  392. text.TextStrokeTransparency = 1
  393. text.Font = Enum.Font.Fantasy
  394. text.Text = Text
  395. text.TextColor3 = TextColor
  396. coroutine.resume(coroutine.create(function()
  397. for i = 1,22 do
  398. game:GetService("RunService").RenderStepped:Wait()
  399. txt.StudsOffset = txt.StudsOffset + Vector3.new(0, 0.05, 0)
  400. end
  401. for i = 1,20 do
  402. game:GetService("RunService").RenderStepped:Wait()
  403. text.TextTransparency = text.TextTransparency + 0.05
  404. txt.StudsOffset = txt.StudsOffset - Vector3.new(0, 0.015, 0)
  405. end
  406. txt:Destroy()
  407. end))
  408. elseif AnimationType == "Jump" then
  409. local JumpDirection = math.random(1,2)
  410. local txt = Instance.new("BillboardGui")
  411. txt.Parent = Parent
  412. txt.Adornee = Parent
  413. txt.Name = StandName.."'s PopUp"
  414. txt.Size = UDim2.new(2, 0, 1.2, 0)
  415. txt.StudsOffset = Vector3.new(math.random(-5,-1) , math.random(3,5), math.random(-2,2))
  416. local text = Instance.new("TextLabel", txt)
  417. text.Size = UDim2.new(4, 0, 1.25, 0)
  418. text.TextScaled = true
  419. text.FontSize = Enum.FontSize.Size24
  420. text.TextSize = 26
  421. text.TextTransparency = 0
  422. text.BackgroundTransparency = 1
  423. text.TextStrokeTransparency = 1
  424. text.Font = Enum.Font.Fantasy
  425. text.Text = Text
  426. text.TextColor3 = TextColor
  427. if JumpDirection == 1 then
  428. coroutine.resume(coroutine.create(function()
  429. for i = 1,15 do
  430. game:GetService("RunService").RenderStepped:Wait()
  431. txt.StudsOffset = txt.StudsOffset + Vector3.new(0, 0.12, 0)
  432. end
  433. for i = 1,3 do
  434. game:GetService("RunService").RenderStepped:Wait()
  435. txt.StudsOffset = txt.StudsOffset - Vector3.new(0.009, -0.015, 0)
  436. text.Rotation = text.Rotation - 1.15
  437. end
  438. for i = 1,7 do
  439. game:GetService("RunService").RenderStepped:Wait()
  440. txt.StudsOffset = txt.StudsOffset - Vector3.new(0.045, 0.085, 0)
  441. text.TextTransparency = text.TextTransparency + 0.01
  442. text.Rotation = text.Rotation - 1.3
  443. end
  444. for i = 1,35 do
  445. game:GetService("RunService").RenderStepped:Wait()
  446. text.TextTransparency = text.TextTransparency + 0.05
  447. txt.StudsOffset = txt.StudsOffset - Vector3.new(0.055, 0.19, 0)
  448. text.Rotation = text.Rotation - 1.75
  449. end
  450. txt:Destroy()
  451. end))
  452. else
  453. coroutine.resume(coroutine.create(function()
  454. for i = 1,15 do
  455. game:GetService("RunService").RenderStepped:Wait()
  456. txt.StudsOffset = txt.StudsOffset + Vector3.new(0, 0.12, 0)
  457. end
  458. for i = 1,3 do
  459. game:GetService("RunService").RenderStepped:Wait()
  460. txt.StudsOffset = txt.StudsOffset - Vector3.new(-0.009, -0.015, 0)
  461. text.Rotation = text.Rotation + 1.15
  462. end
  463. for i = 1,7 do
  464. game:GetService("RunService").RenderStepped:Wait()
  465. txt.StudsOffset = txt.StudsOffset - Vector3.new(-0.045, 0.085, 0)
  466. text.TextTransparency = text.TextTransparency + 0.01
  467. text.Rotation = text.Rotation + 1.3
  468. end
  469. for i = 1,35 do
  470. game:GetService("RunService").RenderStepped:Wait()
  471. text.TextTransparency = text.TextTransparency + 0.04
  472. txt.StudsOffset = txt.StudsOffset - Vector3.new(-0.055, 0.19, 0)
  473. text.Rotation = text.Rotation + 1.75
  474. end
  475. txt:Destroy()
  476. end))
  477. end
  478. end
  479. end
  480.  
  481. function CreateHitBox(Cframe, Damage, Size, DebrisTime, Overwrite, Effect, HitSound, HitType, EffectColor)
  482. if Overwrite == true then
  483. if CurrentStand:FindFirstChild(StandName.."'s Hit Box") then
  484. CurrentStand[StandName.."'s Hit Box"]:Destroy()
  485. end
  486. end
  487. local HB = Instance.new("Part")
  488. HB.Orientation = Vector3.new(0, 90, 0)
  489. HB.Name = StandName.."'s Hit Box"
  490. HB.CanCollide = false
  491. HB.Massless = true
  492. HB.Size = Size
  493. HB.CFrame = Cframe
  494. HB.BrickColor = BrickColor.new("Really red")
  495. HB.Transparency = 1
  496. HB.Parent = CurrentStand
  497. local AnchoredV1 = Instance.new("BodyVelocity")
  498. AnchoredV1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  499. AnchoredV1.Parent = HB
  500. AnchoredV1.P = 3e9
  501. AnchoredV1.Velocity = Vector3.new(Cframe)
  502. local AnchoredV2 = Instance.new("BodyPosition")
  503. AnchoredV2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  504. AnchoredV2.Parent = HB
  505. AnchoredV2.Position = Vector3.new(Cframe)
  506. AnchoredV2.P = 3e9
  507. AnchoredV2.D = 3e9
  508. HB.Touched:Connect(function(Toucher)
  509. if IsAHumanoid(Toucher) and IsAHumanoid(Toucher) ~= Character and IsAHumanoid(Toucher):FindFirstChildOfClass("Humanoid").Health > 0 and IsAHumanoid(Toucher):FindFirstChild("JustGotHitten") == nil then
  510. game:GetService("Debris"):AddItem(HB, 0.05)
  511. local Humanoid = IsAHumanoid(Toucher):FindFirstChildOfClass("Humanoid")
  512. local HitTorso = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  513. local Val = Instance.new("BoolValue")
  514. Val.Name = "JustGotHitten"
  515. Val.Value = true
  516. Val.Parent = Humanoid.Parent
  517. game:GetService("Debris"):AddItem(Val, 0.05)
  518. if HitType ~= "Strong" then
  519. if Humanoid.Parent:FindFirstChild("CanDodge") then
  520. if Humanoid.Parent.CanDodge.Value == true then
  521. if Humanoid.Parent:FindFirstChild("GotHitButNot") then
  522. Humanoid.Parent.GotHitButNot:Destroy()
  523. end
  524. local Val = Instance.new("StringValue")
  525. Val.Name = "GotHitButNot"
  526. Val.Parent = Humanoid.Parent
  527. Val.Value = "Missed Hit"
  528. game:GetService("Debris"):AddItem(Val, 0.2)
  529. CreatePopUpGui(Toucher, "FadeOut", "Miss", Color3.fromRGB(199, 199, 199))
  530. return
  531. end
  532. end
  533. if Humanoid.Parent:FindFirstChild("ReturnStandDamage") then
  534. local Val = Instance.new("StringValue")
  535. Val.Name = "RTZActive"
  536. Val.Parent = Hum.Parent
  537. Val.Value = "Missed Hit"
  538. game:GetService("Debris"):AddItem(Val, 0.2)
  539. if Humanoid.Parent.ReturnStandDamage.Value == true then
  540. if Hum.MaxHealth > 10000 then
  541. Hum.Parent:BreakJoints()
  542. end
  543. coroutine.resume(coroutine.create(function()
  544. CreateEffect(Root, Effect, EffectColor)
  545. end))
  546. CreateSound(HitSound, Root, 3, math.random(95,113)/100, 0, false, false, "Hit SFX")
  547. if HitType == "Strong" then
  548. Hum.BreakJointsOnDeath = false
  549. end
  550. if Damage == "Instant Kill" then
  551. Hum.Parent:BreakJoints()
  552. CreatePopUpGui(Root, "Jump", tostring(Humanoid.MaxHealth), Color3.fromRGB(188, 0, 0))
  553. else
  554. Hum:TakeDamage(Damage)
  555. CreatePopUpGui(Root, "Jump", tostring(Damage), Color3.fromRGB(188, 0, 0))
  556. end
  557. HitEffect(Root, Hum.Parent, CurrentStand.RootPart.CFrame, HitType)
  558. return
  559. end
  560. end
  561. CreateSound(HitSound, Toucher, 3, math.random(95,113)/100, 0, false, false, "Hit SFX")
  562. if Humanoid.MaxHealth > 10000 then
  563. Humanoid.Parent:BreakJoints()
  564. end
  565. coroutine.resume(coroutine.create(function()
  566. CreateEffect(Toucher, Effect, EffectColor)
  567. end))
  568. if HitType == "Strong" then
  569. Humanoid.BreakJointsOnDeath = false
  570. end
  571. if Damage == "Instant Kill" then
  572. Humanoid.Parent:BreakJoints()
  573. CreatePopUpGui(Toucher, "Jump", tostring(Humanoid.MaxHealth), Color3.fromRGB(188, 0, 0))
  574. else
  575. Humanoid:TakeDamage(Damage)
  576. CreatePopUpGui(Toucher, "Jump", tostring(Damage), Color3.fromRGB(188, 0, 0))
  577. end
  578. HitEffect(Toucher, Humanoid.Parent, CurrentStand.RootPart.CFrame, HitType)
  579. else
  580. if Humanoid.Parent:FindFirstChild("CanDodge") then
  581. if Humanoid.Parent.CanDodge.Value == true then
  582. if Humanoid.Parent:FindFirstChild("GotHitButNot") then
  583. Humanoid.Parent.GotHitButNot:Destroy()
  584. end
  585. local Val = Instance.new("StringValue")
  586. Val.Name = "GotHitButNot"
  587. Val.Parent = Humanoid.Parent
  588. Val.Value = "Missed Hit"
  589. game:GetService("Debris"):AddItem(Val, 0.2)
  590. CreatePopUpGui(Toucher, "FadeOut", "Miss", Color3.fromRGB(199, 199, 199))
  591. return
  592. end
  593. end
  594. if Humanoid.Parent:FindFirstChild("ReturnStandDamage") then
  595. local Val = Instance.new("StringValue")
  596. Val.Name = "RTZActive"
  597. Val.Parent = Hum.Parent
  598. Val.Value = "Missed Hit"
  599. game:GetService("Debris"):AddItem(Val, 0.2)
  600. if Humanoid.Parent.ReturnStandDamage.Value == true then
  601. if Hum.MaxHealth > 10000 then
  602. Hum.Parent:BreakJoints()
  603. end
  604. coroutine.resume(coroutine.create(function()
  605. CreateEffect(Root, Effect, EffectColor)
  606. end))
  607. CreateSound(HitSound, Root, 3, math.random(95,113)/100, 0, false, false, "Hit SFX")
  608. if HitType == "Strong" then
  609. Hum.BreakJointsOnDeath = false
  610. end
  611. if Damage == "Instant Kill" then
  612. Hum.Parent:BreakJoints()
  613. CreatePopUpGui(Root, "Jump", tostring(Humanoid.MaxHealth), Color3.fromRGB(188, 0, 0))
  614. else
  615. Hum:TakeDamage(Damage)
  616. CreatePopUpGui(Root, "Jump", tostring(Damage), Color3.fromRGB(188, 0, 0))
  617. end
  618. HitEffect(Root, Hum.Parent, CurrentStand.RootPart.CFrame, HitType)
  619. return
  620. end
  621. end
  622. CreateSound(HitSound, Toucher, 3, math.random(95,113)/100, 0, false, false, "Hit SFX")
  623. ExplodeTarget = Humanoid.Parent
  624. coroutine.resume(coroutine.create(function()
  625. CreateEffect(Toucher, Effect, EffectColor)
  626. end))
  627. if HitType == "Strong" then
  628. Humanoid.BreakJointsOnDeath = false
  629. end
  630. Humanoid:TakeDamage(50)
  631. CreatePopUpGui(Toucher, "Jump", tostring(50), Color3.fromRGB(188, 0, 0))
  632. HitEffect(Toucher, Humanoid.Parent, CurrentStand.RootPart.CFrame, "Punch")
  633. end
  634. end
  635. end)
  636. game:GetService("Debris"):AddItem(HB, DebrisTime)
  637. return HB
  638. end
  639.  
  640. function Stand()
  641. Move = true
  642. if CurrentStand == nil then
  643. CurrentStand = OriginalStand:Clone()
  644. CreateSound(2652080817, Head, 5, 1, 0, false, false, "Stand Call")
  645. for Index,Child in next, CurrentStand:GetDescendants() do
  646. if Child:IsA("BasePart") or Child:IsA("Decal") then
  647. Child.Transparency = 1
  648. end
  649. end
  650. CurrentStand:SetPrimaryPartCFrame(Root.CFrame)
  651. CurrentStand.Parent = Head
  652. for Index,Child in next, CurrentStand:GetDescendants() do
  653. if (Child:IsA("BasePart") or Child:IsA("Decal")) and Child.Name ~= "RootPart" and Child.Name ~= "FacePart" and Child.Parent ~= CurrentStand then
  654. coroutine.resume(coroutine.create(function(Part)
  655. for i = 1, 25 do
  656. game:GetService("RunService").RenderStepped:Wait()
  657. Part.Transparency = Part.Transparency - 0.04
  658. end
  659. Part.Transparency = 0
  660. end), Child)
  661. end
  662. end
  663. CreateSound(3426347398, CurrentStand.PrimaryPart, 4.7, math.random(97,103)/100, 0, false, false, "Stand Appear")
  664. for i = 0,1,0.02 do
  665. game:GetService("RunService").RenderStepped:Wait()
  666. CurrentStand.PrimaryPart.CFrame = CurrentStand.PrimaryPart.CFrame:Lerp(Root.CFrame * CFrame.new(-2, 1.3, 2.5), i)
  667. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.new(0, 0, 0.8*math.sin(Sine/75))*CFrame.Angles(math.rad(-6.016), 0, math.rad(-21.028)), 0.23)
  668. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(-0.004, 0.04, 0.002) * CFrame.Angles(math.rad(-5.329), math.rad(8.938), math.rad(5.042)), 0.23)
  669. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.04, 0.074, -0.058) * CFrame.Angles(math.rad(-8.193), math.rad(-11.918), math.rad(-5.042)), 0.23)
  670. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(-0.01, 0.099, 0.004) * CFrame.Angles(math.rad(101.414), math.rad(-20.626), math.rad(-29.794)), 0.23)
  671. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(-0.008, 0.218, -0.083) * CFrame.Angles(math.rad(49.045), math.rad(11.058), math.rad(8.193)), 0.23)
  672. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.Angles(math.rad(5.787), math.rad(2.464), math.rad(16.845)), 1)
  673. end
  674. else
  675. for Index,Child in next, CurrentStand:GetDescendants() do
  676. if Child:IsA("BasePart") or Child:IsA("Decal") then
  677. coroutine.resume(coroutine.create(function(Part)
  678. for i = 1, 20 do
  679. game:GetService("RunService").RenderStepped:Wait()
  680. Part.Transparency = Part.Transparency + 0.05
  681. end
  682. Part.Transparency = 1
  683. end), Child)
  684. end
  685. end
  686. for i = 0,1,0.02 do
  687. game:GetService("RunService").RenderStepped:Wait()
  688. CurrentStand.PrimaryPart.CFrame = CurrentStand.PrimaryPart.CFrame:Lerp(Root.CFrame, i)
  689. end
  690. wait(0.01)
  691. CurrentStand:Destroy()
  692. CurrentStand = nil
  693. end
  694. Move = false
  695. end
  696.  
  697. function Barrage(Times, NeutralStop, BarrageSFX, External)
  698. if CurrentStand == nil then
  699. return
  700. end
  701. Move = true
  702. local WalkSpeed = Hum.WalkSpeed
  703. Hum.WalkSpeed = 10
  704. local Done = false
  705. local Repeat = Times
  706. local BarrageSound = CreateSound(BarrageSFX, CurrentStand.Head, 4.25, 1, 0.275, not NeutralStop, not NeutralStop, "Barrage Shout")
  707. BarrageSound.Ended:Connect(function()
  708. if NeutralStop == true then
  709. Done = true
  710. end
  711. end)
  712. if NeutralStop == false and External == true then
  713. coroutine.resume(coroutine.create(function()
  714. while BarrageSound do
  715. game:GetService("RunService").RenderStepped:Wait()
  716. if BarrageSound.TimePosition > 4.25 then
  717. BarrageSound:Pause()
  718. BarrageSound.TimePosition = 2.1
  719. BarrageSound:Resume()
  720. end
  721. end
  722. end))
  723. end
  724. local AttachmentLeft1 = Instance.new("Attachment")
  725. AttachmentLeft1.Parent = CurrentStand["Left Arm"]
  726. AttachmentLeft1.Position = Vector3.new(0,-2.5,0)
  727. local AttachmentLeft2 = Instance.new("Attachment")
  728. AttachmentLeft2.Parent = CurrentStand["Left Arm"]
  729. AttachmentLeft2.Position = Vector3.new(0,2.5,0)
  730. local AttachmentRight1 = Instance.new("Attachment")
  731. AttachmentRight1.Parent = CurrentStand["Right Arm"]
  732. AttachmentRight1.Position = Vector3.new(0,-2.5,0)
  733. local AttachmentRight2 = Instance.new("Attachment")
  734. AttachmentRight2.Parent = CurrentStand["Right Arm"]
  735. AttachmentRight2.Position = Vector3.new(0,2.5,0)
  736. local TrailLeft = Instance.new("Trail")
  737. TrailLeft.Parent = CurrentStand["Left Arm"]
  738. TrailLeft.Lifetime = 0.05
  739. TrailLeft.LightEmission = 0.8
  740. TrailLeft.Transparency = NumberSequence.new(0.7)
  741. TrailLeft.Attachment0 = AttachmentLeft1
  742. TrailLeft.Attachment1 = AttachmentLeft2
  743. local TrailRight = Instance.new("Trail")
  744. TrailRight.Parent = CurrentStand["Right Arm"]
  745. TrailRight.Lifetime = 0.05
  746. TrailRight.LightEmission = 0.8
  747. TrailRight.Transparency = NumberSequence.new(0.7)
  748. TrailRight.Attachment0 = AttachmentRight1
  749. TrailRight.Attachment1 = AttachmentRight2
  750. repeat
  751. game:GetService("RunService").RenderStepped:Wait()
  752. Repeat = Repeat - 1
  753. CreateHitBox(CurrentStand.PrimaryPart.CFrame * CFrame.new(0, 0, -2.35), math.random(4,9), Vector3.new(4.2,3.4,4), 0.35, true, "Ball", 2974875851, "Barrage", Color3.fromRGB(255, 255, 255))
  754. for i = 0,1,0.225*AttackSpeed/0.75 do
  755. game:GetService("RunService").RenderStepped:Wait()
  756. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(28.018), math.rad(-4.526), math.rad(-8.48)), i)
  757. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(0.056, -0.008, 0.011) * CFrame.Angles(math.rad(3.667), math.rad(6.646), math.rad(13.923)), i)
  758. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.952, 0.496, -0.141) * CFrame.Angles(math.rad(-5.73), math.rad(6.933), math.rad(-12.261)), i)
  759. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(-1.587, 0.561, -0.296) * CFrame.Angles(math.rad(-19.996), math.rad(-32.143), math.rad(-108.862)), i)
  760. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(-1.515, -0.375, 0.297) * CFrame.Angles(math.rad(-4.412), math.rad(5.214), math.rad(108.518)), i)
  761. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.new(0.049, 0.007, -0.004) * CFrame.Angles(math.rad(-23.377), math.rad(0.745), math.rad(8.308)), i)
  762. end
  763. CreateEffect(CurrentStand["Left Arm"], "BarrageArm", CurrentStand["Left Arm"].Color)
  764. CreateHitBox(CurrentStand.PrimaryPart.CFrame * CFrame.new(0, 0, -2.35), math.random(4,9), Vector3.new(4.2,3.4,4), 0.35, true, "Ball", 2974875851, "Barrage", Color3.fromRGB(255, 255, 255))
  765. for i = 0,1,0.225*AttackSpeed/0.75 do
  766. game:GetService("RunService").RenderStepped:Wait()
  767. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(27.846), math.rad(5.73), math.rad(10.714)), i)
  768. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(-0.057, 0.038, -0.01) * CFrame.Angles(math.rad(-2.693), math.rad(-5.157), math.rad(15.069)), i)
  769. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.927, 0.471, 0.061) * CFrame.Angles(math.rad(1.318), math.rad(-4.813), math.rad(-12.892)), i)
  770. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(1.596, -0.316, 0.111) * CFrame.Angles(math.rad(-1.776), math.rad(-3.037), math.rad(-103.075)), i)
  771. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(1.659, 0.498, -0.516) * CFrame.Angles(math.rad(-19.079), math.rad(38.961), math.rad(106.284)), i)
  772. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.new(-0.117, 0.022, -0.012) * CFrame.Angles(math.rad(-23.377), math.rad(-0.917), math.rad(-10.084)), i)
  773. end
  774. CreateEffect(CurrentStand["Right Arm"], "BarrageArm", CurrentStand["Right Arm"].Color)
  775. until Repeat < 0 or Repeat == 0 or BarrageDown == false or Done == true
  776. BarrageSound:Destroy()
  777. Hum.WalkSpeed = WalkSpeed
  778. AttachmentLeft1:Destroy()
  779. AttachmentLeft2:Destroy()
  780. AttachmentRight1:Destroy()
  781. AttachmentRight2:Destroy()
  782. TrailLeft:Destroy()
  783. TrailRight:Destroy()
  784. if PunchAfterBarrage == false then
  785. for i = 0,1,0.3 do
  786. game:GetService("RunService").RenderStepped:Wait()
  787. CurrentStand.PrimaryPart.CFrame = CurrentStand.PrimaryPart.CFrame:Lerp(Root.CFrame * CFrame.new(-2, 1.3, 3), 0.3)
  788. end
  789. Move = false
  790. else
  791. StrongPunch()
  792. PunchAfterBarrage = false
  793. end
  794. end
  795.  
  796. function Punch()
  797. if CurrentStand == nil then
  798. return
  799. end
  800. Move = true
  801. NormalPunch = true
  802. local WalkSpeed = Hum.WalkSpeed
  803. Hum.WalkSpeed = 9
  804. for i = 0,1,0.165*AttackSpeed/0.75 do
  805. game:GetService("RunService").RenderStepped:Wait()
  806. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(35.008), math.rad(0.172), math.rad(-1.547)), i)
  807. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(0.055, -0.008, -0.009) * CFrame.Angles(math.rad(2.75), math.rad(5.386), math.rad(14.037)), i)
  808. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.977, 0.511, -0.028) * CFrame.Angles(math.rad(-3.037), math.rad(3.151), math.rad(-12.662)), i)
  809. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(0.435, -0.129, 0.287) * CFrame.Angles(math.rad(156.188), math.rad(60.103), math.rad(129.145)), i)
  810. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.137, 0.072, 0.013) * CFrame.Angles(math.rad(-2.005), math.rad(61.249), math.rad(81.074)), i)
  811. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.new(0.049, 0.007, -0.004) * CFrame.Angles(math.rad(-23.377), math.rad(0.573), math.rad(7.678)), i)
  812. end
  813. CreateSound(138097048, CurrentStand.PrimaryPart, 6.5, math.random(97,108)/100, 0, false, false, "Woosh")
  814. coroutine.resume(coroutine.create(function()
  815. wait(0.06)
  816. CreateHitBox(CurrentStand.PrimaryPart.CFrame * CFrame.new(0, 0, -2.35), math.random(35,50), Vector3.new(4.2,3.4,4), 0.35, true, "Ball", 2974875851, "Punch", Color3.fromRGB(255, 255, 255))
  817. end))
  818. for i = 0,1,0.1*AttackSpeed/0.75 do
  819. game:GetService("RunService").RenderStepped:Wait()
  820. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(33.289), math.rad(-11.631), math.rad(-18.908)), i)
  821. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(0.056, -0.008, 0.011) * CFrame.Angles(math.rad(11.918), math.rad(17.704), math.rad(12.089)), i)
  822. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.971, 0.512, -0.238) * CFrame.Angles(math.rad(-10.6), math.rad(13.522), math.rad(-11.173)), i)
  823. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(-0.351, 0.091, -0.295) * CFrame.Angles(math.rad(-15.47), math.rad(-34.779), math.rad(-105.482)), i)
  824. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.145, 0.078, 0.013) * CFrame.Angles(math.rad(-30.309), math.rad(-14.897), math.rad(5.157)), i)
  825. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.new(0.049, 0.007, -0.004) * CFrame.Angles(math.rad(-24.465), math.rad(4.183), math.rad(25.783)), i)
  826. end
  827. for i = 0,1,0.2*AttackSpeed/0.75 do
  828. game:GetService("RunService").RenderStepped:Wait()
  829. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(35.008), math.rad(0.172), math.rad(-1.547)), i)
  830. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(0.055, -0.008, -0.009) * CFrame.Angles(math.rad(2.75), math.rad(5.386), math.rad(14.037)), i)
  831. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.977, 0.511, -0.028) * CFrame.Angles(math.rad(-3.037), math.rad(3.151), math.rad(-12.662)), i)
  832. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(0.435, -0.129, 0.287) * CFrame.Angles(math.rad(156.188), math.rad(60.103), math.rad(129.145)), i)
  833. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.137, 0.072, 0.013) * CFrame.Angles(math.rad(-2.005), math.rad(61.249), math.rad(81.074)), i)
  834. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.new(0.049, 0.007, -0.004) * CFrame.Angles(math.rad(-23.377), math.rad(0.573), math.rad(7.678)), i)
  835. end
  836. NormalPunch = false
  837. Hum.WalkSpeed = WalkSpeed
  838. for i = 0,1,0.3 do
  839. game:GetService("RunService").RenderStepped:Wait()
  840. CurrentStand.PrimaryPart.CFrame = CurrentStand.PrimaryPart.CFrame:Lerp(Root.CFrame * CFrame.new(-2, 1.3, 3), 0.3)
  841. end
  842. Move = false
  843. end
  844.  
  845. function StrongPunch()
  846. if CurrentStand == nil then
  847. return
  848. end
  849. Move = true
  850. StrongPunching = true
  851. local WalkSpeed = Hum.WalkSpeed
  852. Hum.WalkSpeed = 7
  853. CreateSound(2500596035, CurrentStand.Head, 6.5, math.random(97,105)/100, 0.01, false, false, "Strong Shout")
  854. for i = 0,1,0.15*AttackSpeed/0.75 do
  855. game:GetService("RunService").RenderStepped:Wait()
  856. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(35.008), math.rad(0.172), math.rad(-1.547)), i)
  857. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(0.055, -0.008, -0.009) * CFrame.Angles(math.rad(2.75), math.rad(5.386), math.rad(14.037)), i)
  858. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.977, 0.511, -0.028) * CFrame.Angles(math.rad(-3.037), math.rad(3.151), math.rad(-12.662)), i)
  859. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(0.571, -0.22, 0.493) * CFrame.Angles(math.rad(152.922), math.rad(46.238), math.rad(119.462)), i)
  860. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.306, 0.057, 0.008) * CFrame.Angles(math.rad(2.807), math.rad(66.349), math.rad(84.74)), i)
  861. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.new(0.049, 0.007, -0.004) * CFrame.Angles(math.rad(-23.377), math.rad(0.573), math.rad(7.678)), i)
  862. end
  863. coroutine.resume(coroutine.create(function()
  864. wait(0.06)
  865. CreateHitBox(CurrentStand.PrimaryPart.CFrame * CFrame.new(0, 0, -2.35), "Instant Kill", Vector3.new(4.2,3.4,4), 0.35, true, "Slice", 2319521125, "Strong", Color3.fromRGB(255, 255, 255))
  866. end))
  867. for i = 0,1,0.029*AttackSpeed/0.75 do
  868. game:GetService("RunService").RenderStepped:Wait()
  869. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(33.289), math.rad(-11.631), math.rad(-18.908)), i)
  870. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(0.056, -0.008, 0.011) * CFrame.Angles(math.rad(11.918), math.rad(17.704), math.rad(12.089)), i)
  871. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.971, 0.512, -0.238) * CFrame.Angles(math.rad(-10.6), math.rad(13.522), math.rad(-11.173)), i)
  872. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(-0.615, 0.279, -0.164) * CFrame.Angles(math.rad(-9.683), math.rad(-21.772), math.rad(-98.721)), i)
  873. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.145, 0.078, 0.013) * CFrame.Angles(math.rad(-30.309), math.rad(-14.897), math.rad(5.157)), i)
  874. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.new(0.049, 0.007, -0.004) * CFrame.Angles(math.rad(-24.465), math.rad(4.183), math.rad(25.783)), i)
  875. end
  876. for i = 0,1,0.2*AttackSpeed/0.75 do
  877. game:GetService("RunService").RenderStepped:Wait()
  878. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(35.008), math.rad(0.172), math.rad(-1.547)), i)
  879. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(0.055, -0.008, -0.009) * CFrame.Angles(math.rad(2.75), math.rad(5.386), math.rad(14.037)), i)
  880. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.977, 0.511, -0.028) * CFrame.Angles(math.rad(-3.037), math.rad(3.151), math.rad(-12.662)), i)
  881. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(0.571, -0.22, 0.493) * CFrame.Angles(math.rad(152.922), math.rad(46.238), math.rad(119.462)), i)
  882. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.306, 0.057, 0.008) * CFrame.Angles(math.rad(2.807), math.rad(66.349), math.rad(84.74)), i)
  883. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.new(0.049, 0.007, -0.004) * CFrame.Angles(math.rad(-23.377), math.rad(0.573), math.rad(7.678)), i)
  884. end
  885. StrongPunching = false
  886. Hum.WalkSpeed = WalkSpeed
  887. for i = 0,1,0.3 do
  888. game:GetService("RunService").RenderStepped:Wait()
  889. CurrentStand.PrimaryPart.CFrame = CurrentStand.PrimaryPart.CFrame:Lerp(Root.CFrame * CFrame.new(-2, 1.3, 3), 0.3)
  890. end
  891. Move = false
  892. end
  893.  
  894. function SpawnSHA()
  895. local SHA = OriginalSHA:Clone()
  896. SHA.Name = Player.Name.."'s SHA"
  897. SHA.Stats.Ignore.Value = Character
  898. SHA.CFrame = Root.CFrame
  899. SHA.Parent = workspace
  900. SHA.Controller.Disabled = false
  901. CreateSound(610470183, SHA, 10, 1, 0, false, false, "SHA Voiceline")
  902. end
  903.  
  904. function TouchConnector(Object)
  905. if CurrentTouchConnection ~= nil then
  906. CurrentTouchConnection:Disconnect()
  907. if TouchedPart ~= nil then
  908. local Script = OriginalTouchScript:Clone()
  909. Script["RemoveIt"].Value = true
  910. Script.Object.Value = TouchedPart
  911. Script.Parent = Player:FindFirstChildOfClass("PlayerGui")
  912. Script.Disabled = false
  913. game:GetService("Debris"):AddItem(Script, 0.25)
  914. end
  915. TouchedPart = nil
  916. end
  917. local Script = OriginalTouchScript:Clone()
  918. Script["RemoveIt"].Value = false
  919. Script.Object.Value = Object
  920. Script.Parent = Player:FindFirstChildOfClass("PlayerGui")
  921. Script.Disabled = false
  922. game:GetService("Debris"):AddItem(Script, 0.25)
  923. TouchedPart = Object
  924. local DidTouched = false
  925. CurrentTouchConnection = Object.Touched:Connect(function(Toucher)
  926. if IsAHumanoid(Toucher) and IsAHumanoid(Toucher) ~= Character and Toucher ~= Object.Parent and DidTouched == false then
  927. if workspace:FindFirstChild("IsTimeStopped") then
  928. if workspace.IsTimeStopped.Value ~= Player.Name then
  929. return
  930. end
  931. end
  932. DidTouched = true
  933. CreateSound(2652080817, Head, 5, 1, 0, false, false, "Killer Queen")
  934. Explode(IsAHumanoid(Toucher))
  935. local Script = OriginalTouchScript:Clone()
  936. Script["RemoveIt"].Value = true
  937. Script.Object.Value = Object
  938. Script.Parent = Player:FindFirstChildOfClass("PlayerGui")
  939. Script.Disabled = false
  940. game:GetService("Debris"):AddItem(Script, 0.25)
  941. CurrentTouchConnection:Disconnect()
  942. TouchedPart = nil
  943. CurrentTouchConnection = nil
  944. end
  945. end)
  946. Object:GetPropertyChangedSignal("Parent"):Connect(function()
  947. if Object == nil or Object.Parent == nil then
  948. CurrentTouchConnection:Disconnect()
  949. TouchedPart = nil
  950. CurrentTouchConnection = nil
  951. end
  952. end)
  953. end
  954.  
  955. function Touching()
  956. if CurrentStand == nil then
  957. return
  958. end
  959. Move = true
  960. StrongPunching = true
  961. local Touched = false
  962. local Hitbox = Instance.new("Part")
  963. Hitbox.Size = Vector3.new(2.25, 2.25, 2.25)
  964. Hitbox.Transparency = 1
  965. Hitbox.CFrame = Root.CFrame * CFrame.new(1, 0.75, -5.25)
  966. Hitbox.Name = StandName.."'s HitBox"
  967. Hitbox.Massless = true
  968. Hitbox.CanCollide = false
  969. Hitbox.Anchored = false
  970. Hitbox.Parent = CurrentStand
  971. local AnchoredV1 = Instance.new("BodyVelocity")
  972. AnchoredV1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  973. AnchoredV1.Parent = Hitbox
  974. AnchoredV1.P = 3e9
  975. AnchoredV1.Velocity = Vector3.new(Hitbox.CFrame)
  976. local AnchoredV2 = Instance.new("BodyPosition")
  977. AnchoredV2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  978. AnchoredV2.Parent = Hitbox
  979. AnchoredV2.Position = Vector3.new(Hitbox.CFrame)
  980. AnchoredV2.P = 3e9
  981. AnchoredV2.D = 3e9
  982. game:GetService("Debris"):AddItem(Hitbox, 0.5)
  983. local TempTouchConnection = Hitbox.Touched:Connect(function(Toucher)
  984. if not Toucher:IsDescendantOf(Character) and not Toucher:IsA("Terrain") and Touched == false then
  985. Touched = true
  986. TouchConnector(Toucher)
  987. end
  988. end)
  989. for i = 0,1,0.03925*AttackSpeed/0.75 do
  990. game:GetService("RunService").RenderStepped:Wait()
  991. if Hitbox ~= nil then
  992. Hitbox.CFrame = Root.CFrame * CFrame.new(1, 0.75, -5.25)
  993. end
  994. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(0, 0, math.rad(59.989)), i)
  995. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.Angles(math.rad(-4.756), 0, math.rad(8.537)), i)
  996. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.Angles(math.rad(-6.933), math.rad(-0.115), math.rad(-1.719)), i)
  997. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.Angles(math.rad(-8.824), math.rad(4.584), math.rad(5.844)), i)
  998. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.368, -0.47, 0.458) * CFrame.Angles(math.rad(-90.126), math.rad(-7.105), math.rad(28.82)), i)
  999. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.Angles(0, 0, math.rad(-34.95)), i)
  1000. end
  1001. coroutine.resume(coroutine.create(function()
  1002. wait(1)
  1003. TempTouchConnection:Disconnect()
  1004. end))
  1005. StrongPunching = false
  1006. Move = false
  1007. end
  1008.  
  1009. function StandJump()
  1010. if CurrentStand == nil then
  1011. return
  1012. end
  1013. if Hum.FloorMaterial == nil or Hum.FloorMaterial == "" or Hum.FloorMaterial == Enum.Material.Air then
  1014. return
  1015. end
  1016. for i = 1, 3 do
  1017. local EffectPart = Instance.new("Part")
  1018. EffectPart.Anchored = true
  1019. EffectPart.Transparency = 1
  1020. EffectPart.Size = Vector3.new(1,1,1)
  1021. EffectPart.CFrame = RLeg.CFrame
  1022. EffectPart.Parent = Character
  1023. game:GetService("Debris"):AddItem(EffectPart, 1.5)
  1024. CreateEffect(EffectPart, "Slice", Color3.fromRGB(127, 127, 127))
  1025. end
  1026. local Bod = Instance.new("BodyPosition",Root)
  1027. Bod.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1028. Bod.Position = Root.CFrame * CFrame.new(0,80,-80).p
  1029. wait(0.1)
  1030. Bod:Destroy()
  1031. end
  1032.  
  1033. function Explode(Target)
  1034. local CurrentTarget = Target
  1035. ExplodeTarget = nil
  1036. if CurrentStand == nil then
  1037. Stand()
  1038. end
  1039. Move = true
  1040. for i = 0,1,0.06*AttackSpeed/0.75 do
  1041. game:GetService("RunService").RenderStepped:Wait()
  1042. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(-6.016), 0, math.rad(-21.028)), i)
  1043. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(-0.004, 0.04, 0.002) * CFrame.Angles(math.rad(-5.329), math.rad(8.938), math.rad(5.042)), i)
  1044. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.04, 0.074, -0.058) * CFrame.Angles(math.rad(-8.193), math.rad(-11.918), math.rad(-5.042)), i)
  1045. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(0.002, -0.02, -0.001) * CFrame.Angles(math.rad(-8.365), math.rad(-1.203), math.rad(3.151)), i)
  1046. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.892, 0.5, 0.128) * CFrame.Angles(math.rad(96.429), math.rad(3.438), math.rad(37.586)), i)
  1047. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.Angles(math.rad(5.844), math.rad(2.406), math.rad(-1.203)), i)
  1048. end
  1049. CreateSound(920181099, CurrentStand.Head, 8.5, 1, 0, false, false, "KQ Click")
  1050. spawn(function()
  1051. wait(0.45)
  1052. coroutine.resume(coroutine.create(function()
  1053. for Index, Child in next, CurrentTarget:GetChildren() do
  1054. if Child:IsA("BasePart") then
  1055. coroutine.wrap(function()
  1056. local Repeats = 0
  1057. local X = Child.Size.X
  1058. local Y = Child.Size.Y
  1059. local Z = Child.Size.Z
  1060. repeat
  1061. game:GetService("RunService").Heartbeat:Wait()
  1062. Repeats = Repeats + 1
  1063. Child.Size = Vector3.new(X+(math.random(-5,5)/10), Y+(math.random(-5,5)/10), Z+(math.random(-5,5)/10))
  1064. until Repeats > 30 or Child == nil
  1065. end)()
  1066. end
  1067. end
  1068. wait(0.825)
  1069. CurrentTarget:BreakJoints()
  1070. end))
  1071. CreateSound(2686077452, CurrentTarget.Head, 10, 1, 0, false, false, "SHA Explode")
  1072. coroutine.resume(coroutine.create(function()
  1073. wait(1)
  1074. local Exp = Instance.new("Explosion")
  1075. Exp.BlastPressure = 150
  1076. Exp.BlastRadius = 0
  1077. Exp.ExplosionType = Enum.ExplosionType.NoCraters
  1078. Exp.Position = CurrentTarget.Head.Position
  1079. Exp.Parent = CurrentTarget.Head
  1080. game:GetService("Debris"):AddItem(Exp, 3)
  1081. end))
  1082. end)
  1083. for i = 0,1,0.0525*AttackSpeed/0.75 do
  1084. game:GetService("RunService").RenderStepped:Wait()
  1085. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.Angles(math.rad(-6.016), 0, math.rad(-21.028)), i)
  1086. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(-0.004, 0.04, 0.002) * CFrame.Angles(math.rad(-5.329), math.rad(8.938), math.rad(5.042)), i)
  1087. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.04, 0.074, -0.058) * CFrame.Angles(math.rad(-8.193), math.rad(-11.918), math.rad(-5.042)), i)
  1088. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(0.002, -0.02, -0.001) * CFrame.Angles(math.rad(-8.365), math.rad(-1.203), math.rad(3.151)), i)
  1089. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(0.895, 0.433, -0.012) * CFrame.Angles(math.rad(74.485), math.rad(-9.626), math.rad(30.424)), i)
  1090. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.Angles(math.rad(14.324), math.rad(5.615), math.rad(-1.776)), i)
  1091. end
  1092. Move = false
  1093. end
  1094.  
  1095. function DodgeAnimation()
  1096. if Character:FindFirstChild("GotHitButNot") then
  1097. Character.GotHitButNot:Destroy()
  1098. end
  1099. local RandomDirection = math.random(1,2)
  1100. if Hum.RigType ~= Enum.HumanoidRigType.R15 then
  1101. if RandomDirection == 1 then
  1102. for i = 0,1,0.15 do
  1103. game:GetService("RunService").RenderStepped:Wait()
  1104. RJ.C0 = RJ.C0:Lerp(AnimDefaults.tors*CFrame.new(-2.628, 1.074, 0) * CFrame.Angles(0, 0, math.rad(48)), 0.25)
  1105. end
  1106. for i = 0,1,0.25 do
  1107. game:GetService("RunService").RenderStepped:Wait()
  1108. RJ.C0 = RJ.C0:Lerp(AnimDefaults.tors, 0.33)
  1109. end
  1110. else
  1111. for i = 0,1,0.15 do
  1112. game:GetService("RunService").RenderStepped:Wait()
  1113. RJ.C0 = RJ.C0:Lerp(AnimDefaults.tors*CFrame.new(3.574, 1.32, 0) * CFrame.Angles(0, 0, math.rad(-48)), 0.25)
  1114. end
  1115. for i = 0,1,0.25 do
  1116. game:GetService("RunService").RenderStepped:Wait()
  1117. RJ.C0 = RJ.C0:Lerp(AnimDefaults.tors, 0.33)
  1118. end
  1119. end
  1120. end
  1121. end
  1122.  
  1123. function AttackTemplate()
  1124. if CurrentStand == nil then
  1125. return
  1126. end
  1127. Move = true
  1128. for i = 0,1,0.165*AttackSpeed/0.75 do
  1129. game:GetService("RunService").RenderStepped:Wait()
  1130. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*0, i)
  1131. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*0, i)
  1132. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*0, i)
  1133. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*0, i)
  1134. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*0, i)
  1135. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*0, i)
  1136. end
  1137. Move = false
  1138. end
  1139.  
  1140. Mouse.Button1Down:Connect(function()
  1141. if workspace:FindFirstChild("IsTimeStopped") then
  1142. if workspace.IsTimeStopped.Value ~= Player.Name then
  1143. return
  1144. end
  1145. end
  1146. if Move == false then
  1147. Punch()
  1148. end
  1149. end)
  1150.  
  1151. Mouse.KeyDown:Connect(function(Key)
  1152. if workspace:FindFirstChild("IsTimeStopped") then
  1153. if workspace.IsTimeStopped.Value ~= Player.Name then
  1154. return
  1155. end
  1156. end
  1157. if Key == "q" and Move == false then
  1158. Stand()
  1159. end
  1160. if Key == "e" and Move == false then
  1161. BarrageDown = true
  1162. Barrage(30, false, 3339464031, true)
  1163. end
  1164. if Key == "t" and Move == false then
  1165. if workspace:FindFirstChild(Player.Name.."'s SHA") then
  1166. local SHA = workspace[Player.Name.."'s SHA"]
  1167. if SHA:FindFirstChild("IsExploding") == nil then
  1168. local ExplosionPart = Instance.new("Part")
  1169. ExplosionPart.Size = Vector3.new(1, 1, 1)
  1170. ExplosionPart.CFrame = SHA.CFrame
  1171. ExplosionPart.Transparency = 1
  1172. ExplosionPart.Anchored = true
  1173. ExplosionPart.Parent = workspace
  1174. local Exp = Instance.new("Explosion")
  1175. Exp.BlastPressure = 150
  1176. Exp.BlastRadius = 0
  1177. Exp.ExplosionType = Enum.ExplosionType.NoCraters
  1178. Exp.Position = SHA.Position
  1179. Exp.Parent = ExplosionPart
  1180. CreateSound(2686077452, ExplosionPart, 10, 1, 0.9725, false, false, "SHA Explode")
  1181. game:GetService("Debris"):AddItem(ExplosionPart, 3)
  1182. SHA:Destroy()
  1183. end
  1184. else
  1185. SpawnSHA()
  1186. end
  1187. end
  1188. if Key == "g" then
  1189.  
  1190. end
  1191. if Key == "f" and Move == false then
  1192. Touching()
  1193. end
  1194. if Key == "r" and Move == false then
  1195. if ExplodeTarget ~= nil then
  1196. Explode(ExplodeTarget)
  1197. else
  1198. StrongPunch()
  1199. end
  1200. end
  1201. if Key == "z" and Move == false then
  1202. StandJump()
  1203. end
  1204. end)
  1205.  
  1206. Mouse.KeyUp:Connect(function(Key)
  1207. if Key == "e" then
  1208. BarrageDown = false
  1209. end
  1210. end)
  1211.  
  1212. function DeSpawn()
  1213. coroutine.resume(coroutine.create(function()
  1214. while script.Parent ~= nil do
  1215. game:GetService("RunService").RenderStepped:Wait()
  1216. Move = true
  1217. BarrageDown = false
  1218. end
  1219. end))
  1220. if MoveList ~= nil then
  1221. MoveList:Destroy()
  1222. end
  1223. if CurrentStand ~= nil then
  1224. pcall(Stand)
  1225. end
  1226. wait(0.1)
  1227. script:Destroy()
  1228. end
  1229.  
  1230. Hum.Died:Connect(function()
  1231. DeSpawn()
  1232. end)
  1233.  
  1234. Character.Changed:Connect(function(Parent)
  1235. if not Character:IsDescendantOf(workspace) then
  1236. DeSpawn()
  1237. end
  1238. end)
  1239.  
  1240. Player.CharacterAdded:Connect(function()
  1241. DeSpawn()
  1242. end)
  1243.  
  1244. game:GetService("RunService").RenderStepped:Connect(function()
  1245. Sine = Sine + 1
  1246. Hum.PlatformStand = false
  1247. if Hum.Health ~= Hum.MaxHealth then
  1248. Hum.Health = Hum.Health + 0.1
  1249. end
  1250. if Move == true and CurrentStand ~= nil then
  1251. if (BarrageDown == true or StrongPunching == true or NormalPunch == true) and PunchAfterBarrage == false then
  1252. CurrentStand.PrimaryPart.CFrame = CurrentStand.PrimaryPart.CFrame:Lerp(Root.CFrame * CFrame.new(0, 0.5, -3.75), 0.23)
  1253. end
  1254. end
  1255. if Move == false then
  1256. if Anim == "Idle" then
  1257. if CurrentStand ~= nil then
  1258. CurrentStand.PrimaryPart.CFrame = CurrentStand.PrimaryPart.CFrame:Lerp(Root.CFrame * CFrame.new(-2, 1.3, 2.5), 0.2)
  1259. CurrentStand.RootPart["Root Joint"].C0 = CurrentStand.RootPart["Root Joint"].C0:Lerp(AnimDefaults.tors0*CFrame.new(0, 0, 0.8*math.sin(Sine/75))*CFrame.Angles(math.rad(-6.016), 0, math.rad(-21.028)), 0.23)
  1260. CurrentStand.StandTorso["Left Hip"].C0 = CurrentStand.StandTorso["Left Hip"].C0:Lerp(AnimDefaults.lleg*CFrame.new(-0.004, 0.04, 0.002) * CFrame.Angles(math.rad(-5.329), math.rad(8.938), math.rad(5.042)), 0.23)
  1261. CurrentStand.StandTorso["Right Hip"].C0 = CurrentStand.StandTorso["Right Hip"].C0:Lerp(AnimDefaults.rleg*CFrame.new(0.04, 0.074, -0.058) * CFrame.Angles(math.rad(-8.193), math.rad(-11.918), math.rad(-5.042)), 0.23)
  1262. CurrentStand.StandTorso["Left Shoulder"].C0 = CurrentStand.StandTorso["Left Shoulder"].C0:Lerp(AnimDefaults.larm*CFrame.new(-0.01, 0.099, 0.004) * CFrame.Angles(math.rad(101.414), math.rad(-20.626), math.rad(-29.794)), 0.23)
  1263. CurrentStand.StandTorso["Right Shoulder"].C0 = CurrentStand.StandTorso["Right Shoulder"].C0:Lerp(AnimDefaults.rarm*CFrame.new(-0.008, 0.218, -0.083) * CFrame.Angles(math.rad(49.045), math.rad(11.058), math.rad(8.193)), 0.23)
  1264. CurrentStand.StandTorso.Neck.C0 = CurrentStand.StandTorso.Neck.C0:Lerp(AnimDefaults.head*CFrame.Angles(math.rad(5.787), math.rad(2.464), math.rad(16.845)), 1)
  1265. end
  1266. end
  1267. end
  1268. if Character:FindFirstChild("GotHitButNot") then
  1269. Character.GotHitButNot:Destroy()
  1270. DodgeAnimation()
  1271. end
  1272. if Character:FindFirstChild("StandValue") == nil then
  1273. local StandValue = Instance.new("StringValue")
  1274. StandValue.Name = "StandValue"
  1275. StandValue.Value = StandName
  1276. StandValue.Parent = Character
  1277. end
  1278. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement