Guest User

Untitled

a guest
Oct 15th, 2022
804
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local mouse = player:GetMouse()
  3.  
  4.  
  5.  
  6. bind = "v" -- has to be lowercase
  7.  
  8.  
  9. mouse.KeyDown:connect(function(key)
  10. if key == bind then
  11. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  12. if v:IsA("Tool") then
  13. for i,v in pairs(v.Hitboxes.Hitbox:GetChildren()) do
  14. if v.Name == "DmgPoint" then
  15. v.Position = v.Position + Vector3.new(0, math.random(-2, 10), 0)
  16. v.Visible = true
  17. end
  18. end
  19. end
  20. end
  21. end
  22. end)
Add Comment
Please, Sign In to add comment