local player = game.Players.LocalPlayer local safePos = Vector3.new(6.89, 29.31, 103.79) local houses = workspace.Houses local function getHighestHouse() local highest, highestNum = nil, 0 for _, house in houses:GetChildren() do local num = tonumber(house.Name:match("%d+")) if num and num > highestNum then highestNum = num highest = house end end return highest end local knob = getHighestHouse().Door.Door.Knob local prompt for _, child in knob:GetChildren() do if child:IsA("ProximityPrompt") and child.ObjectText == "Door" then child.HoldDuration = 0 child.MaxActivationDistance = math.huge child.RequiresLineOfSight = false prompt = child break end end task.spawn(function() while true do local character = player.Character or player.CharacterAdded:Wait() local root = character:WaitForChild("HumanoidRootPart") root.CFrame = CFrame.new(knob.Position) task.wait(0.05) fireproximityprompt(prompt) task.wait(0.2) if player:GetAttribute("Gameing") then root.CFrame = CFrame.new(safePos) repeat task.wait(0.1) until not player:GetAttribute("Gameing") end task.wait(0.1) end end)