
Key Required

local plr = game.Players.LocalPlayer
print("trukey cathcer")
local function teleportPlayerTo(player, targetPart)
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local humanoidRootPart = player.Character.HumanoidRootPart
humanoidRootPart.CFrame = targetPart.CFrame
end
end
workspace.ChildAdded:Connect(function(child)
if child.Name == "T0" and child:FindFirstChild("Root") then
print("Found turkey")
-- teleportPlayerTo(plr, child:FindFirstChild("Root"))
task.wait(1)
for i, v in pairs(child:FindFirstChild("Root"):GetChildren()) do
if v:IsA("ProximityPrompt") then
v.HoldDuration = 0.001
v.MaxActivationDistance = 100
teleportPlayerTo(plr, v.Parent)
fireproximityprompt(v)
end
end
else
print("Its not a turkey")
end
end)No comments yet for this script.


