Advertisement
mr2meows

Arsenal Murder : spam x for gun

Jan 29th, 2020
889
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. if game.PlaceId == 4572253581 then
  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. game:GetService("ReplicatedStorage").Events.Loot:FireServer(prop.Parent) -- Parent of Green
  11. end
  12. end
  13. end
  14. end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement