local barrier = workspace:FindFirstChild("Barrier") -- Replace "Barrier" with the actual name of your part
if barrier then
barrier.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
if humanoid and humanoid:IsA("NPC") then
humanoid:MoveTo(barrier.Position)
end
end)
else
print("Barrier part not found!")
end
** You are now Level 3! **