--BROUGHT TO YOU BY RobloxScripter.com!--
for i, v in next, game:GetService("Workspace").CurrentMap.Loot:GetChildren() do
if v.Name:match("chest") then
sethiddenproperty(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart,"CFrame",v.Chest.CFrame)
wait(.2)
for i=1,2 do wait()
game:GetService("VirtualInputManager"):SendKeyEvent(true, "E", false, game)
end
end
end