Advertisement
HAIMA

Bring Gun

Jan 26th, 2020
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. local uis = game:GetService("UserInputService")
  2. local plrs = game:GetService("Players")
  3. local lplr = game:GetService("Players").LocalPlayer
  4. local mouse = lplr:GetMouse()
  5.  
  6. function bringGun()
  7. game.Workspace.GunDrop.CFrame = lplr.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
  8. end
  9.  
  10. mouse.KeyDown:connect(function(keyDown)
  11. if keyDown == "p" then
  12. for _, o in pairs(plrs:GetPlayers()) do
  13. for _, l in pairs(o.Character.Head:GetChildren()) do
  14. if l.Name == ("EGUI") then
  15. l:Destroy()
  16. end
  17. end
  18. for _, k in pairs(o.Character:GetChildren()) do
  19. if k.Name == ("EGUI") then
  20. k:Destroy()
  21. end
  22. end
  23. end
  24. esp()
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement