Professional Documents
Culture Documents
Live in A Back Alley Simulator (Beta) SEMI AUTO TRASH COLLECTOR
Live in A Back Alley Simulator (Beta) SEMI AUTO TRASH COLLECTOR
Live in A Back Alley Simulator (Beta) SEMI AUTO TRASH COLLECTOR
local lp = Players.LocalPlayer
local Torso = lp.Character.Torso
local CurrentCamera = workspace.CurrentCamera
local tog = true
local trash = {}
UserInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.Z then
if tog == true then
tog = false
notify("Collector turned off", 3)
else
tog = true
notify("Collector turned on", 3)
end
end
end)
getgenv().gottrash = true
while task.wait() do
if lp.Character:FindFirstChildOfClass("Tool") and tog == true then
for _, v in next, trash do
if tog == true then
v.CFrame = Torso.CFrame
VirtualUser:Button1Down(Vector2.new(999, 0), CurrentCamera.CFrame)
VirtualUser:Button1Up(Vector2.new(999, 0), CurrentCamera.CFrame)
end
end
end
end