urdadgeiaf

Gunhaxx 2 V1.1

Jul 5th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. --// Created and Scripted by SkiddieWilly#9496
  2. --// Gunhaxx V1.0
  3. --// Update Log: [+] Fixed the hitbox
  4. --// V1.1 Updated 5/7/2020
  5. --// Dm me if you find any bugs within the script
  6. --// Enjoy!
  7.  
  8. warn("Features:",
  9. "Inf Ammo",
  10. "No Recoil",
  11. "Auto All Guns",
  12. "Rapid Fire",
  13. "Instant Kill",
  14. "Big Torso"
  15. )
  16.  
  17. -- Inf Ammo
  18. for i,v in next, game:GetService("ReplicatedStorage").Weapons:GetChildren()do
  19. for j,k in pairs(v:GetDescendants())do
  20. if k:IsA("IntValue")and k.Name == "StoredAmmo" then
  21. k.Value = math.huge
  22. end
  23. end
  24. end
  25.  
  26.  
  27. -- Auto guns
  28. for i,v in next, game:GetService("ReplicatedStorage").Weapons:GetChildren()do
  29. for j,k in pairs(v:GetDescendants())do
  30. if k:IsA("BoolValue")and k.Name == "Automatic" then
  31. k.Value = true
  32. end
  33. end
  34. end
  35.  
  36. -- No Recoil
  37. for i,v in next, game:GetService("ReplicatedStorage").Weapons:GetChildren()do
  38. for j,k in pairs(v:GetDescendants())do
  39. if k:IsA("NumberValue")and k.Name == "CameraRecoil" then
  40. k.Value = 0
  41. end
  42. end
  43. end
  44.  
  45. -- Firerate
  46. for i,v in next, game:GetService("ReplicatedStorage").Weapons:GetChildren()do
  47. for j,k in pairs(v:GetDescendants())do
  48. if k:IsA("IntValue")and k.Name == "FireRate" then
  49. k.Value = 500
  50. end
  51. end
  52. end
  53.  
  54. -- Inf Ammo
  55. for i,v in next, game:GetService("ReplicatedStorage").Weapons:GetChildren()do
  56. for j,k in pairs(v:GetDescendants())do
  57. if k:IsA("IntValue")and k.Name == "ClipSize" then
  58. k.Value = 7000
  59. end
  60. end
  61. end
  62.  
  63. -- Instant Kill
  64. for i,v in next, game:GetService("ReplicatedStorage").Weapons:GetChildren()do
  65. for j,k in pairs(v:GetDescendants())do
  66. if k:IsA("IntValue")and k.Name == "Damage" then
  67. k.Value = 120
  68. end
  69. end
  70. end
  71.  
  72. -- No Spread
  73. for i,v in next, game:GetService("ReplicatedStorage").Weapons:GetChildren()do
  74. for j,k in pairs(v:GetDescendants())do
  75. if k:IsA("NumberValue")and k.Name == "Accuracy" then
  76. k.Value = 0
  77. end
  78. end
  79. end
  80.  
  81. -- Big Torso
  82. function hitbox()
  83. _G.HRPSize = 50 -- Change this to whatever value suits you
  84. _G.Hitbox = true
  85. if _G.Hitbox then
  86. local enemies = game.Players:GetPlayers()
  87. game:GetService('RunService').RenderStepped:connect(function()
  88. for i=1, #enemies do
  89. if enemies[i].Name ~= game:GetService('Players').LocalPlayer.Name then
  90. pcall(function()
  91. enemies[i].Character.HumanoidRootPart.Size = Vector3.new(_G.HRPSize,_G.HRPSize,_G.HRPSize)
  92. enemies[i].Character.HumanoidRootPart.Transparency = 0.5
  93. enemies[i].Character.HumanoidRootPart.CanCollide = false
  94. end)
  95. end
  96. end
  97. end)
  98. end
  99. end
  100. hitbox()
  101.  
  102. game:GetService("Players").PlayerAdded:Connect(function(player)
  103. hitbox()
  104. end)
  105.  
  106. game.StarterGui:SetCore("SendNotification", {
  107. Title = "Scripted by SkiddieWilly#9496";
  108. Text = "GunHaxx2 V1.1 Loaded!";
  109. Duration = 5;
  110. })
Advertisement
Add Comment
Please, Sign In to add comment