
Key Required Patched
Auto Gift Farm
Lua Script•127 lines (3484 chars)
local player = game.Players.LocalPlayer
local function setupPrompt(prompt)
if prompt:IsA("ProximityPrompt") then
prompt.HoldDuration = 0
if prompt.Name == "LootPrompt" then
prompt.Enabled = true
prompt:GetPropertyChangedSignal("Enabled"):Connect(function()
if not prompt.Enabled then
prompt.Enabled = true
end
end)
end
end
end
for _, obj in pairs(game:GetDescendants()) do
setupPrompt(obj)
end
game.DescendantAdded:Connect(function(obj)
setupPrompt(obj)
end)
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
for _, obj in pairs(char:GetDescendants()) do
setupPrompt(obj)
end
char.DescendantAdded:Connect(function(obj)
setupPrompt(obj)
end)
end)
end)
local function findPrompt(model)
if not model then return nil end
local prompt = model:FindFirstChildOfClass("ProximityPrompt")
if prompt then return prompt end
for _, child in ipairs(model:GetDescendants()) do
if child:IsA("ProximityPrompt") then
return child
end
end
return nil
end
local function getPos(model)
if model.PrimaryPart then
return model.PrimaryPart.Position
end
for _, child in ipairs(model:GetDescendants()) do
if child:IsA("BasePart") then
return child.Position
end
end
return nil
end
local function teleportPresents()
while true do
task.wait(2)
local char = player.Character
if not char then
player.CharacterAdded:Wait()
char = player.Character
end
local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then
continue
end
local dropPoints = workspace:FindFirstChild("Tundra")
and workspace.Tundra:FindFirstChild("SeasonalAdditions")
and workspace.Tundra.SeasonalAdditions:FindFirstChild("PresentDropPoints")
if not dropPoints then
continue
end
local found = false
for _, present in ipairs(dropPoints:GetChildren()) do
if present.Name == "PresentDrop" and present:IsA("Model") then
local prompt = findPrompt(present)
if prompt then
if prompt.Enabled then
found = true
local pos = getPos(present)
if pos then
hrp.CFrame = CFrame.new(pos + Vector3.new(0, 3, 0))
task.wait(0.5)
for i = 1, 5 do
pcall(function()
prompt:InputHoldBegin()
task.wait(0.05)
prompt:InputHoldEnd()
end)
task.wait(0.1)
end
task.wait(2)
end
end
end
end
end
end
end
task.spawn(function()
teleportPresents()
end)Features & Information
Automatically collects gifts and works only on the tundra map

Can you make for Easter egg
@yuriespan I'm lazy