I made this code:

CustomTPPoint.MouseButton1Down:connect(function()
	if CustomLocationSet == true then
		local uTorso = workspace:WaitForChild(game.Players.LocalPlayer.Name).HumanoidRootPart
		uTorso.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
	end
end)

I don't know exactly how to make it into a GUI to save my XYZ coordinates. Any help?