Advertisement
Guest User

elease | Arsenal Murder | Auto Gun [!UPDATED AGAIN! 1/9/20]

a guest
Jan 21st, 2020
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. local LocalPlayer = game.Players.LocalPlayer
  2. local Mouse = LocalPlayer:GetMouse()
  3. Mouse.KeyDown:connect(function(KeyPressed)
  4. if KeyPressed == "x" then
  5. local props = game:GetService("Workspace").Debris.Props:GetDescendants() -- Grab everything in Folder.
  6. for i = 1, #props do -- Loop through everything to find what we need.
  7. local prop = props[i]
  8. if prop.Name == "Green" then -- GUI we are looking for.
  9. local PlayerCFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  10. if prop.Parent.Orientation.Y > -3162 then -- Bellow map check..
  11. 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..)
  12. wait(0.5) -- Wait for us to teleport.
  13. game:GetService("ReplicatedStorage").Events.Loot:FireServer(prop.Parent) -- Parent of Green
  14. end
  15. end
  16. end
  17. end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement