Local script and script into same script

I currently have 2 script written, a local script that changes the camera to a part;

local player = game.Players.LocalPlayer
local character = player.CharacterAdded
local mouse = player:GetMouse()
local camera = game.Workspace.CurrentCamera

local defaultCFrame = camera.CFrame
local view = 150

function updateCamera()
	camera.CFrame = game.Workspace.HomeCamera.CFrame


and a normal script, which teleports a player to a chosen position.

local pad = workspace.pad2
local localplayer = game.Players.LocalPlayer
local localui = localplayer.PlayerGui
local screengui = localui.ScreenGui

	local player = game.Players:GetPlayerFromCharacter(hit.Parent)
	if player then
		local CurrentlyTeleporting = player.Character:FindFirstChild("CurrentlyTeleporting")
		if not CurrentlyTeleporting then return end
		if not CurrentlyTeleporting.Value then
			CurrentlyTeleporting.Value = true
			player.Character.HumanoidRootPart.CFrame = pad.CFrame + Vector3.new(0, 5, 0)
			CurrentlyTeleporting = false

both scripts work, but it would be nice to have them in a same script, making it more organised. I will also add a black screen which will fade in when the pad is touched, and fade out after around 1 second. After that the camera should be changed to the part as specified in the localscript.

Ofcourse its possible to time both scripts to work simultaniously, but it would be nicer to have them in the same script.

Does anyone know how I would do this? Or is it not possible?

The player has replication ownership over his Character model, so basically the teleporting script can be combined in the LocalScript without a problem.

could the script be pasted with a slight change in the local script? or would it need to be completely done in a diffrent way?

Not realy, as far as I can tell, it can be copy + pasted into the LocalScript without a problem at all. All seems right.