Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Auto Gun
- local LocalPlayer = game.Players.LocalPlayer
- local Mouse = LocalPlayer:GetMouse()
- Mouse.KeyDown:connect(function(KeyPressed)
- if KeyPressed == "x" then
- local props = game:GetService("Workspace").Debris.Props:GetDescendants() -- Grab everything in Folder.
- for i = 1, #props do -- Loop through everything to find what we need.
- local prop = props[i]
- if prop.Name == "Green" then -- GUI we are looking for.
- local PlayerCFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
- if prop.Parent.Orientation.Y > -3162 then -- Bellow map check..
- 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..)
- wait(0.5) -- Wait for us to teleport.
- game:GetService("ReplicatedStorage").Events.Loot:FireServer(prop.Parent) -- Parent of Green
- end
- end
- end
- end
- end)
- -- Arsenal Murder
- function CreateESPPart(BodyPart,color)
- local ESPPartparent = BodyPart
- local Box = Instance.new("BoxHandleAdornment")
- Box.Size = BodyPart.Size + Vector3.new(0.1, 0.1, 0.1)
- Box.Name = "ESPPart"
- Box.Adornee = ESPPartparent
- Box.Color3 = color
- Box.AlwaysOnTop = true
- Box.ZIndex = 5
- Box.Parent = BodyPart
- end
- while wait(0.1) do
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Character ~= nil then
- if v.Character:FindFirstChild("Head") then
- if v.Character.Head:FindFirstChild("ESPPart") then
- v.Character.Head.ESPPart:Destroy()
- end
- end
- end
- end
- for i,v in pairs(game.Workspace.Debris:GetChildren()) do
- if v.Name == "Revolver" then
- if v.Handle.Handle:FindFirstChild("ESPPart") then
- v.Handle.Handle.ESPPart:Destroy()
- end
- end
- end
- for i,v in pairs(game.Workspace.Debris.Props:GetChildren()) do
- if v:FindFirstChild("ESPPart") then
- v.ESPPart:Destroy()
- end
- end
- for i,v in pairs(game.Workspace.Debris:GetChildren()) do
- if v.Name == "Revolver" then
- CreateESPPart(v.Handle.Handle, Color3.fromRGB(255,255,255))
- end
- end
- for i,v in pairs(game.Workspace.Debris.Props:GetChildren()) do
- if v:FindFirstChild("Green2") then
- CreateESPPart(v, Color3.fromRGB(255,0,255))
- end
- end
- for i,v in pairs(game.Players:GetDescendants()) do
- if v.Name == "Role" then
- if tostring(v.Value) == "Murderer" then
- Enemy = v.Parent.Parent.Name
- if game.Players[Enemy].Character ~= nil then
- if game.Players[Enemy].Character:FindFirstChild("Head") then
- CreateESPPart(game.Players[Enemy].Character.Head, Color3.fromRGB(255,0,0))
- end
- end
- end
- end
- end
- for i,v in pairs(game.Players:GetDescendants()) do
- if v.Name == "HasRevolver" then
- if v.Value == true then
- Gunner = v.Parent.Parent.Name
- if game.Players[Gunner].Character ~= nil then
- if game.Players[Gunner].Character:FindFirstChild("Head") then
- CreateESPPart(game.Players[Gunner].Character.Head, Color3.fromRGB(0,0,255))
- end
- end
- end
- end
- end
- for i,v in pairs(game.Players:GetDescendants()) do
- if v.Name == "Role" then
- if tostring(v.Value) == "Bystander" then
- if v.Parent.HasRevolver.Value == false then
- Friend = v.Parent.Parent.Name
- if game.Players[Friend].Character ~= nil then
- if game.Players[Friend].Character:FindFirstChild("Head") then
- CreateESPPart(game.Players[Friend].Character.Head, Color3.fromRGB(0,255,0))
- end
- end
- end
- end
- end
- end
- if game.Players.LocalPlayer.Character ~= nil then
- if game.Players.LocalPlayer.Character:FindFirstChild("Head") then
- if game.Players.LocalPlayer.Character.Head:FindFirstChild("ESPPart") then
- game.Players.LocalPlayer.Character.Head.ESPPart:Destroy()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement