Help How to Make a Loop Part teleport to Player

Ok so i’ve tried make an Cargo Plane robbery, with Sound Regions im trying to loop the sound region part to the character and the sound plays until the deliver part is touched so here is the script

local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:wait()

if workspace.SoundRegions.CargoPlane.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild(“Humanoid”) then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
while true do
script.Parent.CFrame = char.HumanoidRootPart.CFrame
until workspace.CargoPortDeliver.Touched:Connect(function(hit)
end) end
end end) then