SHARE
TWEET

Arsenal Murder

a guest Jan 24th, 2020 117 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Auto Gun
  2. local LocalPlayer = game.Players.LocalPlayer
  3. local Mouse = LocalPlayer:GetMouse()
  4. Mouse.KeyDown:connect(function(KeyPressed)
  5.     if KeyPressed == "x" then
  6.         local props = game:GetService("Workspace").Debris.Props:GetDescendants() -- Grab everything in Folder.
  7.         for i = 1, #props do -- Loop through everything to find what we need.
  8.             local prop = props[i]
  9.             if prop.Name == "Green" then -- GUI we are looking for.
  10.                 local PlayerCFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  11.                 if prop.Parent.Orientation.Y > -3162 then -- Bellow map check..
  12.                     LocalPlayer.Character.HumanoidRootPart.CFrame = prop.Parent.CFrame + Vector3.new(0, 3, 0) -- Teleport Player to Prop (Their new check forces you to be near it to pick it up..)
  13.                        wait(0.5) -- Wait for us to teleport.
  14.                     game:GetService("ReplicatedStorage").Events.Loot:FireServer(prop.Parent) -- Parent of Green
  15.                 end
  16.             end
  17.         end
  18.     end
  19. end)
  20.  
  21. -- Arsenal Murder
  22. function CreateESPPart(BodyPart,color)
  23.  
  24. local ESPPartparent = BodyPart
  25. local Box = Instance.new("BoxHandleAdornment")
  26. Box.Size = BodyPart.Size + Vector3.new(0.1, 0.1, 0.1)
  27. Box.Name = "ESPPart"
  28. Box.Adornee = ESPPartparent
  29. Box.Color3 = color
  30. Box.AlwaysOnTop = true
  31. Box.ZIndex = 5
  32. Box.Parent = BodyPart
  33. end
  34.  
  35. while wait(0.1) do
  36. for i,v in pairs(game.Players:GetChildren()) do
  37. if v.Character ~= nil then
  38. if v.Character:FindFirstChild("Head") then
  39. if v.Character.Head:FindFirstChild("ESPPart") then
  40. v.Character.Head.ESPPart:Destroy()
  41. end
  42. end
  43. end
  44. end
  45. for i,v in pairs(game.Workspace.Debris:GetChildren()) do
  46. if v.Name == "Revolver" then
  47. if v.Handle.Handle:FindFirstChild("ESPPart") then
  48. v.Handle.Handle.ESPPart:Destroy()
  49. end
  50. end
  51. end
  52. for i,v in pairs(game.Workspace.Debris.Props:GetChildren()) do
  53. if v:FindFirstChild("ESPPart") then
  54. v.ESPPart:Destroy()
  55. end
  56. end
  57. for i,v in pairs(game.Workspace.Debris:GetChildren()) do
  58. if v.Name == "Revolver" then
  59. CreateESPPart(v.Handle.Handle, Color3.fromRGB(255,255,255))
  60. end
  61. end
  62. for i,v in pairs(game.Workspace.Debris.Props:GetChildren()) do
  63. if v:FindFirstChild("Green2") then
  64. CreateESPPart(v, Color3.fromRGB(255,0,255))
  65. end
  66. end
  67. for i,v in pairs(game.Players:GetDescendants()) do
  68. if v.Name == "Role" then
  69. if tostring(v.Value) == "Murderer" then
  70. Enemy = v.Parent.Parent.Name
  71. if game.Players[Enemy].Character ~= nil then
  72. if game.Players[Enemy].Character:FindFirstChild("Head") then
  73. CreateESPPart(game.Players[Enemy].Character.Head, Color3.fromRGB(255,0,0))
  74. end
  75. end
  76. end
  77. end
  78. end
  79. for i,v in pairs(game.Players:GetDescendants()) do
  80. if v.Name == "HasRevolver" then
  81. if v.Value == true then
  82. Gunner = v.Parent.Parent.Name
  83. if game.Players[Gunner].Character ~= nil then
  84. if game.Players[Gunner].Character:FindFirstChild("Head") then
  85. CreateESPPart(game.Players[Gunner].Character.Head, Color3.fromRGB(0,0,255))
  86. end
  87. end
  88. end
  89. end
  90. end
  91. for i,v in pairs(game.Players:GetDescendants()) do
  92. if v.Name == "Role" then
  93. if tostring(v.Value) == "Bystander" then
  94. if v.Parent.HasRevolver.Value == false then
  95. Friend = v.Parent.Parent.Name
  96. if game.Players[Friend].Character ~= nil then
  97. if game.Players[Friend].Character:FindFirstChild("Head") then
  98. CreateESPPart(game.Players[Friend].Character.Head, Color3.fromRGB(0,255,0))
  99. end
  100. end
  101. end
  102. end
  103. end
  104. end
  105. if game.Players.LocalPlayer.Character ~= nil then
  106. if game.Players.LocalPlayer.Character:FindFirstChild("Head") then
  107. if game.Players.LocalPlayer.Character.Head:FindFirstChild("ESPPart") then
  108. game.Players.LocalPlayer.Character.Head.ESPPart:Destroy()
  109. end
  110. end
  111. end
  112. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top