Domadicoof-28363

Untitled

Oct 18th, 2022
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. สคริปตีไวเปลียนตรงนี้---------👇---------เป็นtureเพื่อใช้งาน
  2. local SuperFastMode = false -- Change to true if you want Super Super Super Fast attack (Like instant kill) but it will make the game kick you more than normal mode
  3.  
  4. local plr = game.Players.LocalPlayer
  5.  
  6. local CbFw = debug.getupvalues(require(plr.PlayerScripts.CombatFramework))
  7. local CbFw2 = CbFw[2]
  8.  
  9. function GetCurrentBlade()
  10. local p13 = CbFw2.activeController
  11. local ret = p13.blades[1]
  12. if not ret then return end
  13. while ret.Parent~=game.Players.LocalPlayer.Character do ret=ret.Parent end
  14. return ret
  15. end
  16. function AttackNoCD()
  17. local AC = CbFw2.activeController
  18. for i = 1, 1 do
  19. local bladehit = require(game.ReplicatedStorage.CombatFramework.RigLib).getBladeHits(
  20. plr.Character,
  21. {plr.Character.HumanoidRootPart},
  22. 60
  23. )
  24. local cac = {}
  25. local hash = {}
  26. for k, v in pairs(bladehit) do
  27. if v.Parent:FindFirstChild("HumanoidRootPart") and not hash[v.Parent] then
  28. table.insert(cac, v.Parent.HumanoidRootPart)
  29. hash[v.Parent] = true
  30. end
  31. end
  32. bladehit = cac
  33. if #bladehit > 0 then
  34. local u8 = debug.getupvalue(AC.attack, 5)
  35. local u9 = debug.getupvalue(AC.attack, 6)
  36. local u7 = debug.getupvalue(AC.attack, 4)
  37. local u10 = debug.getupvalue(AC.attack, 7)
  38. local u12 = (u8 * 798405 + u7 * 727595) % u9
  39. local u13 = u7 * 798405
  40. (function()
  41. u12 = (u12 * u9 + u13) % 1099511627776
  42. u8 = math.floor(u12 / u9)
  43. u7 = u12 - u8 * u9
  44. end)()
  45. u10 = u10 + 1
  46. debug.setupvalue(AC.attack, 5, u8)
  47. debug.setupvalue(AC.attack, 6, u9)
  48. debug.setupvalue(AC.attack, 4, u7)
  49. debug.setupvalue(AC.attack, 7, u10)
  50. pcall(function()
  51. for k, v in pairs(AC.animator.anims.basic) do
  52. v:Play()
  53. end
  54. end)
  55. if plr.Character:FindFirstChildOfClass("Tool") and AC.blades and AC.blades[1] then
  56. game:GetService("ReplicatedStorage").RigControllerEvent:FireServer("weaponChange",tostring(GetCurrentBlade()))
  57. game.ReplicatedStorage.Remotes.Validator:FireServer(math.floor(u12 / 1099511627776 * 16777215), u10)
  58. game:GetService("ReplicatedStorage").RigControllerEvent:FireServer("hit", bladehit, i, "")
  59. end
  60. end
  61. end
  62. end
  63. local cac
  64. if SuperFastMode then
  65. cac=task.wait
  66. else
  67. cac=wait
  68. end
  69. while cac() do
  70. AttackNoCD()
  71. end
Advertisement
Add Comment
Please, Sign In to add comment