Code wont play after a function

Idk if this is just me being stupid but it probably is but my code wont run after i play a function

		local function BeingGrabbed()
						while Enemy:FindFirstChild("BeingGrabbed") do
							wait()
							EnemyHumRp.Orientation = Char.HumanoidRootPart.Orientation - Vector3.new(0,0,0)
							EnemyHumRp.CFrame = Char.HumanoidRootPart.CFrame * CFrame.new(0,0,-1)
						end
					end
					
					
					BeingGrabbed()
					
					game.Workspace.Baseplate:Destroy()

After the BeingGrabbed() runs nothing else will

It’s because of the while loop. It keeps going until BeingGrabbed is false and it might always stay as true.