local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local VIM = game:GetService("VirtualInputManager")
local player = Players.LocalPlayer
local HOME = CFrame.new(359.73, 212.41, -443.08)
local TARGETS = {
["Six Seven"] = true,
["Strawberry Elephant"] = true,
["La Grande Combinasion"] = true
}
local function interact(p)
p.HoldDuration = 0
fireproximityprompt(p)
VIM:SendKeyEvent(true, Enum.KeyCode.E, false, game)
task.wait(0.1)
VIM:SendKeyEvent(false, Enum.KeyCode.E, false, game)
end
task.spawn(function()
while true do
local char = player.Character
local root = char and char:FindFirstChild("HumanoidRootPart")
local hum = char and char:FindFirstChild("Humanoid")
if root and hum and hum.Health > 0 then
local folder = Workspace:FindFirstChild("SpawnedItems")
if folder then
for _, item in pairs(folder:GetChildren()) do
if TARGETS[item.Name] then
local p = item:FindFirstChildWhichIsA("ProximityPrompt", true)
local part = item:FindFirstChildWhichIsA("BasePart")
if p and part then
root.CFrame = part.CFrame * CFrame.new(0, 15, 0)
task.wait(0.5)
interact(p)
root.CFrame = HOME
task.wait(0.5)
end
end
end
end
end
task.wait(1)
end
end)