I fall when I get teleported from a Pad

What do you want to achieve? Touch a wall painting and get teleported and after get teleported back to were the player started

What is the issue? When I touch the pad and get teleported instead of going in the room I fall out of the world

Script:

local Pad2 = game.Workspace.TeleportPad2

script.Parent.Touched:Connect(function(touchPart)
	if touchPart and touchPart.Parent and touchPart.Parent.Humanoid and touchPart.Parent.currentlyTeleporting.Value == false then
		local Character = touchPart.Parent
		local teleportLocation = CFrame.new (Pad2.CFrame.X, Pad2.CFrame.Y + 5, Pad2.CFrame)
		Character:SetPrimaryPartCFrame(teleportLocation)
		
		local teleportingValue = Character.currentlyTeleporting
		teleportingValue.Value = true 
		wait (3)
		teleportingValue.Value = false
	end
end)

A video of what happens (Video Deleting Soon): This Video has been Deleted.

I would like to know if I done an error or not. This is a terrain so I don’t know if this could be the cause.

Any Ideas?

Okay, I realisied I forgot the Z it should be

local teleportLocation = CFrame.new (Pad2.CFrame.X, Pad2.CFrame.Y + 5, Pad2.CFrame.Z)